Lines Matching refs:abuf
29 struct abuf { struct
35 static inline void *abuf_data(const struct abuf *abuf) in abuf_data() argument
37 return abuf->data; in abuf_data()
40 static inline size_t abuf_size(const struct abuf *abuf) in abuf_size() argument
42 return abuf->size; in abuf_size()
58 void abuf_set(struct abuf *abuf, void *data, size_t size);
72 void abuf_map_sysmem(struct abuf *abuf, ulong addr, size_t size);
91 bool abuf_realloc(struct abuf *abuf, size_t new_size);
115 void *abuf_uninit_move(struct abuf *abuf, size_t *sizep);
126 void abuf_init_move(struct abuf *abuf, void *data, size_t size);
137 void abuf_init_set(struct abuf *abuf, void *data, size_t size);
146 void abuf_uninit(struct abuf *abuf);
157 void abuf_init(struct abuf *abuf);