Home
last modified time | relevance | path

Searched refs:to0based (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/nvme/target/
Dio-cmd-bdev.c16 const __le16 lpp0b = to0based(bdev_physical_block_size(bdev) / in nvmet_bdev_set_limits()
43 id->npdg = to0based(bdev_discard_granularity(bdev) / in nvmet_bdev_set_limits()
48 id->nows = to0based(bdev_io_opt(bdev) / bdev_logical_block_size(bdev)); in nvmet_bdev_set_limits()
Dnvmet.h659 static inline __le16 to0based(u32 a) in to0based() function