| /Linux-v5.4/drivers/infiniband/hw/hfi1/ |
| D | iowait.h | 90 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 …]
|
| D | iowait.c | 12 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()
|
| D | trace_iowait.h | 17 TP_PROTO(struct iowait *wait, u32 flag), 41 TP_PROTO(struct iowait *wait, u32 flag), 45 TP_PROTO(struct iowait *wait, u32 flag),
|
| D | sdma_txreq.h | 99 struct iowait; 107 struct iowait *wait;
|
| D | verbs_txreq.c | 77 struct iowait *wait; in hfi1_put_txreq() 80 wait = list_first_entry(&dev->txwait, struct iowait, in hfi1_put_txreq()
|
| D | Makefile | 24 iowait.o \
|
| D | vnic.h | 87 struct iowait wait;
|
| D | qp.c | 73 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()
|
| D | verbs.h | 165 struct iowait s_iowait; 315 static inline struct rvt_qp *iowait_to_qp(struct iowait *s_iowait) in iowait_to_qp()
|
| D | user_sdma.h | 130 struct iowait busy;
|
| D | vnic_sdma.c | 258 static void hfi1_vnic_sdma_wakeup(struct iowait *wait, int reason) in hfi1_vnic_sdma_wakeup()
|
| D | pio.c | 958 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()
|
| D | sdma.h | 921 struct iowait *wait) in sdma_iowait_schedule()
|
| D | sdma.c | 369 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()
|
| D | user_sdma.c | 107 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()
|
| D | verbs.c | 599 struct iowait *wait; in mem_timer() 605 wait = list_first_entry(list, struct iowait, list); in mem_timer()
|
| /Linux-v5.4/fs/proc/ |
| D | stat.c | 38 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/ |
| D | qib_qp.c | 246 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()
|
| D | qib_verbs.c | 371 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 …]
|
| D | qib_verbs.h | 118 struct list_head iowait; /* link for wait PIO buf */ member
|
| D | qib_sdma.c | 656 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/ |
| D | tick-sched.c | 606 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/ |
| D | cpu-load.rst | 12 avg-cpu: %user %nice %system %iowait %steal %idle
|
| /Linux-v5.4/Documentation/filesystems/ |
| D | proc.txt | 1373 - 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.
|