nr_frames 94 arch/x86/xen/grant-table.c static int arch_gnttab_valloc(struct gnttab_vm_area *area, unsigned nr_frames) nr_frames 96 arch/x86/xen/grant-table.c area->ptes = kmalloc_array(nr_frames, sizeof(*area->ptes), GFP_KERNEL); nr_frames 100 arch/x86/xen/grant-table.c area->area = alloc_vm_area(PAGE_SIZE * nr_frames, area->ptes); nr_frames 1201 drivers/xen/grant-table.c getframes.nr_frames = nr_sframes; nr_frames 1273 drivers/xen/grant-table.c setup.nr_frames = nr_gframes; nr_frames 783 drivers/xen/privcmd.c xdata.nr_frames = kdata.num; nr_frames 1554 include/linux/mm.h unsigned int nr_frames; /* Number of frames stored in ptrs array */ nr_frames 1562 include/linux/mm.h struct frame_vector *frame_vector_create(unsigned int nr_frames); nr_frames 1572 include/linux/mm.h return vec->nr_frames; nr_frames 310 include/xen/interface/grant_table.h uint32_t nr_frames; nr_frames 402 include/xen/interface/grant_table.h uint32_t nr_frames; nr_frames 459 include/xen/interface/grant_table.h uint32_t nr_frames; nr_frames 293 include/xen/interface/memory.h uint32_t nr_frames; nr_frames 34 mm/frame_vector.c int get_vaddr_frames(unsigned long start, unsigned int nr_frames, nr_frames 43 mm/frame_vector.c if (nr_frames == 0) nr_frames 46 mm/frame_vector.c if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) nr_frames 47 mm/frame_vector.c nr_frames = vec->nr_allocated; nr_frames 75 mm/frame_vector.c ret = get_user_pages_locked(start, nr_frames, nr_frames 85 mm/frame_vector.c while (ret < nr_frames && start + PAGE_SIZE <= vma->vm_end) { nr_frames 99 mm/frame_vector.c if (ret >= nr_frames || start < vma->vm_end) nr_frames 109 mm/frame_vector.c vec->nr_frames = ret; nr_frames 138 mm/frame_vector.c for (i = 0; i < vec->nr_frames; i++) nr_frames 142 mm/frame_vector.c vec->nr_frames = 0; nr_frames 163 mm/frame_vector.c for (i = 0; i < vec->nr_frames; i++) nr_frames 167 mm/frame_vector.c for (i = 0; i < vec->nr_frames; i++) nr_frames 190 mm/frame_vector.c for (i = 0; i < vec->nr_frames; i++) nr_frames 203 mm/frame_vector.c struct frame_vector *frame_vector_create(unsigned int nr_frames) nr_frames 206 mm/frame_vector.c int size = sizeof(struct frame_vector) + sizeof(void *) * nr_frames; nr_frames 208 mm/frame_vector.c if (WARN_ON_ONCE(nr_frames == 0)) nr_frames 214 mm/frame_vector.c if (WARN_ON_ONCE(nr_frames > INT_MAX / sizeof(void *) / 2)) nr_frames 223 mm/frame_vector.c vec->nr_allocated = nr_frames; nr_frames 224 mm/frame_vector.c vec->nr_frames = 0; nr_frames 238 mm/frame_vector.c VM_BUG_ON(vec->nr_frames > 0); nr_frames 1001 net/nfc/llcp_core.c int nr_frames = 0; nr_frames 1021 net/nfc/llcp_core.c nr_frames++; nr_frames 1024 net/nfc/llcp_core.c return nr_frames;