Home
last modified time | relevance | path

Searched refs:VB2_MEMORY_MMAP (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/include/media/
Dvideobuf2-core.h42 VB2_MEMORY_MMAP = 1, enumerator
653 return q->allow_cache_hints && q->memory == VB2_MEMORY_MMAP; in vb2_queue_allows_cache_hints()
/Linux-v5.15/drivers/media/common/videobuf2/
Dvideobuf2-core.c437 if (memory == VB2_MEMORY_MMAP) { in __vb2_queue_alloc()
485 if (q->memory == VB2_MEMORY_MMAP) in __vb2_free_mem()
692 if (memory != VB2_MEMORY_MMAP && memory != VB2_MEMORY_USERPTR && in vb2_verify_memory_type()
707 if (memory == VB2_MEMORY_MMAP && __verify_mmap_ops(q)) { in vb2_verify_memory_type()
760 if (debug && q->memory == VB2_MEMORY_MMAP && in vb2_core_reqbufs()
1363 case VB2_MEMORY_MMAP: in __buf_prepare()
2151 if (q->memory != VB2_MEMORY_MMAP) { in vb2_core_expbuf()
2222 if (q->memory != VB2_MEMORY_MMAP) { in vb2_mmap()
2308 if (q->memory != VB2_MEMORY_MMAP) { in vb2_get_unmapped_area()
2576 fileio->memory = VB2_MEMORY_MMAP; in __vb2_init_fileio()
Dvideobuf2-v4l2.c550 if (q->memory == VB2_MEMORY_MMAP) in __fill_v4l2_buffer()
566 if (q->memory == VB2_MEMORY_MMAP) in __fill_v4l2_buffer()
635 if (vb->vb2_queue->memory != VB2_MEMORY_MMAP) { in __fill_vb2_buffer()
901 if (WARN_ON(VB2_MEMORY_MMAP != (int)V4L2_MEMORY_MMAP) in vb2_queue_init_name()
/Linux-v5.15/drivers/media/dvb-core/
Ddvb_vb2.c345 ret = vb2_core_reqbufs(&ctx->vb_q, VB2_MEMORY_MMAP, &req->count); in dvb_vb2_reqbufs()