Lines Matching refs:xpt_quehead
200 typedef struct xpt_quehead { struct
201 struct xpt_quehead *flink; /* Forward pointer */ argument
202 struct xpt_quehead *blink; /* Backward pointer */ argument
209 static inline void __xpt_que_add(struct xpt_quehead * new, in __xpt_que_add()
210 struct xpt_quehead * blink, in __xpt_que_add()
211 struct xpt_quehead * flink) in __xpt_que_add()
219 static inline void __xpt_que_del(struct xpt_quehead * blink, in __xpt_que_del()
220 struct xpt_quehead * flink) in __xpt_que_del()
226 static inline int xpt_que_empty(struct xpt_quehead *head) in xpt_que_empty()
231 static inline void xpt_que_splice(struct xpt_quehead *list, in xpt_que_splice()
232 struct xpt_quehead *head) in xpt_que_splice()
234 struct xpt_quehead *first = list->flink; in xpt_que_splice()
237 struct xpt_quehead *last = list->blink; in xpt_que_splice()
238 struct xpt_quehead *at = head->flink; in xpt_que_splice()
258 static inline struct xpt_quehead *xpt_remque_head(struct xpt_quehead *head) in xpt_remque_head()
260 struct xpt_quehead *elem = head->flink; in xpt_remque_head()
271 static inline struct xpt_quehead *xpt_remque_tail(struct xpt_quehead *head) in xpt_remque_tail()
273 struct xpt_quehead *elem = head->blink; in xpt_remque_tail()