Home
last modified time | relevance | path

Searched refs:ifq (Results 1 – 3 of 3) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_mbuf.h48 #define USB_IF_ENQUEUE(ifq, m) do { \ argument
50 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 { \ argument
59 (m) = (ifq)->ifq_head; \
61 if (((ifq)->ifq_head = (m)->usb_nextpkt) == NULL) { \
62 (ifq)->ifq_tail = NULL; \
[all …]
Dusb_mbuf.c39 usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, in usb_alloc_mbufs() argument
70 USB_IF_ENQUEUE(ifq, m_ptr); in usb_alloc_mbufs()
/third_party/FreeBSD/sys/dev/usb/net/
Dusb_ethernet.h58 #define IF_ENQUEUE(ifq, m) do { \ argument
59 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 { \ argument
68 (m) = (ifq)->ifq_head; \
70 if (((ifq)->ifq_head = (m)->next) == NULL) \
71 (ifq)->ifq_tail = NULL; \
[all …]