Searched refs:to0based (Results 1 – 2 of 2) sorted by relevance
17 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()
623 static inline __le16 to0based(u32 a) in to0based() function