Home
last modified time | relevance | path

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

/drivers/nvme/target/
Dio-cmd-bdev.c17 const __le16 lpp0b = to0based(lpp); in nvmet_bdev_set_limits()
43 id->npdg = to0based(ql->discard_granularity / ql->logical_block_size); in nvmet_bdev_set_limits()
47 id->nows = to0based(ql->io_opt / ql->logical_block_size); in nvmet_bdev_set_limits()
Dnvmet.h623 static inline __le16 to0based(u32 a) in to0based() function