Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_ctrlr.c265 nvme_min(NVME_IO_ENTRIES, (unsigned int)cap.bits.mqes + 1); in nvme_ctrlr_init_io_qpairs()
440 ctrlr->max_xfer_size = nvme_min(ctrlr->max_xfer_size, in nvme_ctrlr_identify()
470 ctrlr->max_io_queues = nvme_min(sq_allocated, cq_allocated); in nvme_ctrlr_get_max_io_qpairs()
518 ctrlr->io_queues = nvme_min(sq_allocated, cq_allocated); in nvme_ctrlr_set_num_qpairs()
524 ctrlr->io_queues = nvme_min(ctrlr->io_queues, ctrlr->opts.io_queues); in nvme_ctrlr_set_num_qpairs()
666 ctrlr->num_aers = nvme_min(NVME_MAX_ASYNC_EVENTS, in nvme_ctrlr_configure_aer()
1362 transfer = nvme_min(size_remaining, ctrlr->min_page_size); in nvme_ctrlr_update_firmware()
1440 trackers = nvme_min(NVME_IO_TRACKERS, (qd - 1)); in nvme_ioqp_get()
H A Dnvme_common.h299 #define nvme_min(a, b) ({ \ macro
H A Dnvme_qpair.c626 length = nvme_min(remaining_transfer_len, length); in _nvme_qpair_build_hw_sgl_request()
704 data_transferred = nvme_min(remaining_transfer_len, length); in _nvme_qpair_build_prps_sgl_request()
H A Dnvme_ns.c262 lba_count = nvme_min(remaining_lba_count, lba_count); in _nvme_ns_split_request()