Home
last modified time | relevance | path

Searched refs:s2b_shift (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/s390/block/
Ddasd_diag.c447 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()
Ddasd_fba.c200 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()
Ddasd_eckd.c2372 block->s2b_shift = 3; in dasd_eckd_end_analysis()
2430 block->s2b_shift = 0; /* bits to shift 512 to get a block */ in dasd_eckd_end_analysis()
2432 block->s2b_shift++; in dasd_eckd_end_analysis()
3209 first_trk = blk_rq_pos(req) >> block->s2b_shift; in dasd_eckd_ese_format()
3212 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_eckd_ese_format()
3295 first_trk = first_blk = blk_rq_pos(req) >> block->s2b_shift; in dasd_eckd_ese_read()
3298 (blk_rq_pos(req) + blk_rq_sectors(req) - 1) >> block->s2b_shift; in dasd_eckd_ese_read()
4009 count += bv.bv_len >> (block->s2b_shift + 9); in dasd_eckd_build_cp_cmd_single()
4011 cidaw += bv.bv_len >> (block->s2b_shift + 9); in dasd_eckd_build_cp_cmd_single()
4689 first_rec = first_trk = blk_rq_pos(req) >> block->s2b_shift; in dasd_eckd_build_cp()
[all …]
Ddasd_int.h658 unsigned int s2b_shift; /* log2 (bp_block/512) */ member
Ddasd.c339 block->blocks << block->s2b_shift); in dasd_state_basic_to_ready()
385 block->s2b_shift = 0; in dasd_state_ready_to_basic()
3332 geo->start = get_start_sect(bdev) >> base->block->s2b_shift; in dasd_getgeo()