Lines Matching refs:dn_pipe
154 static void transmit_event(struct dn_pipe *pipe, struct mbuf **head,
158 static void ready_event_wfq(struct dn_pipe *p, struct mbuf **head,
259 static int config_pipe(struct dn_pipe *p);
274 static char *cp_pipe_to_64_user(struct dn_pipe *p, char *bp __ended_by(bp_end), char *bp_end);
276 static int cp_pipe_from_user_64( struct sockopt *sopt, struct dn_pipe *p );
280 static char *cp_pipe_to_32_user(struct dn_pipe *p, char *bp __ended_by(bp_end), char *bp_end);
282 static int cp_pipe_from_user_32( struct sockopt *sopt, struct dn_pipe *p );
320 cp_pipe_from_user_32( struct sockopt *sopt, struct dn_pipe *p ) in cp_pipe_from_user_32()
370 cp_pipe_from_user_64( struct sockopt *sopt, struct dn_pipe *p ) in cp_pipe_from_user_64()
526 cp_pipe_to_32_user(struct dn_pipe *p, char *bp0 __ended_by(bp_end), char *bp_end) in cp_pipe_to_32_user()
579 cp_pipe_to_64_user(struct dn_pipe *p, char *bp0 __ended_by(bp_end), char *bp_end) in cp_pipe_to_64_user()
866 transmit_event(struct dn_pipe *pipe, struct mbuf **head, struct mbuf **tail) in transmit_event()
904 heap_insert(&extract_heap, schedule_time, pipe, sizeof(struct dn_pipe)); in transmit_event()
930 struct dn_pipe *p, int len) in move_pkt()
960 struct dn_pipe *p = q->fs->pipe; in ready_event()
1025 ready_event_wfq(struct dn_pipe *p, struct mbuf **head, struct mbuf **tail) in ready_event_wfq()
1131 heap_insert(&wfq_ready_heap, curr_time + t, p, sizeof(struct dn_pipe)); in ready_event_wfq()
1167 struct dn_pipe *pe; in dummynet()
1196 struct dn_pipe *pipe = p; in dummynet()
1611 static __inline struct dn_pipe *
1614 struct dn_pipe *pipe; in locate_pipe()
1650 struct dn_pipe *pipe; in dummynet_io()
1978 purge_pipe(struct dn_pipe *pipe) in purge_pipe()
2001 struct dn_pipe *pipe, *pipe1; in dummynet_flush()
2026 SLIST_REMOVE(&pipehash[i], pipe, dn_pipe, next); in dummynet_flush()
2028 kfree_type(struct dn_pipe, pipe); in dummynet_flush()
2149 config_pipe(struct dn_pipe *p) in config_pipe()
2171 struct dn_pipe *x, *b; in config_pipe()
2180 x = kalloc_type(struct dn_pipe, Z_WAITOK | Z_ZERO); in config_pipe()
2212 kfree_type(struct dn_pipe, x); in config_pipe()
2222 kfree_type(struct dn_pipe, x); in config_pipe()
2324 pipe_remove_from_heap(struct dn_heap *h, struct dn_pipe *p) in pipe_remove_from_heap()
2346 struct dn_pipe *p; in dummynet_drain()
2380 delete_pipe(struct dn_pipe *p) in delete_pipe()
2389 struct dn_pipe *b; in delete_pipe()
2402 SLIST_REMOVE(&pipehash[HASH(b->pipe_nr)], b, dn_pipe, next); in delete_pipe()
2424 kfree_type(struct dn_pipe, b); in delete_pipe()
2606 struct dn_pipe *p; in dn_calc_size()
2667 struct dn_pipe *p; in dummynet_get()
2789 struct dn_pipe *p, tmp_pipe; in ip_dn_ctl()