Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 3 of 3) sorted by relevance

/mm/
Dframe_vector.c34 unsigned int gup_flags, struct frame_vector *vec) in get_vaddr_frames() argument
45 if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) in get_vaddr_frames()
46 nr_frames = vec->nr_allocated; in get_vaddr_frames()
56 vec->got_ref = true; in get_vaddr_frames()
57 vec->is_pfns = false; in get_vaddr_frames()
59 gup_flags, (struct page **)(vec->ptrs), &locked); in get_vaddr_frames()
63 vec->got_ref = false; in get_vaddr_frames()
64 vec->is_pfns = true; in get_vaddr_frames()
66 unsigned long *nums = frame_vector_pfns(vec); in get_vaddr_frames()
92 vec->nr_frames = ret; in get_vaddr_frames()
[all …]
Dmincore.c27 unsigned char *vec = walk->private; in mincore_hugetlb() local
34 for (; addr != end; vec++, addr += PAGE_SIZE) in mincore_hugetlb()
35 *vec = present; in mincore_hugetlb()
36 walk->private = vec; in mincore_hugetlb()
85 struct vm_area_struct *vma, unsigned char *vec) in __mincore_unmapped_range() argument
95 vec[i] = mincore_page(vma->vm_file->f_mapping, pgoff); in __mincore_unmapped_range()
98 vec[i] = 0; in __mincore_unmapped_range()
117 unsigned char *vec = walk->private; in mincore_pte_range() local
121 memset(vec, 1, nr); in mincore_pte_range()
127 __mincore_unmapped_range(addr, end, vma, vec); in mincore_pte_range()
[all …]
Dbootmem.c188 unsigned long idx, vec; in free_all_bootmem_core() local
197 vec = ~map[idx / BITS_PER_LONG]; in free_all_bootmem_core()
200 vec >>= shift; in free_all_bootmem_core()
202 vec |= ~map[idx / BITS_PER_LONG + 1] << in free_all_bootmem_core()
210 if (IS_ALIGNED(start, BITS_PER_LONG) && vec == ~0UL) { in free_all_bootmem_core()
220 while (vec && cur != start) { in free_all_bootmem_core()
221 if (vec & 1) { in free_all_bootmem_core()
226 vec >>= 1; in free_all_bootmem_core()