Searched refs:mdts (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/nvme/target/ |
| H A D | nvmet.h | 216 int mdts; 770 u8 mdts = req->port->mdts; in nvmet_ctrl_mdts() local 773 return mdts; in nvmet_ctrl_mdts() 774 return min_not_zero(ctrl->ops->get_mdts(ctrl), mdts); in nvmet_ctrl_mdts() 217 int mdts; global() member
|
| H A D | pci-epf.c | 182 unsigned int mdts; member 1121 if (iod->data_len > ctrl->mdts) { in nvmet_pci_epf_alloc_iod_data_buf() 1263 return ilog2(ctrl->mdts) - page_shift; in nvmet_pci_epf_get_mdts() 2033 ctrl->mdts = nvme_epf->mdts_kb * SZ_1K; in nvmet_pci_epf_create_ctrl() 2096 ctrl->mdts); in nvmet_pci_epf_create_ctrl()
|
| H A D | discovery.c | 303 id->mdts = 0; in nvmet_execute_disc_identify()
|
| H A D | core.c | 374 * If the transport didn't set the mdts properly, then clamp it to the in nvmet_enable_port() 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 | 117 id->mdts = ilog2(max_hw_sectors) + 9 - page_shift; in nvmet_passthru_override_id_ctrl()
|
| H A D | configfs.c | 308 return snprintf(page, PAGE_SIZE, "%d\n", port->mdts); in nvmet_param_mdts_show() 319 ret = kstrtoint(page, 0, &port->mdts); in nvmet_param_mdts_store() 321 pr_err("Invalid value '%s' for mdts\n", page); in nvmet_param_mdts_store() 2075 port->mdts = -1; /* < 0 == let the transport choose */ in nvmet_ports_make()
|
| H A D | admin-cmd.c | 691 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/drivers/nvme/host/ |
| H A D | core.c | 3651 if (id->mdts) in nvme_init_identify() 3652 max_hw_sectors = nvme_mps_to_sectors(ctrl, id->mdts); in nvme_init_identify() 4591 * such scenario. Controller's non-mdts limits are reported in the unit in nvme_remove_namespaces() 4598 "reading non-mdts-limits failed: %d\n", ret); in nvme_remove_namespaces()
|