Home
last modified time | relevance | path

Searched refs:bip (Results 1 – 2 of 2) sorted by relevance

/external/qemu/
Dcharpipe.c48 BipBuffer* bip = _free_bip_buffers; in bip_buffer_alloc() local
49 if (bip != NULL) { in bip_buffer_alloc()
50 _free_bip_buffers = bip->next; in bip_buffer_alloc()
52 bip = malloc( sizeof(*bip) ); in bip_buffer_alloc()
53 if (bip == NULL) { in bip_buffer_alloc()
58 bip->next = NULL; in bip_buffer_alloc()
59 cbuffer_reset( bip->cb, bip->buff, sizeof(bip->buff) ); in bip_buffer_alloc()
60 return bip; in bip_buffer_alloc()
64 bip_buffer_free( BipBuffer* bip ) in bip_buffer_free() argument
66 bip->next = _free_bip_buffers; in bip_buffer_free()
[all …]
/external/blktrace/btt/
Dmisc.c71 struct buf_info *bip = list_entry(p, struct buf_info, head); in clean_bufs() local
73 list_del(&bip->head); in clean_bufs()
74 free(bip->buf); in clean_bufs()
75 free(bip); in clean_bufs()
129 struct buf_info *bip = malloc(sizeof(*bip)); in add_buf() local
131 bip->buf = buf; in add_buf()
132 list_add_tail(&bip->head, &all_bufs); in add_buf()