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

/linux-master/drivers/infiniband/hw/hfi1/
H A Diowait.h40 * @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 Diowait.c6 #include "iowait.h"
12 void iowait_set_flag(struct iowait *wait, u32 flag)
18 bool iowait_flag_set(struct iowait *wait, u32 flag)
23 inline void iowait_clear_flag(struct iowait *wait, u32 flag)
37 * This function initializes the iowait
41 void iowait_init(struct iowait *wait, u32 tx_limit,
49 void (*wakeup)(struct iowait *wait, int reason),
50 void (*sdma_drained)(struct iowait *wait),
51 void (*init_priority)(struct iowait *wait))
78 * iowait_cancel_work - cancel all work in iowait
[all...]
H A Dsdma_txreq.h60 struct iowait;
68 struct iowait *wait;
H A Dtrace_iowait.h10 #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 Dverbs_txreq.c35 struct iowait *wait;
38 wait = list_first_entry(&dev->txwait, struct iowait,
H A DMakefile24 iowait.o \
H A Dvnic.h37 * @wait - iowait structure
46 struct iowait wait;
H A Dipoib.h24 #include "iowait.h"
104 * @wait: iowait structure
116 struct iowait wait;
H A Duser_sdma.h13 #include "iowait.h"
93 struct iowait busy;
H A Dqp.c31 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)
501 static void iowait_sdma_drained(struct iowait *wait)
520 static void hfi1_init_priority(struct iowait *w)
H A Dverbs.h31 #include "iowait.h"
123 struct iowait s_iowait;
248 /* protect iowait lists */
273 static inline struct rvt_qp *iowait_to_qp(struct iowait *s_iowait)
H A Dvnic_sdma.c217 static void hfi1_vnic_sdma_wakeup(struct iowait *wait, int reason)
H A Dtrace_tx.h619 struct iowait *wait),
624 __field(struct iowait *, wait)
647 struct iowait *wait,
652 __field(struct iowait *, wait)
H A Dpio.c919 struct iowait *wait;
923 wait = list_first_entry(&wake_list, struct iowait, list);
1591 struct iowait *wait;
1595 wait = list_first_entry(list, struct iowait, list);
H A Dipoib_tx.c658 static void hfi1_ipoib_sdma_wakeup(struct iowait *wait, int reason)
672 struct iowait *wait = iowait_ioww_to_iow(ioww);
H A Dsdma.c19 #include "iowait.h"
327 struct iowait *wait = tx->wait;
380 struct iowait *w, *nw;
1725 struct iowait *wait, *nw, *twait;
1726 struct iowait *waits[SDMA_WAIT_BATCH_SIZE];
2345 * The call submits the tx into the ring. If a iowait structure is non-NULL
2351 * -EIOCBQUEUED - tx queued to iowait, -ECOMM bad sdma state
2417 * If the iowait structure is non-NULL and not equal to the iowait list
2430 * -EIOCBQUEUED - tx queued to iowait,
[all...]
H A Duser_sdma.c62 static void activate_packet_queue(struct iowait *wait, int reason);
96 static void activate_packet_queue(struct iowait *wait, int reason)
H A Dverbs.c560 struct iowait *wait;
566 wait = list_first_entry(list, struct iowait, list);
/linux-master/fs/proc/
H A Dstat.c43 u64 iowait, iowait_usecs = -1ULL; local
49 /* !NO_HZ or cpu offline so we can rely on cpustat.iowait */
50 iowait = kcs->cpustat[CPUTIME_IOWAIT];
52 iowait = iowait_usecs * NSEC_PER_USEC;
54 return iowait;
85 u64 user, nice, system, idle, iowait, irq, softirq, steal; local
92 user = nice = system = idle = iowait =
109 iowait += get_iowait_time(&kcpustat, i);
131 seq_put_decimal_ull(p, " ", nsec_to_clock_t(iowait));
150 iowait
[all...]
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_qp.c246 if (!list_empty(&priv->iowait) && !(qp->s_flags & RVT_S_BUSY)) {
248 list_del_init(&priv->iowait);
335 INIT_LIST_HEAD(&priv->iowait);
372 if (!list_empty(&priv->iowait))
373 list_del_init(&priv->iowait);
441 !list_empty(&priv->iowait),
H A Dqib_verbs.c372 priv = list_entry(list->next, struct qib_qp_priv, iowait);
374 list_del_init(&priv->iowait);
578 list_empty(&priv->iowait)) {
581 list_add_tail(&priv->iowait, &dev->txwait);
643 iowait);
645 list_del_init(&priv->iowait);
680 list_for_each_entry_safe(qpp, nqpp, &dev->dmawait, iowait) {
689 list_del_init(&qpp->iowait);
755 if (list_empty(&priv->iowait)) {
759 list_add_tail(&priv->iowait,
[all...]
H A Dqib_verbs.h118 struct list_head iowait; /* link for wait PIO buf */ member in struct:qib_qp_priv
H A Dqib_sdma.c656 if (list_empty(&priv->iowait)) {
662 list_add_tail(&priv->iowait, &dev->dmawait);
/linux-master/lib/
H A Dtest_lockup.c52 static bool iowait; variable
53 module_param(iowait, bool, 0400);
54 MODULE_PARM_DESC(iowait, "account sleep time as iowait");
363 if (iowait)
368 if (iowait)
560 iowait ? "iowait " : "",

Completed in 300 milliseconds