Searched refs:s2b_shift (Results 1 – 5 of 5) sorted by relevance
447 block->s2b_shift = 0; /* bits to shift 512 to get a block */ in dasd_diag_check_device()449 block->s2b_shift++; in dasd_diag_check_device()462 block->s2b_shift) >> 1, in dasd_diag_check_device()487 geo->cylinders = (block->blocks << block->s2b_shift) >> 10; in dasd_diag_fill_geometry()489 geo->sectors = 128 >> block->s2b_shift; in dasd_diag_fill_geometry()530 first_rec = blk_rq_pos(req) >> block->s2b_shift; in dasd_diag_build_cp()532 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_diag_build_cp()539 count += bv.bv_len >> (block->s2b_shift + 9); in dasd_diag_build_cp()633 max = DIAG_MAX_BLOCKS << block->s2b_shift; in dasd_diag_setup_blk_queue()
200 block->s2b_shift = 0; /* bits to shift 512 to get a block */ in dasd_fba_do_analysis()202 block->s2b_shift++; in dasd_fba_do_analysis()211 geo->cylinders = (block->blocks << block->s2b_shift) >> 10; in dasd_fba_fill_geometry()213 geo->sectors = 128 >> block->s2b_shift; in dasd_fba_fill_geometry()338 first_rec = blk_rq_pos(req) >> block->s2b_shift; in dasd_fba_build_cp_discard()340 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_fba_build_cp_discard()455 first_rec = blk_rq_pos(req) >> block->s2b_shift; in dasd_fba_build_cp_regular()457 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_fba_build_cp_regular()465 count += bv.bv_len >> (block->s2b_shift + 9); in dasd_fba_build_cp_regular()774 max = DASD_FBA_MAX_BLOCKS << block->s2b_shift; in dasd_fba_setup_blk_queue()
2328 block->s2b_shift = 3; in dasd_eckd_end_analysis()2386 block->s2b_shift = 0; /* bits to shift 512 to get a block */ in dasd_eckd_end_analysis()2388 block->s2b_shift++; in dasd_eckd_end_analysis()3165 first_trk = blk_rq_pos(req) >> block->s2b_shift; in dasd_eckd_ese_format()3168 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_eckd_ese_format()3251 first_trk = first_blk = blk_rq_pos(req) >> block->s2b_shift; in dasd_eckd_ese_read()3254 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_eckd_ese_read()3938 count += bv.bv_len >> (block->s2b_shift + 9); in dasd_eckd_build_cp_cmd_single()3940 cidaw += bv.bv_len >> (block->s2b_shift + 9); in dasd_eckd_build_cp_cmd_single()4618 first_rec = first_trk = blk_rq_pos(req) >> block->s2b_shift; in dasd_eckd_build_cp()[all …]
599 unsigned int s2b_shift; /* log2 (bp_block/512) */ member
362 block->blocks << block->s2b_shift); in dasd_state_basic_to_ready()408 block->s2b_shift = 0; in dasd_state_ready_to_basic()3369 geo->start = get_start_sect(bdev) >> base->block->s2b_shift; in dasd_getgeo()