Lines Matching refs:p
62 netq_t *p; in netq_insert_node() local
67 p = (netq_t *)list_head(queue); in netq_insert_node()
68 while(p && p->t <= node->t && list_item_next(p)) in netq_insert_node()
69 p = list_item_next(p); in netq_insert_node()
71 if (p) in netq_insert_node()
72 list_insert(queue, p, node); in netq_insert_node()
88 netq_next(netq_t *p) { in netq_next() argument
89 if (!p) in netq_next()
92 return list_item_next(p); in netq_next()
96 netq_remove(list_t queue, netq_t *p) { in netq_remove() argument
97 if (!queue || !p) in netq_remove()
100 list_remove(queue, p); in netq_remove()
134 netq_t *p; in netq_delete_all() local
136 while((p = list_pop(queue))) in netq_delete_all()
137 netq_free_node(p); in netq_delete_all()