Searched refs:mdts (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/nvme/target/ |
| H A D | nvmet.h | 219 int mdts; member 779 u8 mdts = req->port->mdts; in nvmet_ctrl_mdts() local 782 return mdts; in nvmet_ctrl_mdts() 783 return min_not_zero(ctrl->ops->get_mdts(ctrl), mdts); in nvmet_ctrl_mdts()
|
| H A D | configfs.c | 308 return snprintf(page, PAGE_SIZE, "%d\n", port->mdts); in nvmet_param_mdts_show() 315 int ret, mdts; in nvmet_param_mdts_store() local 319 ret = kstrtoint(page, 0, &mdts); in nvmet_param_mdts_store() 320 if (ret || mdts < 0 || mdts > NVMET_MAX_MDTS) { in nvmet_param_mdts_store() 325 port->mdts = mdts; in nvmet_param_mdts_store() 2077 port->mdts = -1; /* < 0 == let the transport choose */ in nvmet_ports_make()
|
| H A D | pci-epf.c | 182 unsigned int mdts; member 1098 if (iod->data_len > ctrl->mdts) { in nvmet_pci_epf_alloc_iod_data_buf() 1240 return ilog2(ctrl->mdts) - page_shift; in nvmet_pci_epf_get_mdts() 2014 ctrl->mdts = nvme_epf->mdts_kb * SZ_1K; in nvmet_pci_epf_create_ctrl() 2077 ctrl->mdts); in nvmet_pci_epf_create_ctrl()
|
| H A D | core.c | 378 if (port->mdts < 0 || port->mdts > NVMET_MAX_MDTS) in nvmet_enable_port() 379 port->mdts = 0; in nvmet_enable_port()
|
| H A D | passthru.c | 126 id->mdts = ilog2(max_hw_sectors) + 9 - page_shift; in nvmet_passthru_override_id_ctrl()
|
| H A D | admin-cmd.c | 693 id->mdts = nvmet_ctrl_mdts(req); in nvmet_execute_identify_ctrl()
|
| /linux/Documentation/nvme/ |
| H A D | nvme-pci-endpoint-target.rst | 294 nvmet_pci_epf nvmet_pci_epf.0: New PCI ctrl "nvmepf.0.nqn", 4 I/O queues, mdts 524288 B 332 mdts : 7
|
| /linux/include/linux/ |
| H A D | nvme.h | 318 __u8 mdts; member
|
| /linux/drivers/nvme/host/ |
| H A D | core.c | 3679 if (id->mdts) in nvme_init_identify() 3680 max_hw_sectors = nvme_mps_to_sectors(ctrl, id->mdts); in nvme_init_identify()
|