Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_qpair.c825 uint64_t round_offset; in nvme_ctrlr_reserve_sq_in_cmb() local
828 round_offset = ctrlr->cmb_current_offset; in nvme_ctrlr_reserve_sq_in_cmb()
829 round_offset = (round_offset + (aligned - 1)) & ~(aligned - 1); in nvme_ctrlr_reserve_sq_in_cmb()
831 if (round_offset + length > ctrlr->cmb_size) in nvme_ctrlr_reserve_sq_in_cmb()
834 *offset = round_offset; in nvme_ctrlr_reserve_sq_in_cmb()
835 ctrlr->cmb_current_offset = round_offset + length; in nvme_ctrlr_reserve_sq_in_cmb()