Home
last modified time | relevance | path

Searched refs:mdts (Results 1 – 6 of 6) sorted by relevance

/drivers/lightnvm/
Dcore.c314 unsigned int mdts; in nvm_create_tgt() local
401 mdts = (dev->geo.csecs >> 9) * NVM_MAX_VLBA; in nvm_create_tgt()
402 if (dev->geo.mdts) { in nvm_create_tgt()
403 mdts = min_t(u32, dev->geo.mdts, in nvm_create_tgt()
406 blk_queue_max_hw_sectors(tqueue, mdts); in nvm_create_tgt()
/drivers/nvme/target/
Ddiscovery.c273 id->mdts = 0; in nvmet_execute_disc_identify()
Dadmin-cmd.c372 id->mdts = ctrl->ops->get_mdts(ctrl); in nvmet_execute_identify_ctrl()
374 id->mdts = 0; in nvmet_execute_identify_ctrl()
Dpassthru.c60 id->mdts = ilog2(max_hw_sectors) + 9 - page_shift; in nvmet_passthru_override_id_ctrl()
/drivers/nvme/host/
Dlightnvm.c968 geo->mdts = ns->ctrl->max_hw_sectors; in nvme_nvm_register()
Dcore.c3144 if (id->mdts) in nvme_init_identify()
3145 max_hw_sectors = 1 << (id->mdts + page_shift - 9); in nvme_init_identify()