Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dframe_vector.c34 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()
73 ret = get_user_pages_locked(start, nr_frames, in get_vaddr_frames()
83 while (ret < nr_frames && start + PAGE_SIZE <= vma->vm_end) { in get_vaddr_frames()
97 if (ret >= nr_frames || start < vma->vm_end) in get_vaddr_frames()
107 vec->nr_frames = ret; in get_vaddr_frames()
136 for (i = 0; i < vec->nr_frames; i++) in put_vaddr_frames()
140 vec->nr_frames = 0; in put_vaddr_frames()
[all …]
/Linux-v4.19/arch/x86/xen/
Dgrant-table.c117 static int arch_gnttab_valloc(struct gnttab_vm_area *area, unsigned nr_frames) in arch_gnttab_valloc() argument
119 area->ptes = kmalloc_array(nr_frames, sizeof(*area->ptes), GFP_KERNEL); in arch_gnttab_valloc()
123 area->area = alloc_vm_area(PAGE_SIZE * nr_frames, area->ptes); in arch_gnttab_valloc()
/Linux-v4.19/include/xen/interface/
Dgrant_table.h310 uint32_t nr_frames; member
402 uint32_t nr_frames; member
459 uint32_t nr_frames; member
Dmemory.h299 uint32_t nr_frames; member
/Linux-v4.19/net/nfc/
Dllcp_core.c997 int nr_frames = 0; in nfc_llcp_queue_i_frames() local
1017 nr_frames++; in nfc_llcp_queue_i_frames()
1020 return nr_frames; in nfc_llcp_queue_i_frames()
/Linux-v4.19/drivers/xen/
Dgrant-table.c1201 getframes.nr_frames = nr_sframes; in gnttab_map_frames_v2()
1273 setup.nr_frames = nr_gframes; in gnttab_map()
Dprivcmd.c801 xdata.nr_frames = kdata.num; in privcmd_ioctl_mmap_resource()
/Linux-v4.19/include/linux/
Dmm.h1480 unsigned int nr_frames; /* Number of frames stored in ptrs array */ member
1488 struct frame_vector *frame_vector_create(unsigned int nr_frames);
1498 return vec->nr_frames; in frame_vector_count()