/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | iowait.h | 81 * @iow: the parent iowait structure 90 struct iowait; 94 struct iowait *iow; 123 * the embedded iowait and its containing struct 139 struct iowait { struct 148 void (*wakeup)(struct iowait *wait, int reason); 149 void (*sdma_drained)(struct iowait *wait); 150 void (*init_priority)(struct iowait *wait); 167 void iowait_set_flag(struct iowait *wait, u32 flag); 168 bool iowait_flag_set(struct iowait *wai [all...] |
H A D | iowait.c | 6 #include "iowait.h" 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() 37 * This function initializes the iowait 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() 78 * iowait_cancel_work - cancel all work in iowait [all...] |
H A D | trace_iowait.h | 10 #include "iowait.h" 17 TP_PROTO(struct iowait *wait, u32 flag), 32 "iowait 0x%lx qp %u flags 0x%lx flag 0x%x", 41 TP_PROTO(struct iowait *wait, u32 flag), 45 TP_PROTO(struct iowait *wait, u32 flag),
|
H A D | sdma_txreq.h | 102 struct iowait; 110 struct iowait *wait;
|
H A 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()
|
H A D | qp.c | 73 static void iowait_wakeup(struct iowait *wait, int reason); 74 static void iowait_sdma_drained(struct iowait *wait); 534 static void iowait_wakeup(struct iowait *wait, int reason) in iowait_wakeup() 542 static void iowait_sdma_drained(struct iowait *wait) in iowait_sdma_drained() 561 static void hfi1_init_priority(struct iowait *w) in hfi1_init_priority()
|
H A D | Makefile | 24 iowait.o \
|
H A D | vnic.h | 79 * @wait - iowait structure 88 struct iowait wait;
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | iowait.h | 40 * @iow: the parent iowait structure 49 struct iowait; 53 struct iowait *iow; 82 * the embedded iowait and its containing struct 98 struct iowait { struct 107 void (*wakeup)(struct iowait *wait, int reason); 108 void (*sdma_drained)(struct iowait *wait); 109 void (*init_priority)(struct iowait *wait); 126 void iowait_set_flag(struct iowait *wait, u32 flag); 127 bool iowait_flag_set(struct iowait *wai [all...] |
H A D | iowait.c | 6 #include "iowait.h" 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() 37 * This function initializes the iowait 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() 78 * iowait_cancel_work - cancel all work in iowait [all...] |
H A D | trace_iowait.h | 10 #include "iowait.h" 17 TP_PROTO(struct iowait *wait, u32 flag), 32 "iowait 0x%lx qp %u flags 0x%lx flag 0x%x", 41 TP_PROTO(struct iowait *wait, u32 flag), 45 TP_PROTO(struct iowait *wait, u32 flag),
|
H A D | sdma_txreq.h | 60 struct iowait; 68 struct iowait *wait;
|
H A D | verbs_txreq.c | 35 struct iowait *wait; in hfi1_put_txreq() 38 wait = list_first_entry(&dev->txwait, struct iowait, in hfi1_put_txreq()
|
H A D | qp.c | 31 static void iowait_wakeup(struct iowait *wait, int reason); 32 static void iowait_sdma_drained(struct iowait *wait); 493 static void iowait_wakeup(struct iowait *wait, int reason) in iowait_wakeup() 501 static void iowait_sdma_drained(struct iowait *wait) in iowait_sdma_drained() 520 static void hfi1_init_priority(struct iowait *w) in hfi1_init_priority()
|
H A D | vnic.h | 37 * @wait - iowait structure 46 struct iowait wait;
|
H A D | Makefile | 24 iowait.o \
|
/kernel/linux/linux-5.10/fs/proc/ |
H A 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 72 /* !NO_HZ or cpu offline so we can rely on cpustat.iowait */ in get_iowait_time() 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, ir in show_stat() local [all...] |
/kernel/linux/linux-6.6/fs/proc/ |
H A D | stat.c | 43 u64 iowait, iowait_usecs = -1ULL; in get_iowait_time() local 49 /* !NO_HZ or cpu offline so we can rely on cpustat.iowait */ in get_iowait_time() 50 iowait = kcs->cpustat[CPUTIME_IOWAIT]; in get_iowait_time() 52 iowait = iowait_usecs * NSEC_PER_USEC; in get_iowait_time() 54 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() 109 iowait += get_iowait_time(&kcpustat, i); in show_stat() 131 seq_put_decimal_ull(p, " ", nsec_to_clock_t(iowait)); in show_stat() 150 iowait in show_stat() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A 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()
|
H A D | qib_verbs.c | 372 priv = list_entry(list->next, struct qib_qp_priv, iowait); in mem_timer() 374 list_del_init(&priv->iowait); in mem_timer() 578 list_empty(&priv->iowait)) { in __get_txreq() 581 list_add_tail(&priv->iowait, &dev->txwait); in __get_txreq() 643 iowait); in qib_put_txreq() 645 list_del_init(&priv->iowait); in qib_put_txreq() 680 list_for_each_entry_safe(qpp, nqpp, &dev->dmawait, iowait) { in qib_verbs_sdma_desc_avail() 689 list_del_init(&qpp->iowait); in qib_verbs_sdma_desc_avail() 755 if (list_empty(&priv->iowait)) { in wait_kmem() 759 list_add_tail(&priv->iowait, in wait_kmem() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | test_lockup.c | 52 static bool iowait; variable 53 module_param(iowait, bool, 0400); 54 MODULE_PARM_DESC(iowait, "account sleep time as iowait"); 363 if (iowait) in test_lockup() 368 if (iowait) in test_lockup() 544 iowait ? "iowait " : "", in test_lockup_init()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A 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()
|
H A D | qib_verbs.c | 372 priv = list_entry(list->next, struct qib_qp_priv, iowait); in mem_timer() 374 list_del_init(&priv->iowait); in mem_timer() 578 list_empty(&priv->iowait)) { in __get_txreq() 581 list_add_tail(&priv->iowait, &dev->txwait); in __get_txreq() 643 iowait); in qib_put_txreq() 645 list_del_init(&priv->iowait); in qib_put_txreq() 680 list_for_each_entry_safe(qpp, nqpp, &dev->dmawait, iowait) { in qib_verbs_sdma_desc_avail() 689 list_del_init(&qpp->iowait); in qib_verbs_sdma_desc_avail() 755 if (list_empty(&priv->iowait)) { in wait_kmem() 759 list_add_tail(&priv->iowait, in wait_kmem() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_lockup.c | 52 static bool iowait; variable 53 module_param(iowait, bool, 0400); 54 MODULE_PARM_DESC(iowait, "account sleep time as iowait"); 363 if (iowait) in test_lockup() 368 if (iowait) in test_lockup() 560 iowait ? "iowait " : "", in test_lockup_init()
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | tick-sched.c | 674 * get_cpu_iowait_time_us - get the total iowait time of a CPU 679 * Return the cumulative iowait time (since boot) for a given 690 ktime_t now, iowait; in get_cpu_iowait_time_us() local 698 iowait = ts->iowait_sleeptime; in get_cpu_iowait_time_us() 703 iowait = ktime_add(ts->iowait_sleeptime, delta); in get_cpu_iowait_time_us() 705 iowait = ts->iowait_sleeptime; in get_cpu_iowait_time_us() 709 return ktime_to_us(iowait); in get_cpu_iowait_time_us()
|