Lines Matching refs:netq_t
27 static inline netq_t *
29 return (netq_t *)malloc(sizeof(netq_t) + size); in netq_malloc_node()
33 netq_free_node(netq_t *node) { in netq_free_node()
42 MEMB(netq_storage, netq_t, NETQ_MAXCNT);
44 static inline netq_t *
46 return (netq_t *)memb_alloc(&netq_storage); in netq_malloc_node()
50 netq_free_node(netq_t *node) { in netq_free_node()
61 netq_insert_node(list_t queue, netq_t *node) { in netq_insert_node()
62 netq_t *p; in netq_insert_node()
67 p = (netq_t *)list_head(queue); in netq_insert_node()
79 netq_t *
87 netq_t *
88 netq_next(netq_t *p) { in netq_next()
96 netq_remove(list_t queue, netq_t *p) { in netq_remove()
103 netq_t *netq_pop_first(list_t queue) { in netq_pop_first()
110 netq_t *
112 netq_t *node; in netq_node_new()
121 memset(node, 0, sizeof(netq_t)); in netq_node_new()
127 netq_node_free(netq_t *node) { in netq_node_free()
134 netq_t *p; in netq_delete_all()