Lines Matching defs:buf

56 	struct ibuf	*buf;  in ibuf_open()  local
77 struct ibuf *buf; in ibuf_dynamic() local
100 ibuf_realloc(struct ibuf *buf, size_t len) in ibuf_realloc()
120 ibuf_reserve(struct ibuf *buf, size_t len) in ibuf_reserve()
139 ibuf_add(struct ibuf *buf, const void *data, size_t len) in ibuf_add()
151 ibuf_add_ibuf(struct ibuf *buf, const struct ibuf *from) in ibuf_add_ibuf()
158 ibuf_add_buf(struct ibuf *buf, const struct ibuf *from) in ibuf_add_buf()
164 ibuf_add_n8(struct ibuf *buf, uint64_t value) in ibuf_add_n8()
177 ibuf_add_n16(struct ibuf *buf, uint64_t value) in ibuf_add_n16()
190 ibuf_add_n32(struct ibuf *buf, uint64_t value) in ibuf_add_n32()
203 ibuf_add_n64(struct ibuf *buf, uint64_t value) in ibuf_add_n64()
210 ibuf_add_h16(struct ibuf *buf, uint64_t value) in ibuf_add_h16()
223 ibuf_add_h32(struct ibuf *buf, uint64_t value) in ibuf_add_h32()
236 ibuf_add_h64(struct ibuf *buf, uint64_t value) in ibuf_add_h64()
242 ibuf_add_zero(struct ibuf *buf, size_t len) in ibuf_add_zero()
253 ibuf_seek(struct ibuf *buf, size_t pos, size_t len) in ibuf_seek()
266 ibuf_set(struct ibuf *buf, size_t pos, const void *data, size_t len) in ibuf_set()
278 ibuf_set_n8(struct ibuf *buf, size_t pos, uint64_t value) in ibuf_set_n8()
291 ibuf_set_n16(struct ibuf *buf, size_t pos, uint64_t value) in ibuf_set_n16()
304 ibuf_set_n32(struct ibuf *buf, size_t pos, uint64_t value) in ibuf_set_n32()
317 ibuf_set_n64(struct ibuf *buf, size_t pos, uint64_t value) in ibuf_set_n64()
324 ibuf_set_h16(struct ibuf *buf, size_t pos, uint64_t value) in ibuf_set_h16()
337 ibuf_set_h32(struct ibuf *buf, size_t pos, uint64_t value) in ibuf_set_h32()
350 ibuf_set_h64(struct ibuf *buf, size_t pos, uint64_t value) in ibuf_set_h64()
356 ibuf_data(const struct ibuf *buf) in ibuf_data()
362 ibuf_size(const struct ibuf *buf) in ibuf_size()
368 ibuf_left(const struct ibuf *buf) in ibuf_left()
376 ibuf_truncate(struct ibuf *buf, size_t len) in ibuf_truncate()
391 ibuf_rewind(struct ibuf *buf) in ibuf_rewind()
397 ibuf_close(struct msgbuf *msgbuf, struct ibuf *buf) in ibuf_close()
403 ibuf_from_buffer(struct ibuf *buf, void *data, size_t len) in ibuf_from_buffer()
412 ibuf_from_ibuf(struct ibuf *buf, const struct ibuf *from) in ibuf_from_ibuf()
418 ibuf_get(struct ibuf *buf, void *data, size_t len) in ibuf_get()
431 ibuf_get_ibuf(struct ibuf *buf, size_t len, struct ibuf *new) in ibuf_get_ibuf()
444 ibuf_get_n8(struct ibuf *buf, uint8_t *value) in ibuf_get_n8()
450 ibuf_get_n16(struct ibuf *buf, uint16_t *value) in ibuf_get_n16()
460 ibuf_get_n32(struct ibuf *buf, uint32_t *value) in ibuf_get_n32()
470 ibuf_get_n64(struct ibuf *buf, uint64_t *value) in ibuf_get_n64()
480 ibuf_get_h16(struct ibuf *buf, uint16_t *value) in ibuf_get_h16()
486 ibuf_get_h32(struct ibuf *buf, uint32_t *value) in ibuf_get_h32()
492 ibuf_get_h64(struct ibuf *buf, uint64_t *value) in ibuf_get_h64()
498 ibuf_skip(struct ibuf *buf, size_t len) in ibuf_skip()
510 ibuf_free(struct ibuf *buf) in ibuf_free()
523 ibuf_fd_avail(struct ibuf *buf) in ibuf_fd_avail()
529 ibuf_fd_get(struct ibuf *buf) in ibuf_fd_get()
539 ibuf_fd_set(struct ibuf *buf, int fd) in ibuf_fd_set()
552 struct ibuf *buf; in ibuf_write() local
595 struct ibuf *buf, *next; in msgbuf_drain() local
613 struct ibuf *buf; in msgbuf_clear() local
623 struct ibuf *buf, *buf0 = NULL; in msgbuf_write() local
630 char buf[CMSG_SPACE(sizeof(int))]; in msgbuf_write() member
696 ibuf_enqueue(struct msgbuf *msgbuf, struct ibuf *buf) in ibuf_enqueue()
705 ibuf_dequeue(struct msgbuf *msgbuf, struct ibuf *buf) in ibuf_dequeue()