Searched refs:n_buffers (Results 1 – 3 of 3) sorted by relevance
63 unsigned int i, n_buffers;97 for (n_buffers = 0; n_buffers < req.count; ++n_buffers) {102 buf.index = n_buffers;106 buffers[n_buffers].length = buf.length;107 buffers[n_buffers].start = v4l2_mmap(NULL, buf.length,111 if (MAP_FAILED == buffers[n_buffers].start) {117 for (i = 0; i < n_buffers; ++i) {164 for (i = 0; i < n_buffers; ++i)
52 static unsigned int n_buffers;130 assert(buf.index < n_buffers);159 for (i = 0; i < n_buffers; ++i)164 assert(i < n_buffers);244 for (i = 0; i < n_buffers; ++i) {261 for (i = 0; i < n_buffers; ++i) {291 for (i = 0; i < n_buffers; ++i)297 for (i = 0; i < n_buffers; ++i)356 for (n_buffers = 0; n_buffers < req.count; ++n_buffers) {363 buf.index = n_buffers;[all …]
89 unsigned long n_buffers[LIST_SIZE]; member520 c->n_buffers[dirty]++; in __link_buffer()537 BUG_ON(!c->n_buffers[b->list_mode]); in __unlink_buffer()539 c->n_buffers[b->list_mode]--; in __unlink_buffer()555 BUG_ON(!c->n_buffers[b->list_mode]); in __relink_lru()557 c->n_buffers[b->list_mode]--; in __relink_lru()558 c->n_buffers[dirty]++; in __relink_lru()997 if (c->n_buffers[LIST_DIRTY] > c->n_buffers[LIST_CLEAN] * DM_BUFIO_WRITEBACK_RATIO) in __check_watermark()1305 if (buffers_processed < c->n_buffers[LIST_DIRTY]) in dm_bufio_write_dirty_buffers()1311 if (buffers_processed < c->n_buffers[LIST_DIRTY]) { in dm_bufio_write_dirty_buffers()[all …]