Lines Matching refs:CNativeBuffer
49 typedef struct CNativeBuffer { struct
51 struct CNativeBuffer *next; argument
52 struct CNativeBuffer *prev; argument
54 } CNativeBuffer; argument
69 CNativeBuffer free_buffer_queue;
83 static inline CNativeBuffer *from_abuffer(aBuffer *buf) { in from_abuffer()
84 return (CNativeBuffer*) buf; in from_abuffer()
87 static CNativeBuffer *get_front(struct CNativeBuffer *queue) { in get_front()
88 CNativeBuffer *buf = queue->next; in get_front()
97 static void put_front(struct CNativeBuffer *queue, aBuffer *_buf) { in put_front()
98 struct CNativeBuffer *buf = (struct CNativeBuffer *) _buf; in put_front()
105 static void put_back(struct CNativeBuffer *queue, aBuffer *_buf) { in put_back()
106 struct CNativeBuffer *buf = (struct CNativeBuffer *) _buf; in put_back()
133 CNativeBuffer *cnb; in cnw_dequeue_buffer1()
222 CNativeBuffer *cnb = from_abuffer(buf); in hwc_post()
254 CNativeBuffer *cnb = from_abuffer(buf); in cnw_cancel_buffer1()
429 CNativeBuffer *cnb; in cnw_alloc()
433 if (!(cnb = malloc(sizeof(CNativeBuffer)))) in cnw_alloc()