Searched refs:s2b_shift (Results 1 – 5 of 5) sorted by relevance
441 block->s2b_shift = 0; /* bits to shift 512 to get a block */ in dasd_diag_check_device()443 block->s2b_shift++; in dasd_diag_check_device()456 block->s2b_shift) >> 1, in dasd_diag_check_device()479 geo->cylinders = (block->blocks << block->s2b_shift) >> 10; in dasd_diag_fill_geometry()481 geo->sectors = 128 >> block->s2b_shift; in dasd_diag_fill_geometry()522 first_rec = blk_rq_pos(req) >> block->s2b_shift; in dasd_diag_build_cp()524 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_diag_build_cp()531 count += bv.bv_len >> (block->s2b_shift + 9); in dasd_diag_build_cp()627 max = DIAG_MAX_BLOCKS << block->s2b_shift; in dasd_diag_setup_blk_queue()
208 block->s2b_shift = 0; /* bits to shift 512 to get a block */ in dasd_fba_do_analysis()210 block->s2b_shift++; in dasd_fba_do_analysis()219 geo->cylinders = (block->blocks << block->s2b_shift) >> 10; in dasd_fba_fill_geometry()221 geo->sectors = 128 >> block->s2b_shift; in dasd_fba_fill_geometry()346 first_rec = blk_rq_pos(req) >> block->s2b_shift; in dasd_fba_build_cp_discard()348 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_fba_build_cp_discard()463 first_rec = blk_rq_pos(req) >> block->s2b_shift; in dasd_fba_build_cp_regular()465 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_fba_build_cp_regular()473 count += bv.bv_len >> (block->s2b_shift + 9); in dasd_fba_build_cp_regular()782 max = DASD_FBA_MAX_BLOCKS << block->s2b_shift; in dasd_fba_setup_blk_queue()
2235 block->s2b_shift = 3; in dasd_eckd_end_analysis()2293 block->s2b_shift = 0; /* bits to shift 512 to get a block */ in dasd_eckd_end_analysis()2295 block->s2b_shift++; in dasd_eckd_end_analysis()3023 first_trk = blk_rq_pos(req) >> block->s2b_shift; in dasd_eckd_ese_format()3026 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_eckd_ese_format()3721 count += bv.bv_len >> (block->s2b_shift + 9); in dasd_eckd_build_cp_cmd_single()3723 cidaw += bv.bv_len >> (block->s2b_shift + 9); in dasd_eckd_build_cp_cmd_single()4401 first_rec = first_trk = blk_rq_pos(req) >> block->s2b_shift; in dasd_eckd_build_cp()4404 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_eckd_build_cp()4626 recid = blk_rq_pos(req) >> cqr->block->s2b_shift; in dasd_eckd_free_cp()[all …]
555 unsigned int s2b_shift; /* log2 (bp_block/512) */ member
363 block->blocks << block->s2b_shift); in dasd_state_basic_to_ready()409 block->s2b_shift = 0; in dasd_state_ready_to_basic()3363 geo->start = get_start_sect(bdev) >> base->block->s2b_shift; in dasd_getgeo()