Searched refs:nr_frames (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/mm/ |
D | frame_vector.c | 34 int get_vaddr_frames(unsigned long start, unsigned int nr_frames, in get_vaddr_frames() argument 43 if (nr_frames == 0) in get_vaddr_frames() 46 if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) in get_vaddr_frames() 47 nr_frames = vec->nr_allocated; in get_vaddr_frames() 75 ret = pin_user_pages_locked(start, nr_frames, in get_vaddr_frames() 85 while (ret < nr_frames && start + PAGE_SIZE <= vma->vm_end) { in get_vaddr_frames() 99 if (ret >= nr_frames || start < vma->vm_end) in get_vaddr_frames() 109 vec->nr_frames = ret; in get_vaddr_frames() 138 unpin_user_pages(pages, vec->nr_frames); in put_vaddr_frames() 141 vec->nr_frames = 0; in put_vaddr_frames() [all …]
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
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()
|
/kernel/linux/linux-5.10/include/xen/interface/ |
D | grant_table.h | 310 uint32_t nr_frames; member 402 uint32_t nr_frames; member 459 uint32_t nr_frames; member
|
D | memory.h | 293 uint32_t nr_frames; member
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
D | gp_device_local.h | 107 int nr_frames; member
|
D | gp_device.c | 36 state->nr_frames = gp_device_reg_load(ID, in gp_device_get_state()
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | privcmd.c | 752 return __put_user(xdata.nr_frames, &udata->num); in privcmd_ioctl_mmap_resource() 790 xdata.nr_frames = kdata.num; in privcmd_ioctl_mmap_resource()
|
D | grant-table.c | 1331 getframes.nr_frames = nr_sframes; in gnttab_map_frames_v2() 1403 setup.nr_frames = nr_gframes; in gnttab_map()
|
/kernel/linux/linux-5.10/net/nfc/ |
D | llcp_core.c | 1001 int nr_frames = 0; in nfc_llcp_queue_i_frames() local 1021 nr_frames++; in nfc_llcp_queue_i_frames() 1024 return nr_frames; in nfc_llcp_queue_i_frames()
|
/kernel/linux/linux-5.10/include/linux/ |
D | mm.h | 1807 unsigned int nr_frames; /* Number of frames stored in ptrs array */ member 1815 struct frame_vector *frame_vector_create(unsigned int nr_frames); 1825 return vec->nr_frames; in frame_vector_count()
|