Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvme/target/
Dcore.c394 queue_delayed_work(nvmet_wq, &ctrl->ka_work, ctrl->kato * HZ); in nvmet_keep_alive_timer()
399 ctrl->cntlid, ctrl->kato); in nvmet_keep_alive_timer()
406 if (unlikely(ctrl->kato == 0)) in nvmet_start_keep_alive_timer()
410 ctrl->cntlid, ctrl->kato); in nvmet_start_keep_alive_timer()
412 queue_delayed_work(nvmet_wq, &ctrl->ka_work, ctrl->kato * HZ); in nvmet_start_keep_alive_timer()
417 if (unlikely(ctrl->kato == 0)) in nvmet_stop_keep_alive_timer()
1182 if (ctrl->kato) in nvmet_start_ctrl()
1183 mod_delayed_work(nvmet_wq, &ctrl->ka_work, ctrl->kato * HZ); in nvmet_start_ctrl()
1359 struct nvmet_req *req, u32 kato, struct nvmet_ctrl **ctrlp) in nvmet_alloc_ctrl() argument
1444 if (nvmet_is_disc_subsys(ctrl->subsys) && !kato) in nvmet_alloc_ctrl()
[all …]
Dtrace.c159 u32 kato = get_unaligned_le32(spc + 8); in nvmet_trace_fabrics_connect() local
162 recfmt, qid, sqsize, cattr, kato); in nvmet_trace_fabrics_connect()
Dadmin-cmd.c796 req->sq->ctrl->kato = DIV_ROUND_UP(val32, 1000); in nvmet_set_feat_kato()
799 nvmet_set_result(req, req->sq->ctrl->kato); in nvmet_set_feat_kato()
885 nvmet_set_result(req, req->sq->ctrl->kato * 1000); in nvmet_get_feat_kato()
989 if (!ctrl->kato) { in nvmet_execute_keep_alive()
995 ctrl->cntlid, ctrl->kato); in nvmet_execute_keep_alive()
996 mod_delayed_work(system_wq, &ctrl->ka_work, ctrl->kato * HZ); in nvmet_execute_keep_alive()
Dfabrics-cmd-auth.c338 unsigned long auth_expire_secs = ctrl->kato ? ctrl->kato : 120; in nvmet_execute_auth_send()
Dloop.c559 ctrl->ctrl.kato = opts->kato; in nvme_loop_create_ctrl()
Dnvmet.h194 u32 kato; member
482 struct nvmet_req *req, u32 kato, struct nvmet_ctrl **ctrlp);
Dfabrics-cmd.c250 le32_to_cpu(c->kato), &ctrl); in nvmet_execute_admin_connect()
/linux-6.6.21/drivers/nvme/host/
Dfabrics.c410 cmd->connect.kato = cpu_to_le32(ctrl->kato * 1000); in nvmf_connect_cmd_prep()
670 opts->kato = 0; in nvmf_parse_options()
783 opts->kato = token; in nvmf_parse_options()
974 if (!opts->kato) in nvmf_parse_options()
975 opts->kato = NVME_DEFAULT_KATO; in nvmf_parse_options()
Dtrace.c271 u32 kato = get_unaligned_le32(spc + 8); in nvme_trace_fabrics_connect() local
274 recfmt, qid, sqsize, cattr, kato); in nvme_trace_fabrics_connect()
Dfabrics.h127 unsigned int kato; member
Dcore.c1182 unsigned long delay = ctrl->kato * HZ / 2; in nvme_keep_alive_work_period()
1270 rq->timeout = ctrl->kato * HZ; in nvme_keep_alive_work()
1278 if (unlikely(ctrl->kato == 0)) in nvme_start_keep_alive()
1286 if (unlikely(ctrl->kato == 0)) in nvme_stop_keep_alive()
1301 ctrl->kato * 1000 / 2, new_kato * 1000 / 2); in nvme_update_keep_alive()
1304 ctrl->kato = new_kato; in nvme_update_keep_alive()
Dsysfs.c197 nvme_show_int_function(kato);
Dnvme.h330 unsigned int kato; member
Drdma.c2273 ctrl->ctrl.kato = opts->kato; in nvme_rdma_create_ctrl()
Dtcp.c2531 ctrl->ctrl.kato = opts->kato; in nvme_tcp_create_ctrl()
Dfc.c3518 ctrl->ctrl.kato = opts->kato; in nvme_fc_init_ctrl()
/linux-6.6.21/include/linux/
Dnvme.h1524 __le32 kato; member