Lines Matching refs:cnb
133 CNativeBuffer *cnb; in cnw_dequeue_buffer1() local
137 while ((cnb = get_front(&win->free_buffer_queue)) == 0) { in cnw_dequeue_buffer1()
141 *ffd = cnb->ffd; in cnw_dequeue_buffer1()
142 *buf = &cnb->base; in cnw_dequeue_buffer1()
143 cnb->ffd = -1; in cnw_dequeue_buffer1()
222 CNativeBuffer *cnb = from_abuffer(buf); in hwc_post() local
223 cnb->ffd = dl->releaseFenceFd; in hwc_post()
254 CNativeBuffer *cnb = from_abuffer(buf); in cnw_cancel_buffer1() local
256 cnb->ffd = ffd; in cnw_cancel_buffer1()
429 CNativeBuffer *cnb; in cnw_alloc() local
433 if (!(cnb = malloc(sizeof(CNativeBuffer)))) in cnw_alloc()
436 buf = &cnb->base; in cnw_alloc()
437 cnb->ffd = -1; in cnw_alloc()