• Home
  • Raw
  • Download

Lines Matching refs:end

442 				unsigned long end, struct mm_walk *walk)  in queue_pages_pmd()  argument
491 unsigned long end, struct mm_walk *walk) in queue_pages_pte_range() argument
504 ret = queue_pages_pmd(pmd, ptl, addr, end, walk); in queue_pages_pte_range()
514 for (; addr != end; pte++, addr += PAGE_SIZE) { in queue_pages_pte_range()
551 return addr != end ? -EIO : 0; in queue_pages_pte_range()
555 unsigned long addr, unsigned long end, in queue_pages_hugetlb() argument
596 unsigned long addr, unsigned long end) in change_prot_numa() argument
600 nr_updated = change_protection(vma, addr, end, PAGE_NONE, 0, 1); in change_prot_numa()
608 unsigned long addr, unsigned long end) in change_prot_numa() argument
614 static int queue_pages_test_walk(unsigned long start, unsigned long end, in queue_pages_test_walk() argument
630 if (endvma > end) in queue_pages_test_walk()
631 endvma = end; in queue_pages_test_walk()
636 if (!vma->vm_next && vma->vm_end < end) in queue_pages_test_walk()
681 queue_pages_range(struct mm_struct *mm, unsigned long start, unsigned long end, in queue_pages_range() argument
692 return walk_page_range(mm, start, end, &queue_pages_walk_ops, &qp); in queue_pages_range()
733 unsigned long end, struct mempolicy *new_pol) in mbind_range() argument
750 for (; vma && vma->vm_start < end; prev = vma, vma = vma->vm_next) { in mbind_range()
752 vmend = min(end, vma->vm_end); in mbind_range()
1219 unsigned long end; in do_mbind() local
1236 end = start + len; in do_mbind()
1238 if (end < start) in do_mbind()
1240 if (end == start) in do_mbind()
1283 ret = queue_pages_range(mm, start, end, nmask, in do_mbind()
1291 err = mbind_range(mm, start, end, new); in do_mbind()
2285 sp_lookup(struct shared_policy *sp, unsigned long start, unsigned long end) in sp_lookup() argument
2292 if (start >= p->end) in sp_lookup()
2294 else if (end <= p->start) in sp_lookup()
2307 if (w->end <= start) in sp_lookup()
2329 else if (new->end > nd->end) in sp_insert()
2336 pr_debug("inserting %lx-%lx: %d\n", new->start, new->end, in sp_insert()
2467 pr_debug("deleting %lx-l%lx\n", n->start, n->end); in sp_delete()
2473 unsigned long end, struct mempolicy *pol) in sp_node_init() argument
2476 node->end = end; in sp_node_init()
2480 static struct sp_node *sp_alloc(unsigned long start, unsigned long end, in sp_alloc() argument
2496 sp_node_init(n, start, end, newpol); in sp_alloc()
2503 unsigned long end, struct sp_node *new) in shared_policy_replace() argument
2512 n = sp_lookup(sp, start, end); in shared_policy_replace()
2514 while (n && n->start < end) { in shared_policy_replace()
2517 if (n->end <= end) in shared_policy_replace()
2520 n->start = end; in shared_policy_replace()
2523 if (n->end > end) { in shared_policy_replace()
2529 sp_node_init(n_new, end, n->end, mpol_new); in shared_policy_replace()
2530 n->end = start; in shared_policy_replace()
2536 n->end = start; in shared_policy_replace()