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