Home
last modified time | relevance | path

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

/Linux-v5.4/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()
75 ret = get_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 for (i = 0; i < vec->nr_frames; i++) in put_vaddr_frames()
142 vec->nr_frames = 0; in put_vaddr_frames()
[all …]
/Linux-v5.4/arch/x86/xen/
Dgrant-table.c94 static int arch_gnttab_valloc(struct gnttab_vm_area *area, unsigned nr_frames) in arch_gnttab_valloc() argument
96 area->ptes = kmalloc_array(nr_frames, sizeof(*area->ptes), GFP_KERNEL); in arch_gnttab_valloc()
100 area->area = alloc_vm_area(PAGE_SIZE * nr_frames, area->ptes); in arch_gnttab_valloc()
/Linux-v5.4/include/xen/interface/
Dgrant_table.h310 uint32_t nr_frames; member
402 uint32_t nr_frames; member
459 uint32_t nr_frames; member
Dmemory.h293 uint32_t nr_frames; member
/Linux-v5.4/net/nfc/
Dllcp_core.c1001 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()
/Linux-v5.4/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.c783 xdata.nr_frames = kdata.num; in privcmd_ioctl_mmap_resource()
/Linux-v5.4/include/linux/
Dmm.h1542 unsigned int nr_frames; /* Number of frames stored in ptrs array */ member
1550 struct frame_vector *frame_vector_create(unsigned int nr_frames);
1560 return vec->nr_frames; in frame_vector_count()