Lines Matching defs:delay
11 #include <linux/delay.h>
306 unsigned long delay = 0;
312 delay = nvme_req(req)->ctrl->crdt[crd - 1] * 100;
316 blk_mq_delay_kick_requeue_list(req->q, delay);
1227 unsigned long delay = ctrl->kato * HZ / 2;
1233 * by up to twice the delay between runs.
1236 delay /= 2;
1237 return delay;
1243 unsigned long delay = nvme_keep_alive_work_period(ctrl);
1244 unsigned long ka_next_check_tm = ctrl->ka_last_check_time + delay;
1247 delay = 0;
1249 delay = ka_next_check_tm - now;
1251 queue_delayed_work(nvme_wq, &ctrl->ka_work, delay);
1261 unsigned long delay = nvme_keep_alive_work_period(ctrl);
1267 if (rtt <= delay) {
1268 delay -= rtt;
1272 delay = 0;
1292 queue_delayed_work(nvme_wq, &ctrl->ka_work, delay);
2444 /* Don't bother enabling the feature if retry delay is not reported */
2695 * delay before checking if it is ready and has a whole set of