Home
last modified time | relevance | path

Searched refs:kato (Results 1 – 10 of 10) sorted by relevance

/drivers/nvme/target/
Dadmin-cmd.c394 req->sq->ctrl->kato = DIV_ROUND_UP(val32, 1000); in nvmet_execute_set_features()
395 nvmet_set_result(req, req->sq->ctrl->kato); in nvmet_execute_set_features()
443 nvmet_set_result(req, req->sq->ctrl->kato * 1000); in nvmet_execute_get_features()
474 ctrl->cntlid, ctrl->kato); in nvmet_execute_keep_alive()
476 mod_delayed_work(system_wq, &ctrl->ka_work, ctrl->kato * HZ); in nvmet_execute_keep_alive()
Dcore.c201 ctrl->cntlid, ctrl->kato); in nvmet_keep_alive_timer()
209 ctrl->cntlid, ctrl->kato); in nvmet_start_keep_alive_timer()
212 schedule_delayed_work(&ctrl->ka_work, ctrl->kato * HZ); in nvmet_start_keep_alive_timer()
702 struct nvmet_req *req, u32 kato, struct nvmet_ctrl **ctrlp) in nvmet_alloc_ctrl() argument
773 if (kato) { in nvmet_alloc_ctrl()
791 ctrl->kato = NVMET_DISC_KATO; in nvmet_alloc_ctrl()
794 ctrl->kato = DIV_ROUND_UP(kato, 1000); in nvmet_alloc_ctrl()
Dnvmet.h118 u32 kato; member
278 struct nvmet_req *req, u32 kato, struct nvmet_ctrl **ctrlp);
Dfabrics-cmd.c146 le32_to_cpu(c->kato), &ctrl); in nvmet_execute_admin_connect()
Dloop.c634 ctrl->ctrl.kato = opts->kato; in nvme_loop_create_ctrl()
/drivers/nvme/host/
Dfabrics.c391 cmd.connect.kato = ctrl->opts->discovery_nqn ? 0 : in nvmf_connect_admin_queue()
392 cpu_to_le32((ctrl->kato + NVME_KATO_GRACE) * 1000); in nvmf_connect_admin_queue()
651 opts->kato = token; in nvmf_parse_options()
712 if (!opts->discovery_nqn && !opts->kato) in nvmf_parse_options()
713 opts->kato = NVME_DEFAULT_KATO; in nvmf_parse_options()
Dfabrics.h92 unsigned int kato; member
Dcore.c494 schedule_delayed_work(&ctrl->ka_work, ctrl->kato * HZ); in nvme_keep_alive_end_io()
510 rq->timeout = ctrl->kato * HZ; in nvme_keep_alive()
533 if (unlikely(ctrl->kato == 0)) in nvme_start_keep_alive()
537 schedule_delayed_work(&ctrl->ka_work, ctrl->kato * HZ); in nvme_start_keep_alive()
543 if (unlikely(ctrl->kato == 0)) in nvme_stop_keep_alive()
Dnvme.h132 unsigned int kato; member
Drdma.c1925 ctrl->ctrl.kato = opts->kato; in nvme_rdma_create_ctrl()