Home
last modified time | relevance | path

Searched refs:queue_logical_block_size (Results 1 – 13 of 13) sorted by relevance

/linux/include/linux/
H A Dt10-pi.h42 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()
H A Dblkdev.h1241 static inline unsigned queue_logical_block_size(const struct request_queue *q) in queue_logical_block_size() function
1248 return queue_logical_block_size(bdev_get_queue(bdev)); in bdev_logical_block_size()
/linux/block/partitions/
H A Defi.c137 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()
H A Datari.c50 if (queue_logical_block_size(state->disk->queue) != 512) in atari_partition()
H A Dmsdos.c143 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()
/linux/block/
H A Dbounce.c227 sectors = ALIGN_DOWN(bytes, queue_logical_block_size(q)) >> in __blk_queue_bounce()
H A Dblk-sysfs.c451 QUEUE_RO_ENTRY(queue_logical_block_size, "logical_block_size");
H A Dblk-mq.c3033 unsigned int bs_mask = queue_logical_block_size(q) - 1; in bio_unaligned()
/linux/drivers/block/
H A Dvirtio_blk.c924 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()
H A Dloop.c178 if (queue_logical_block_size(lo->lo_queue) < sb_bsize) in lo_bdev_can_use_dio()
/linux/drivers/md/
H A Draid0.c87 blksize = max(blksize, queue_logical_block_size( in create_strip_zones()
H A Dmd.c1704 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()
/linux/drivers/block/drbd/
H A Ddrbd_main.c943 cpu_to_be32(queue_logical_block_size(q)); in drbd_send_sizes()