Searched refs:fifo (Results 1 – 3 of 3) sorted by relevance
/net/dccp/ |
D | probe.c | 48 struct kfifo fifo; member 72 kfifo_in_locked(&dccpw.fifo, tbuf, len, &dccpw.lock); in printl() 113 kfifo_reset(&dccpw.fifo); in dccpprobe_open() 135 kfifo_len(&dccpw.fifo) != 0); in dccpprobe_read() 139 cnt = kfifo_out_locked(&dccpw.fifo, tbuf, len, &dccpw.lock); in dccpprobe_read() 161 if (kfifo_alloc(&dccpw.fifo, bufsize, GFP_KERNEL)) in dccpprobe_init() 181 kfifo_free(&dccpw.fifo); in dccpprobe_init() 188 kfifo_free(&dccpw.fifo); in dccpprobe_exit()
|
/net/sctp/ |
D | probe.c | 65 struct kfifo fifo; member 81 kfifo_in_locked(&sctpw.fifo, tbuf, len, &sctpw.lock); in printl() 87 kfifo_reset(&sctpw.fifo); in sctpprobe_open() 110 kfifo_len(&sctpw.fifo) != 0); in sctpprobe_read() 114 cnt = kfifo_out_locked(&sctpw.fifo, tbuf, len, &sctpw.lock); in sctpprobe_read() 213 if (kfifo_alloc(&sctpw.fifo, bufsize, GFP_KERNEL)) in sctpprobe_init() 231 kfifo_free(&sctpw.fifo); in sctpprobe_init() 237 kfifo_free(&sctpw.fifo); in sctpprobe_exit()
|
/net/openvswitch/ |
D | actions.c | 80 struct deferred_action fifo[DEFERRED_ACTION_FIFO_SIZE]; member 91 static void action_fifo_init(struct action_fifo *fifo) in action_fifo_init() argument 93 fifo->head = 0; in action_fifo_init() 94 fifo->tail = 0; in action_fifo_init() 97 static bool action_fifo_is_empty(const struct action_fifo *fifo) in action_fifo_is_empty() argument 99 return (fifo->head == fifo->tail); in action_fifo_is_empty() 102 static struct deferred_action *action_fifo_get(struct action_fifo *fifo) in action_fifo_get() argument 104 if (action_fifo_is_empty(fifo)) in action_fifo_get() 107 return &fifo->fifo[fifo->tail++]; in action_fifo_get() 110 static struct deferred_action *action_fifo_put(struct action_fifo *fifo) in action_fifo_put() argument [all …]
|