Searched refs:n_buffers (Results 1 – 4 of 4) sorted by relevance
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) {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;369 buffers[n_buffers].start =[all …]
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)
81 u32 n_buffers; member116 u64 n_buffers; member153 buffers_size = n_buffers * sizeof(u64); in bpool_init()168 bp->params.n_buffers = n_buffers; in bpool_init()180 bp->n_buffers = n_buffers; in bpool_init()191 for (i = 0; i < n_buffers; i++) in bpool_init()203 n_buffers * params->buffer_size, in bpool_init()332 return (n_buffers_cons < n_buffers) ? in bcache_cons_check()334 n_buffers; in bcache_cons_check()355 return n_buffers; in bcache_cons_check()[all …]
86 unsigned long n_buffers[LIST_SIZE]; member507 c->n_buffers[dirty]++; in __link_buffer()526 c->n_buffers[b->list_mode]--; in __unlink_buffer()544 c->n_buffers[b->list_mode]--; in __relink_lru()545 c->n_buffers[dirty]++; in __relink_lru()977 if (c->n_buffers[LIST_DIRTY] > c->n_buffers[LIST_CLEAN] * DM_BUFIO_WRITEBACK_RATIO) in __check_watermark()1656 c->n_buffers[LIST_DIRTY]; in __scan()1753 c->n_buffers[i] = 0; in dm_bufio_client_create()1872 if (c->n_buffers[i]) in dm_bufio_client_destroy()1876 BUG_ON(c->n_buffers[i]); in dm_bufio_client_destroy()[all …]
Completed in 14 milliseconds