Searched refs:queue_logical_block_size (Results 1 – 13 of 13) sorted by relevance
42 unsigned int shift = ilog2(queue_logical_block_size(rq->q)); in t10_pi_ref_tag()67 unsigned int shift = ilog2(queue_logical_block_size(rq->q)); in ext_pi_ref_tag()
1241 static inline unsigned queue_logical_block_size(const struct request_queue *q) in queue_logical_block_size() function1248 return queue_logical_block_size(bdev_get_queue(bdev)); in bdev_logical_block_size()
137 queue_logical_block_size(disk->queue)) - 1ULL; in last_lba()240 (queue_logical_block_size(state->disk->queue) / 512); in read_lba()310 unsigned ssz = queue_logical_block_size(state->disk->queue); in alloc_read_gpt_header()357 queue_logical_block_size(state->disk->queue)) { in is_gpt_valid()360 queue_logical_block_size(state->disk->queue)); in is_gpt_valid()718 unsigned ssz = queue_logical_block_size(state->disk->queue) / 512; in efi_partition()
50 if (queue_logical_block_size(state->disk->queue) != 512) in atari_partition()
143 sector_size = queue_logical_block_size(state->disk->queue) / 512; in parse_extended()591 sector_size = queue_logical_block_size(state->disk->queue) / 512; in msdos_partition()
227 sectors = ALIGN_DOWN(bytes, queue_logical_block_size(q)) >> in __blk_queue_bounce()
451 QUEUE_RO_ENTRY(queue_logical_block_size, "logical_block_size");
3033 unsigned int bs_mask = queue_logical_block_size(q) - 1; in bio_unaligned()
924 nblocks = DIV_ROUND_UP_ULL(capacity, queue_logical_block_size(q) >> 9); in virtblk_update_capacity()926 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()928 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()936 queue_logical_block_size(q), in virtblk_update_capacity()
178 if (queue_logical_block_size(lo->lo_queue) < sb_bsize) in lo_bdev_can_use_dio()
87 blksize = max(blksize, queue_logical_block_size( in create_strip_zones()
1704 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_load()2142 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_sync()
943 cpu_to_be32(queue_logical_block_size(q)); in drbd_send_sizes()