Home
last modified time | relevance | path

Searched refs:nr_frames (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/media/common/videobuf2/
Dframe_vector.c35 int get_vaddr_frames(unsigned long start, unsigned int nr_frames, in get_vaddr_frames() argument
40 if (nr_frames == 0) in get_vaddr_frames()
43 if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) in get_vaddr_frames()
44 nr_frames = vec->nr_allocated; in get_vaddr_frames()
48 ret = pin_user_pages_fast(start, nr_frames, in get_vaddr_frames()
53 vec->nr_frames = ret; in get_vaddr_frames()
60 vec->nr_frames = 0; in get_vaddr_frames()
89 unpin_user_pages(pages, vec->nr_frames); in put_vaddr_frames()
92 vec->nr_frames = 0; in put_vaddr_frames()
113 for (i = 0; i < vec->nr_frames; i++) in frame_vector_to_pages()
[all …]
/linux-6.1.9/include/media/
Dframe_vector.h8 unsigned int nr_frames; /* Number of frames stored in ptrs array */ member
16 struct frame_vector *frame_vector_create(unsigned int nr_frames);
26 return vec->nr_frames; in frame_vector_count()
/linux-6.1.9/arch/x86/xen/
Dgrant-table.c102 static int arch_gnttab_valloc(struct gnttab_vm_area *area, unsigned nr_frames) in arch_gnttab_valloc() argument
104 area->ptes = kmalloc_array(nr_frames, sizeof(*area->ptes), GFP_KERNEL); in arch_gnttab_valloc()
107 area->area = get_vm_area(PAGE_SIZE * nr_frames, VM_IOREMAP); in arch_gnttab_valloc()
111 PAGE_SIZE * nr_frames, gnttab_apply, area)) in arch_gnttab_valloc()
/linux-6.1.9/include/xen/interface/
Dgrant_table.h327 uint32_t nr_frames; member
416 uint32_t nr_frames; member
469 uint32_t nr_frames; member
Dmemory.h293 uint32_t nr_frames; member
/linux-6.1.9/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dgp_device_local.h107 int nr_frames; member
Dgp_device.c36 state->nr_frames = gp_device_reg_load(ID, in gp_device_get_state()
/linux-6.1.9/drivers/xen/
Dprivcmd.c752 return __put_user(xdata.nr_frames, &udata->num); in privcmd_ioctl_mmap_resource()
790 xdata.nr_frames = kdata.num; in privcmd_ioctl_mmap_resource()
Dgrant-table.c1397 getframes.nr_frames = nr_sframes; in gnttab_map_frames_v2()
1469 setup.nr_frames = nr_gframes; in gnttab_map()
/linux-6.1.9/net/nfc/
Dllcp_core.c994 int nr_frames = 0; in nfc_llcp_queue_i_frames() local
1014 nr_frames++; in nfc_llcp_queue_i_frames()
1017 return nr_frames; in nfc_llcp_queue_i_frames()