Lines Matching full:vec
30 unsigned char *vec = walk->private; in mincore_hugetlb() local
37 for (; addr != end; vec++, addr += PAGE_SIZE) in mincore_hugetlb()
38 *vec = present; in mincore_hugetlb()
39 walk->private = vec; in mincore_hugetlb()
73 struct vm_area_struct *vma, unsigned char *vec) in __mincore_unmapped_range() argument
83 vec[i] = mincore_page(vma->vm_file->f_mapping, pgoff); in __mincore_unmapped_range()
86 vec[i] = 0; in __mincore_unmapped_range()
106 unsigned char *vec = walk->private; in mincore_pte_range() local
111 memset(vec, 1, nr); in mincore_pte_range()
127 vma, vec); in mincore_pte_range()
129 *vec = 1; in mincore_pte_range()
138 *vec = 1; in mincore_pte_range()
141 *vec = mincore_page(swap_address_space(entry), in mincore_pte_range()
145 *vec = 1; in mincore_pte_range()
149 vec++; in mincore_pte_range()
187 static long do_mincore(unsigned long addr, unsigned long pages, unsigned char *vec) in do_mincore() argument
199 memset(vec, 1, pages); in do_mincore()
202 err = walk_page_range(vma->vm_mm, addr, end, &mincore_walk_ops, vec); in do_mincore()
224 * -EFAULT - vec points to an illegal address
233 unsigned char __user *, vec) in SYSCALL_DEFINE3() argument
253 if (!access_ok(vec, pages)) in SYSCALL_DEFINE3()
272 if (copy_to_user(vec, tmp, retval)) { in SYSCALL_DEFINE3()
277 vec += retval; in SYSCALL_DEFINE3()