Searched refs:nr_frames (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/media/common/videobuf2/ |
H A D | frame_vector.c | 16 * @nr_frames: number of pages / pfns from start to map 19 * It should have space for at least nr_frames entries. 30 * @nr_frames. In particular we stop mapping if there are more vmas of 40 int get_vaddr_frames(unsigned long start, unsigned int nr_frames, bool write, in get_vaddr_frames() argument 46 if (nr_frames == 0) in get_vaddr_frames() 49 if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) in get_vaddr_frames() 50 nr_frames = vec->nr_allocated; in get_vaddr_frames() 57 ret = pin_user_pages_fast(start, nr_frames, gup_flags, in get_vaddr_frames() 61 vec->nr_frames = ret; in get_vaddr_frames() 66 vec->nr_frames in get_vaddr_frames() 159 frame_vector_create(unsigned int nr_frames) frame_vector_create() argument [all...] |
/linux/include/media/ |
H A D | frame_vector.h | 8 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/arch/x86/xen/ |
H A D | grant-table.c | 102 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/include/xen/interface/ |
H A D | grant_table.h | 317 * <nr_frames> pages. The frame addresses are written to the <frame_list>. 318 * Only <nr_frames> addresses are written, even if the table is larger. 327 uint32_t nr_frames; member 416 uint32_t nr_frames; member 460 * <nr_frames> specify the size of vector <frame_list>. 462 * Only <nr_frames> addresses are returned, even if the table is larger. 469 uint32_t nr_frames; member
|
H A D | memory.h | 293 uint32_t nr_frames; member 306 * is ignored if nr_frames is 0. 322 * This parameter may be NULL if nr_frames is 0.
|
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | gp_device_local.h | 98 int nr_frames; member
|
H A D | gp_device.c | 27 state->nr_frames = gp_device_reg_load(ID, in gp_device_get_state()
|
/linux/net/nfc/ |
H A D | llcp_core.c | 1040 int nr_frames = 0; in nfc_llcp_queue_i_frames() local 1060 nr_frames++; in nfc_llcp_queue_i_frames() 1063 return nr_frames; in nfc_llcp_queue_i_frames()
|
/linux/drivers/xen/ |
H A D | privcmd.c | 765 return __put_user(xdata.nr_frames, &udata->num); in privcmd_ioctl_mmap_resource() 804 xdata.nr_frames = kdata.num; in privcmd_ioctl_mmap_resource()
|