Searched refs:nvme_min (Results 1 – 4 of 4) sorted by relevance
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_ctrlr.c | 265 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 D | nvme_common.h | 299 #define nvme_min(a, b) ({ \ macro
|
H A D | nvme_qpair.c | 626 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 D | nvme_ns.c | 262 lba_count = nvme_min(remaining_lba_count, lba_count); in _nvme_ns_split_request()
|