Searched refs:bip (Results 1 – 2 of 2) sorted by relevance
48 BipBuffer* bip = _free_bip_buffers; in bip_buffer_alloc() local49 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() argument66 bip->next = _free_bip_buffers; in bip_buffer_free()[all …]
71 struct buf_info *bip = list_entry(p, struct buf_info, head); in clean_bufs() local73 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() local131 bip->buf = buf; in add_buf()132 list_add_tail(&bip->head, &all_bufs); in add_buf()