/linux-4.4.14/fs/proc/ |
H A D | stat.c | 36 cputime64_t iowait; get_iowait_time() local 38 iowait = kcpustat_cpu(cpu).cpustat[CPUTIME_IOWAIT]; get_iowait_time() 40 iowait += arch_idle_time(cpu); get_iowait_time() 41 return iowait; get_iowait_time() 64 u64 iowait, iowait_time = -1ULL; get_iowait_time() local 70 /* !NO_HZ or cpu offline so we can rely on cpustat.iowait */ get_iowait_time() 71 iowait = kcpustat_cpu(cpu).cpustat[CPUTIME_IOWAIT]; get_iowait_time() 73 iowait = usecs_to_cputime64(iowait_time); get_iowait_time() 75 return iowait; get_iowait_time() 84 u64 user, nice, system, idle, iowait, irq, softirq, steal; show_stat() local 91 user = nice = system = idle = iowait = show_stat() 102 iowait += get_iowait_time(i); for_each_possible_cpu() 125 seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(iowait)); 139 iowait = get_iowait_time(i); for_each_online_cpu() 150 seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(iowait)); for_each_online_cpu()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | iowait.h | 66 * struct iowait - linkage for delayed progress/waiting 86 * the embedded iowait and its containing struct 95 struct iowait { struct 100 struct iowait *wait, 103 void (*wakeup)(struct iowait *wait, int reason); 122 * This function initializes the iowait 128 struct iowait *wait, iowait_init() 133 struct iowait *wait, iowait_init() 136 void (*wakeup)(struct iowait *wait, int reason)) iowait_init() 155 struct iowait *wait, iowait_schedule() 164 * @wait: iowait structure 166 * This will delay until the iowait sdmas have 169 static inline void iowait_sdma_drain(struct iowait *wait) iowait_sdma_drain() 177 * @wait: iowait structure 181 static inline void iowait_drain_wakeup(struct iowait *wait) iowait_drain_wakeup()
|
H A D | user_sdma.h | 54 #include "iowait.h" 77 struct iowait busy;
|
H A D | sdma.h | 234 * Embed a struct iowait in the QP or 235 * PQ. The iowait should be initialized with a 357 struct iowait *wait; 607 * The flag, if the is the iowait had been used, indicates the iowait 916 struct iowait; 919 struct iowait *wait, 922 struct iowait *wait, 962 * seqcount before queuing the iowait structure for progress. 985 * This function initializes the iowait 991 struct iowait *wait) sdma_iowait_schedule()
|
H A D | sdma.c | 64 #include "iowait.h" 402 struct iowait *wait = txp->wait; sdma_flush() 589 struct iowait *wait = txp->wait; sdma_flush_descq() 1415 struct iowait *wait, *nw; sdma_desc_avail() 1416 struct iowait *waits[SDMA_WAIT_BATCH_SIZE]; sdma_desc_avail() 1494 struct iowait *wait = txp->wait; sdma_make_progress() 2030 struct iowait *wait, sdma_check_progress() 2058 * The call submits the tx into the ring. If a iowait structure is non-NULL 2064 * -EIOCBQUEUED - tx queued to iowait, -ECOMM bad sdma state 2067 struct iowait *wait, sdma_send_txreq() 2127 * If the iowait structure is non-NULL and not equal to the iowait list 2140 * -EIOCBQUEUED - tx queued to iowait, -ECOMM bad sdma state 2143 struct iowait *wait, sdma_send_txlist()
|
H A D | qp.c | 73 struct iowait *wait, 76 static void iowait_wakeup(struct iowait *wait, int reason); 1402 struct iowait *wait, iowait_sleep() 1454 static void iowait_wakeup(struct iowait *wait, int reason) iowait_wakeup()
|
H A D | user_sdma.c | 302 struct iowait *, 305 static void activate_packet_queue(struct iowait *, int); 309 struct iowait *wait, defer_packet_queue() 338 static void activate_packet_queue(struct iowait *wait, int reason) activate_packet_queue()
|
H A D | verbs.c | 697 struct iowait *wait; mem_timer() 702 wait = list_first_entry(list, struct iowait, list); mem_timer() 800 struct iowait *wait; hfi1_put_txreq() 804 wait = list_first_entry(&dev->txwait, struct iowait, hfi1_put_txreq()
|
H A D | verbs.h | 71 #include "iowait.h" 540 struct iowait s_iowait;
|
H A D | ruc.c | 836 struct iowait *wait = container_of(work, struct iowait, iowork); hfi1_do_send()
|
H A D | pio.c | 1514 struct iowait *wait; sc_piobufavail() 1518 wait = list_first_entry(list, struct iowait, list); sc_piobufavail()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_qp.c | 494 if (!list_empty(&qp->iowait) && !(qp->s_flags & QIB_S_BUSY)) { qib_error_qp() 496 list_del_init(&qp->iowait); qib_error_qp() 700 if (!list_empty(&qp->iowait)) qib_modify_qp() 701 list_del_init(&qp->iowait); qib_modify_qp() 1100 INIT_LIST_HEAD(&qp->iowait); qib_create_qp() 1217 if (!list_empty(&qp->iowait)) qib_destroy_qp() 1218 list_del_init(&qp->iowait); qib_destroy_qp() 1381 !list_empty(&qp->iowait), qib_qp_iter_print()
|
H A D | qib_verbs.c | 731 qp = list_entry(list->next, struct qib_qp, iowait); mem_timer() 732 list_del_init(&qp->iowait); mem_timer() 962 list_empty(&qp->iowait)) { __get_txreq() 965 list_add_tail(&qp->iowait, &dev->txwait); __get_txreq() 1027 qp = list_entry(dev->txwait.next, struct qib_qp, iowait); qib_put_txreq() 1028 list_del_init(&qp->iowait); qib_put_txreq() 1063 list_for_each_entry_safe(qp, nqp, &dev->dmawait, iowait) { qib_verbs_sdma_desc_avail() 1071 list_del_init(&qp->iowait); qib_verbs_sdma_desc_avail() 1136 if (list_empty(&qp->iowait)) { wait_kmem() 1140 list_add_tail(&qp->iowait, &dev->memwait); wait_kmem() 1271 if (list_empty(&qp->iowait)) { no_bufs_available() 1274 list_add_tail(&qp->iowait, &dev->piowait); no_bufs_available() 1545 qp = list_entry(list->next, struct qib_qp, iowait); qib_ib_piobufavail() 1546 list_del_init(&qp->iowait); qib_ib_piobufavail()
|
H A D | qib_sdma.c | 696 if (list_empty(&qp->iowait)) { qib_sdma_verbs_send() 702 list_add_tail(&qp->iowait, &dev->dmawait); qib_sdma_verbs_send()
|
H A D | qib_verbs.h | 529 struct list_head iowait; /* link for wait PIO buf */ member in struct:qib_qp
|
/linux-4.4.14/kernel/time/ |
H A D | tick-sched.c | 518 * get_cpu_iowait_time_us - get the total iowait time of a cpu 523 * Return the cummulative iowait time (since boot) for a given 534 ktime_t now, iowait; get_cpu_iowait_time_us() local 542 iowait = ts->iowait_sleeptime; get_cpu_iowait_time_us() 547 iowait = ktime_add(ts->iowait_sleeptime, delta); get_cpu_iowait_time_us() 549 iowait = ts->iowait_sleeptime; get_cpu_iowait_time_us() 553 return ktime_to_us(iowait); get_cpu_iowait_time_us()
|
/linux-4.4.14/drivers/cpuidle/governors/ |
H A D | menu.c | 115 * decision, while the iowait value gives a cpu local instantanious input. 116 * The iowait factor may look low, but realize that this is also already 150 * E(duration)|iowait which_bucket()
|
/linux-4.4.14/include/trace/events/ |
H A D | sched.h | 355 * including iowait, see below). 362 * Tracepoint for accounting iowait time (time the task is not runnable
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | cpufreq_governor.c | 77 * the iowait time to the cpu idle time. dbs_check_cpu()
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
H A D | spu_base.c | 635 "user", "system", "iowait", "idle"
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
H A D | file.c | 2280 "user", "system", "iowait", "loaded"
|
/linux-4.4.14/fs/ |
H A D | fs-writeback.c | 1231 * avoid spinning on the CPU (100% iowait) requeue_inode()
|