Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hfi1/
Diowait.h90 struct iowait;
94 struct iowait *iow;
139 struct iowait { struct
148 void (*wakeup)(struct iowait *wait, int reason); argument
149 void (*sdma_drained)(struct iowait *wait); argument
150 void (*init_priority)(struct iowait *wait); argument
167 void iowait_set_flag(struct iowait *wait, u32 flag); argument
168 bool iowait_flag_set(struct iowait *wait, u32 flag);
169 void iowait_clear_flag(struct iowait *wait, u32 flag);
171 void iowait_init(struct iowait *wait, u32 tx_limit,
[all …]
Diowait.c12 void iowait_set_flag(struct iowait *wait, u32 flag) in iowait_set_flag()
18 bool iowait_flag_set(struct iowait *wait, u32 flag) in iowait_flag_set()
23 inline void iowait_clear_flag(struct iowait *wait, u32 flag) in iowait_clear_flag()
41 void iowait_init(struct iowait *wait, u32 tx_limit, in iowait_init()
49 void (*wakeup)(struct iowait *wait, int reason), in iowait_init()
50 void (*sdma_drained)(struct iowait *wait), in iowait_init()
51 void (*init_priority)(struct iowait *wait)) in iowait_init()
81 void iowait_cancel_work(struct iowait *w) in iowait_cancel_work()
112 uint iowait_priority_update_top(struct iowait *w, in iowait_priority_update_top()
113 struct iowait *top, in iowait_priority_update_top()
Dtrace_iowait.h17 TP_PROTO(struct iowait *wait, u32 flag),
41 TP_PROTO(struct iowait *wait, u32 flag),
45 TP_PROTO(struct iowait *wait, u32 flag),
Dsdma_txreq.h99 struct iowait;
107 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()
DMakefile24 iowait.o \
Dvnic.h87 struct iowait wait;
Dqp.c73 static void iowait_wakeup(struct iowait *wait, int reason);
74 static void iowait_sdma_drained(struct iowait *wait);
545 static void iowait_wakeup(struct iowait *wait, int reason) in iowait_wakeup()
553 static void iowait_sdma_drained(struct iowait *wait) in iowait_sdma_drained()
572 static void hfi1_init_priority(struct iowait *w) in hfi1_init_priority()
Dverbs.h165 struct iowait s_iowait;
315 static inline struct rvt_qp *iowait_to_qp(struct iowait *s_iowait) in iowait_to_qp()
Duser_sdma.h130 struct iowait busy;
Dvnic_sdma.c258 static void hfi1_vnic_sdma_wakeup(struct iowait *wait, int reason) in hfi1_vnic_sdma_wakeup()
Dpio.c958 struct iowait *wait; in sc_disable()
962 wait = list_first_entry(&sc->piowait, struct iowait, list); in sc_disable()
1631 struct iowait *wait; in sc_piobufavail()
1635 wait = list_first_entry(list, struct iowait, list); in sc_piobufavail()
Dsdma.h921 struct iowait *wait) in sdma_iowait_schedule()
Dsdma.c369 struct iowait *wait = tx->wait; in complete_tx()
422 struct iowait *w, *nw; in sdma_flush()
1767 struct iowait *wait, *nw, *twait; in sdma_desc_avail()
1768 struct iowait *waits[SDMA_WAIT_BATCH_SIZE]; in sdma_desc_avail()
Duser_sdma.c107 static void activate_packet_queue(struct iowait *wait, int reason);
154 static void activate_packet_queue(struct iowait *wait, int reason) in activate_packet_queue()
Dverbs.c599 struct iowait *wait; in mem_timer()
605 wait = list_first_entry(list, struct iowait, list); in mem_timer()
/Linux-v5.4/fs/proc/
Dstat.c38 u64 iowait; in get_iowait_time() local
40 iowait = kcs->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 = kcs->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()
110 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
117 user = nice = system = idle = iowait = in show_stat()
[all …]
/Linux-v5.4/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()
441 !list_empty(&priv->iowait), in qib_qp_iter_print()
Dqib_verbs.c371 priv = list_entry(list->next, struct qib_qp_priv, iowait); in mem_timer()
373 list_del_init(&priv->iowait); in mem_timer()
577 list_empty(&priv->iowait)) { in __get_txreq()
580 list_add_tail(&priv->iowait, &dev->txwait); in __get_txreq()
642 iowait); in qib_put_txreq()
644 list_del_init(&priv->iowait); in qib_put_txreq()
679 list_for_each_entry_safe(qpp, nqpp, &dev->dmawait, iowait) { in qib_verbs_sdma_desc_avail()
688 list_del_init(&qpp->iowait); in qib_verbs_sdma_desc_avail()
754 if (list_empty(&priv->iowait)) { in wait_kmem()
758 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.c656 if (list_empty(&priv->iowait)) { in qib_sdma_verbs_send()
662 list_add_tail(&priv->iowait, &dev->dmawait); in qib_sdma_verbs_send()
/Linux-v5.4/kernel/time/
Dtick-sched.c606 ktime_t now, iowait; in get_cpu_iowait_time_us() local
614 iowait = ts->iowait_sleeptime; in get_cpu_iowait_time_us()
619 iowait = ktime_add(ts->iowait_sleeptime, delta); in get_cpu_iowait_time_us()
621 iowait = ts->iowait_sleeptime; in get_cpu_iowait_time_us()
625 return ktime_to_us(iowait); in get_cpu_iowait_time_us()
/Linux-v5.4/Documentation/admin-guide/
Dcpu-load.rst12 avg-cpu: %user %nice %system %iowait %steal %idle
/Linux-v5.4/Documentation/filesystems/
Dproc.txt1373 - iowait: In a word, iowait stands for waiting for I/O to complete. But there
1375 1. Cpu will not wait for I/O to complete, iowait is the time that a task is
1379 on any CPU, so the iowait of each CPU is difficult to calculate.
1380 3. The value of iowait field in /proc/stat will decrease in certain
1382 So, the iowait is not reliable by reading from /proc/stat.