Lines Matching refs:iowait

40  * @iow: the parent iowait structure
49 struct iowait;
53 struct iowait *iow;
82 * the embedded iowait and its containing struct
98 struct iowait {
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 *wait, u32 flag);
128 void iowait_clear_flag(struct iowait *wait, u32 flag);
130 void iowait_init(struct iowait *wait, u32 tx_limit,
138 void (*wakeup)(struct iowait *wait, int reason),
139 void (*sdma_drained)(struct iowait *wait),
140 void (*init_priority)(struct iowait *wait));
148 static inline bool iowait_schedule(struct iowait *wait,
156 * @wait: the iowait structure
160 static inline bool iowait_tid_schedule(struct iowait *wait,
169 * @wait: iowait structure
171 * This will delay until the iowait sdmas have
174 static inline void iowait_sdma_drain(struct iowait *wait)
182 * @wait: iowait structure
185 static inline int iowait_sdma_pending(struct iowait *wait)
192 * @wait: iowait structure
194 static inline void iowait_sdma_inc(struct iowait *wait)
201 * @wait: iowait structure
203 static inline void iowait_sdma_add(struct iowait *wait, int count)
210 * @wait: iowait structure
212 static inline int iowait_sdma_dec(struct iowait *wait)
222 * @wait: iowait structure
224 * This will delay until the iowait pios have
227 static inline void iowait_pio_drain(struct iowait *wait)
237 * @wait: iowait structure
240 static inline int iowait_pio_pending(struct iowait *wait)
247 * @wait: iowait structure
249 static inline void iowait_pio_inc(struct iowait *wait)
256 * @wait: iowait structure
258 static inline int iowait_pio_dec(struct iowait *wait)
268 * @wait: iowait structure
272 static inline void iowait_drain_wakeup(struct iowait *wait)
281 * iowait_get_txhead() - get packet off of iowait list
314 static inline u32 iowait_get_all_desc(struct iowait *w)
335 static inline void iowait_update_all_priority(struct iowait *w)
341 static inline void iowait_init_priority(struct iowait *w)
348 static inline void iowait_get_priority(struct iowait *w)
355 * iowait_queue - Put the iowait on a wait queue
357 * @w: the iowait struct
360 * This function is called to insert an iowait struct into a
364 static inline void iowait_queue(bool pkts_sent, struct iowait *w,
368 * To play fair, insert the iowait at the tail of the wait queue if it
387 * @w: the iowait struct
392 static inline void iowait_starve_clear(bool pkts_sent, struct iowait *w)
399 uint iowait_priority_update_top(struct iowait *w,
400 struct iowait *top,
427 * @w: the iowait struct
429 static inline struct iowait_work *iowait_get_tid_work(struct iowait *w)
436 * @w: the iowait struct
438 static inline struct iowait_work *iowait_get_ib_work(struct iowait *w)
444 * iowait_ioww_to_iow - return iowait given iowait_work
447 static inline struct iowait *iowait_ioww_to_iow(struct iowait_work *w)
454 void iowait_cancel_work(struct iowait *w);