Searched refs:snd_queue (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/netgraph/ |
H A D | ng_source.c | 87 struct mbufq snd_queue; /* packets to send */ member 286 mbufq_init(&sc->snd_queue, 2048); in ng_source_constructor() 376 sc->stats.queueFrames = mbufq_len(&sc->snd_queue); in ng_source_rcvmsg() 570 error = mbufq_enqueue(&sc->snd_queue, m); in ng_source_rcvdata() 673 m = mbufq_dequeue(&sc->snd_queue); in ng_source_clr_data() 746 packets = mbufq_len(&sc->snd_queue); in ng_source_intr() 790 m = mbufq_dequeue(&sc->snd_queue); in ng_source_send() 798 mbufq_prepend(&sc->snd_queue, m); in ng_source_send() 800 (void)mbufq_enqueue(&sc->snd_queue, m); in ng_source_send() 810 error = mbufq_enqueue(&sc->snd_queue, m); in ng_source_send()
|
/freebsd/sys/dev/vnic/ |
H A D | nicvf_queues.c | 99 static void nicvf_free_snd_queue(struct nicvf *, struct snd_queue *); 102 static void nicvf_sq_enable(struct nicvf *, struct snd_queue *, int); 103 static void nicvf_put_sq_desc(struct snd_queue *, int); 106 static void nicvf_sq_free_used_descs(struct nicvf *, struct snd_queue *, int); 108 static int nicvf_tx_mbuf_locked(struct snd_queue *, struct mbuf **); 699 struct snd_queue *sq; in nicvf_snd_pkt_handler() 739 struct snd_queue *sq = &qs->sq[cq_idx]; in nicvf_cq_intr_handler() 983 nicvf_xmit_locked(struct snd_queue *sq) in nicvf_xmit_locked() 1017 struct snd_queue *sq = (struct snd_queue *)arg; in nicvf_snd_task() 1043 nicvf_init_snd_queue(struct nicvf *nic, struct snd_queue *sq, int q_len, in nicvf_init_snd_queue() [all …]
|
H A D | nicvf_queues.h | 310 struct snd_queue { struct 351 struct snd_queue sq[MAX_SND_QUEUES_PER_QS]; argument 390 int nicvf_xmit_locked(struct snd_queue *sq);
|
H A D | nicvf_main.c | 635 struct snd_queue *sq; in nicvf_if_transmit() 691 struct snd_queue *sq; in nicvf_if_qflush()
|