Home
last modified time | relevance | path

Searched refs:zms (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/nvme/host/
Dzns.c241 c->zms.opcode = nvme_cmd_zone_mgmt_send; in nvme_setup_zone_mgmt_send()
242 c->zms.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_zone_mgmt_send()
243 c->zms.slba = cpu_to_le64(nvme_sect_to_lba(ns, blk_rq_pos(req))); in nvme_setup_zone_mgmt_send()
244 c->zms.zsa = action; in nvme_setup_zone_mgmt_send()
247 c->zms.select_all = 1; in nvme_setup_zone_mgmt_send()
/Linux-v6.1/drivers/nvme/target/
Dzns.c362 switch (zsa_req_op(data->req->cmd->zms.zsa)) { in zmgmt_send_scan_cb()
431 zsa_req_op(req->cmd->zms.zsa) | REQ_SYNC, in nvmet_bdev_zone_mgmt_emulate_all()
455 switch (zsa_req_op(req->cmd->zms.zsa)) { in nvmet_bdev_execute_zmgmt_send_all()
479 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zms.slba); in nvmet_bdev_zmgmt_send_work()
480 enum req_op op = zsa_req_op(req->cmd->zms.zsa); in nvmet_bdev_zmgmt_send_work()
493 if (req->cmd->zms.select_all) { in nvmet_bdev_zmgmt_send_work()
/Linux-v6.1/include/linux/
Dnvme.h1752 struct nvme_zone_mgmt_send_cmd zms; member