vma_internal.h (955db39676b6de84283b370d03683171b67dceb3) vma_internal.h (cacded5e42b9609b07b22d80c10f0076d439f7d1)
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * vma_internal.h
4 *
5 * Header providing userland wrappers and shims for the functionality provided
6 * by mm/vma_internal.h.
7 *
8 * We make the header guard the same as mm/vma_internal.h, so if this shim

--- 726 unchanged lines hidden (view full) ---

735 (void)adjust_next;
736}
737
738static inline void vma_iter_free(struct vma_iterator *vmi)
739{
740 mas_destroy(&vmi->mas);
741}
742
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * vma_internal.h
4 *
5 * Header providing userland wrappers and shims for the functionality provided
6 * by mm/vma_internal.h.
7 *
8 * We make the header guard the same as mm/vma_internal.h, so if this shim

--- 726 unchanged lines hidden (view full) ---

735 (void)adjust_next;
736}
737
738static inline void vma_iter_free(struct vma_iterator *vmi)
739{
740 mas_destroy(&vmi->mas);
741}
742
743static inline
744struct vm_area_struct *vma_iter_next_range(struct vma_iterator *vmi)
745{
746 return mas_next_range(&vmi->mas, ULONG_MAX);
747}
748
743static inline void vm_acct_memory(long pages)
744{
745}
746
747static inline void vma_interval_tree_insert(struct vm_area_struct *,
748 struct rb_root_cached *)
749{
750}

--- 167 unchanged lines hidden ---
749static inline void vm_acct_memory(long pages)
750{
751}
752
753static inline void vma_interval_tree_insert(struct vm_area_struct *,
754 struct rb_root_cached *)
755{
756}

--- 167 unchanged lines hidden ---