Home
last modified time | relevance | path

Searched refs:iowait (Results 1 – 22 of 22) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Diowait.h102 struct iowait { struct
107 struct iowait *wait, argument
112 void (*wakeup)(struct iowait *wait, int reason); argument
113 void (*sdma_drained)(struct iowait *wait); argument
142 struct iowait *wait, in iowait_init()
147 struct iowait *wait, in iowait_init()
151 void (*wakeup)(struct iowait *wait, int reason), in iowait_init()
152 void (*sdma_drained)(struct iowait *wait)) in iowait_init()
176 struct iowait *wait, in iowait_schedule()
191 static inline void iowait_sdma_drain(struct iowait *wait) in iowait_sdma_drain()
[all …]
Dsdma_txreq.h98 struct iowait;
106 struct iowait *wait;
Dverbs_txreq.c77 struct iowait *wait; in hfi1_put_txreq()
80 wait = list_first_entry(&dev->txwait, struct iowait, in hfi1_put_txreq()
Dqp.c69 struct iowait *wait,
73 static void iowait_wakeup(struct iowait *wait, int reason);
74 static void iowait_sdma_drained(struct iowait *wait);
400 struct iowait *wait, in iowait_sleep()
456 static void iowait_wakeup(struct iowait *wait, int reason) in iowait_wakeup()
464 static void iowait_sdma_drained(struct iowait *wait) in iowait_sdma_drained()
Dsdma.h852 struct iowait;
855 struct iowait *wait,
859 struct iowait *wait,
929 struct iowait *wait) in sdma_iowait_schedule()
Dvnic_sdma.c233 struct iowait *wait, in hfi1_vnic_sdma_sleep()
262 static void hfi1_vnic_sdma_wakeup(struct iowait *wait, int reason) in hfi1_vnic_sdma_wakeup()
Dvnic.h87 struct iowait wait;
Dverbs.h160 struct iowait s_iowait;
250 static inline struct rvt_qp *iowait_to_qp(struct iowait *s_iowait) in iowait_to_qp()
Duser_sdma.h135 struct iowait busy;
Duser_sdma.c104 struct iowait *wait,
108 static void activate_packet_queue(struct iowait *wait, int reason);
127 struct iowait *wait, in defer_packet_queue()
157 static void activate_packet_queue(struct iowait *wait, int reason) in activate_packet_queue()
Dsdma.c368 struct iowait *wait = tx->wait; in complete_tx()
1758 struct iowait *wait, *nw; in sdma_desc_avail()
1759 struct iowait *waits[SDMA_WAIT_BATCH_SIZE]; in sdma_desc_avail()
2349 struct iowait *wait, in sdma_check_progress()
2389 struct iowait *wait, in sdma_send_txreq()
2470 int sdma_send_txlist(struct sdma_engine *sde, struct iowait *wait, in sdma_send_txlist()
Druc.c828 struct iowait *wait = container_of(work, struct iowait, iowork); in _hfi1_do_send()
Dpio.c1625 struct iowait *wait; in sc_piobufavail()
1629 wait = list_first_entry(list, struct iowait, list); in sc_piobufavail()
Dverbs.c681 struct iowait *wait; in mem_timer()
687 wait = list_first_entry(list, struct iowait, list); in mem_timer()
/Linux-v4.19/fs/proc/
Dstat.c38 u64 iowait; in get_iowait_time() local
40 iowait = kcpustat_cpu(cpu).cpustat[CPUTIME_IOWAIT]; in get_iowait_time()
42 iowait += arch_idle_time(cpu); in get_iowait_time()
43 return iowait; in get_iowait_time()
66 u64 iowait, iowait_usecs = -1ULL; in get_iowait_time() local
73 iowait = kcpustat_cpu(cpu).cpustat[CPUTIME_IOWAIT]; in get_iowait_time()
75 iowait = iowait_usecs * NSEC_PER_USEC; in get_iowait_time()
77 return iowait; in get_iowait_time()
85 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
92 user = nice = system = idle = iowait = in show_stat()
[all …]
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_qp.c246 if (!list_empty(&priv->iowait) && !(qp->s_flags & RVT_S_BUSY)) { in qib_notify_error_qp()
248 list_del_init(&priv->iowait); in qib_notify_error_qp()
335 INIT_LIST_HEAD(&priv->iowait); in qib_qp_priv_alloc()
372 if (!list_empty(&priv->iowait)) in qib_flush_qp_waiters()
373 list_del_init(&priv->iowait); in qib_flush_qp_waiters()
444 !list_empty(&priv->iowait), in qib_qp_iter_print()
Dqib_verbs.c402 priv = list_entry(list->next, struct qib_qp_priv, iowait); in mem_timer()
404 list_del_init(&priv->iowait); in mem_timer()
613 list_empty(&priv->iowait)) { in __get_txreq()
616 list_add_tail(&priv->iowait, &dev->txwait); in __get_txreq()
678 iowait); in qib_put_txreq()
680 list_del_init(&priv->iowait); in qib_put_txreq()
715 list_for_each_entry_safe(qpp, nqpp, &dev->dmawait, iowait) { in qib_verbs_sdma_desc_avail()
724 list_del_init(&qpp->iowait); in qib_verbs_sdma_desc_avail()
790 if (list_empty(&priv->iowait)) { in wait_kmem()
794 list_add_tail(&priv->iowait, &dev->memwait); in wait_kmem()
[all …]
Dqib_verbs.h118 struct list_head iowait; /* link for wait PIO buf */ member
Dqib_sdma.c677 if (list_empty(&priv->iowait)) { in qib_sdma_verbs_send()
683 list_add_tail(&priv->iowait, &dev->dmawait); in qib_sdma_verbs_send()
/Linux-v4.19/kernel/time/
Dtick-sched.c600 ktime_t now, iowait; in get_cpu_iowait_time_us() local
608 iowait = ts->iowait_sleeptime; in get_cpu_iowait_time_us()
613 iowait = ktime_add(ts->iowait_sleeptime, delta); in get_cpu_iowait_time_us()
615 iowait = ts->iowait_sleeptime; in get_cpu_iowait_time_us()
619 return ktime_to_us(iowait); in get_cpu_iowait_time_us()
/Linux-v4.19/Documentation/
Dcpu-load.txt12 avg-cpu: %user %nice %system %iowait %steal %idle
/Linux-v4.19/Documentation/filesystems/
Dproc.txt1328 - iowait: In a word, iowait stands for waiting for I/O to complete. But there
1330 1. Cpu will not wait for I/O to complete, iowait is the time that a task is
1334 on any CPU, so the iowait of each CPU is difficult to calculate.
1335 3. The value of iowait field in /proc/stat will decrease in certain
1337 So, the iowait is not reliable by reading from /proc/stat.