Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvme/target/
Dcore.c392 queue_delayed_work(nvmet_wq, &ctrl->ka_work, ctrl->kato * HZ); in nvmet_keep_alive_timer()
397 ctrl->cntlid, ctrl->kato); in nvmet_keep_alive_timer()
404 if (unlikely(ctrl->kato == 0)) in nvmet_start_keep_alive_timer()
408 ctrl->cntlid, ctrl->kato); in nvmet_start_keep_alive_timer()
410 queue_delayed_work(nvmet_wq, &ctrl->ka_work, ctrl->kato * HZ); in nvmet_start_keep_alive_timer()
415 if (unlikely(ctrl->kato == 0)) in nvmet_stop_keep_alive_timer()
1179 if (ctrl->kato) in nvmet_start_ctrl()
1180 mod_delayed_work(nvmet_wq, &ctrl->ka_work, ctrl->kato * HZ); in nvmet_start_ctrl()
1356 struct nvmet_req *req, u32 kato, struct nvmet_ctrl **ctrlp) in nvmet_alloc_ctrl() argument
1441 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.c812 req->sq->ctrl->kato = DIV_ROUND_UP(val32, 1000); in nvmet_set_feat_kato()
815 nvmet_set_result(req, req->sq->ctrl->kato); in nvmet_set_feat_kato()
901 nvmet_set_result(req, req->sq->ctrl->kato * 1000); in nvmet_get_feat_kato()
1005 if (!ctrl->kato) { in nvmet_execute_keep_alive()
1011 ctrl->cntlid, ctrl->kato); in nvmet_execute_keep_alive()
1012 mod_delayed_work(system_wq, &ctrl->ka_work, ctrl->kato * HZ); in nvmet_execute_keep_alive()
Dfabrics-cmd-auth.c343 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.h193 u32 kato; member
479 struct nvmet_req *req, u32 kato, struct nvmet_ctrl **ctrlp);
Dfabrics-cmd.c248 le32_to_cpu(c->kato), &ctrl); in nvmet_execute_admin_connect()
/linux-6.1.9/drivers/nvme/host/
Dfabrics.c388 cmd.connect.kato = cpu_to_le32(ctrl->kato * 1000); in nvmf_connect_admin_queue()
614 opts->kato = 0; in nvmf_parse_options()
725 opts->kato = token; in nvmf_parse_options()
920 if (!opts->kato) in nvmf_parse_options()
921 opts->kato = NVME_DEFAULT_KATO; in nvmf_parse_options()
Dfabrics.h126 unsigned int kato; member
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()
Dcore.c1192 queue_delayed_work(nvme_wq, &ctrl->ka_work, ctrl->kato * HZ / 2); in nvme_queue_keep_alive_work()
1247 rq->timeout = ctrl->kato * HZ; in nvme_keep_alive_work()
1255 if (unlikely(ctrl->kato == 0)) in nvme_start_keep_alive()
1263 if (unlikely(ctrl->kato == 0)) in nvme_stop_keep_alive()
1278 ctrl->kato * 1000 / 2, new_kato * 1000 / 2); in nvme_update_keep_alive()
1281 ctrl->kato = new_kato; in nvme_update_keep_alive()
3524 nvme_show_int_function(kato);
Dnvme.h310 unsigned int kato; member
Drdma.c2345 ctrl->ctrl.kato = opts->kato; in nvme_rdma_create_ctrl()
Dtcp.c2569 ctrl->ctrl.kato = opts->kato; in nvme_tcp_create_ctrl()
Dfc.c3500 ctrl->ctrl.kato = opts->kato; in nvme_fc_init_ctrl()
/linux-6.1.9/include/linux/
Dnvme.h1481 __le32 kato; member