Lines Matching defs:r
35 static int ring_buf_init(struct ring_buf *r, size_t nbytes) in ring_buf_init()
46 static void ring_buf_destroy(struct ring_buf *r) in ring_buf_destroy()
62 static void ring_buf_head_tail(struct ring_buf *r, int idx, uint8_t **buf, size_t *len) in ring_buf_head_tail()
75 #define ring_buf_head(r, buf, len) ring_buf_head_tail((r), 0, (buf), (len)) argument
76 #define ring_buf_tail(r, buf, len) ring_buf_head_tail((r), 1, (buf), (len)) argument
82 static void ring_buf_push_pop(struct ring_buf *r, int idx, size_t num_bytes) in ring_buf_push_pop()
112 #define ring_buf_push(r, num_bytes) ring_buf_push_pop((r), 0, (num_bytes)) argument
113 #define ring_buf_pop(r, num_bytes) ring_buf_push_pop((r), 1, (num_bytes)) argument
115 static void ring_buf_clear(struct ring_buf *r) in ring_buf_clear()
120 static int ring_buf_resize(struct ring_buf *r, size_t nbytes) in ring_buf_resize()
789 long r; in BIO_new_bio_dgram_pair() local