Searched refs:ifq (Results 1 – 3 of 3) sorted by relevance
48 #define USB_IF_ENQUEUE(ifq, m) do { \ argument50 if ((ifq)->ifq_tail == NULL) \51 (ifq)->ifq_head = (m); \53 (ifq)->ifq_tail->usb_nextpkt = (m); \54 (ifq)->ifq_tail = (m); \55 (ifq)->ifq_len++; \58 #define USB_IF_DEQUEUE(ifq, m) do { \ argument59 (m) = (ifq)->ifq_head; \61 if (((ifq)->ifq_head = (m)->usb_nextpkt) == NULL) { \62 (ifq)->ifq_tail = NULL; \[all …]
39 usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, in usb_alloc_mbufs() argument70 USB_IF_ENQUEUE(ifq, m_ptr); in usb_alloc_mbufs()
58 #define IF_ENQUEUE(ifq, m) do { \ argument59 if ((ifq)->ifq_tail == NULL) \60 (ifq)->ifq_head = m; \62 (ifq)->ifq_tail->next = m; \63 (ifq)->ifq_tail = m; \64 (ifq)->ifq_len++; \67 #define IF_DEQUEUE(ifq, m) do { \ argument68 (m) = (ifq)->ifq_head; \70 if (((ifq)->ifq_head = (m)->next) == NULL) \71 (ifq)->ifq_tail = NULL; \[all …]