Home
last modified time | relevance | path

Searched refs:NVME_MAX_SEGS (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dapple.c83 #define NVME_MAX_SEGS 127 macro
330 sizeof(struct scatterlist) * NVME_MAX_SEGS; in apple_nvme_iod_alloc_size()
1054 anv->ctrl.max_segments = NVME_MAX_SEGS; in apple_nvme_reset_work()
H A Dpci.c45 #define NVME_MAX_SEGS 128 macro
2658 size_t alloc_size = sizeof(struct scatterlist) * NVME_MAX_SEGS; in nvme_pci_alloc_iod_mempool()
2977 dev->ctrl.max_segments = NVME_MAX_SEGS; in nvme_pci_alloc_dev()
3526 BUILD_BUG_ON(NVME_MAX_SEGS > SGES_PER_PAGE); in nvme_init()
3527 BUILD_BUG_ON(sizeof(struct scatterlist) * NVME_MAX_SEGS > PAGE_SIZE); in nvme_init()
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dpci.c43 #define NVME_MAX_SEGS 127 macro
386 return DIV_ROUND_UP(NVME_MAX_SEGS * sizeof(struct nvme_sgl_desc), in nvme_pci_npages_sgl()
2557 sizeof(struct scatterlist) * NVME_MAX_SEGS; in nvme_pci_alloc_iod_mempool()
2649 dev->ctrl.max_segments = NVME_MAX_SEGS; in nvme_reset_work()

Completed in 11 milliseconds