Searched refs:locked_vm (Results 1 – 15 of 15) sorted by relevance
| /linux/net/xdp/ |
| H A D | xdp_umem.c | 35 atomic_long_sub(umem->npgs, &umem->user->locked_vm); in xdp_umem_unaccount_pages() 140 old_npgs = atomic_long_read(&umem->user->locked_vm); in xdp_umem_account_pages() 147 } while (atomic_long_cmpxchg(&umem->user->locked_vm, old_npgs, in xdp_umem_account_pages()
|
| /linux/mm/ |
| H A D | secretmem.c | 67 cur_pages = atomic_long_read(&user->locked_vm); in __secretmem_account_pages() 72 } while (!atomic_long_try_cmpxchg(&user->locked_vm, in __secretmem_account_pages() 92 atomic_long_sub(nr_pages, &state->user->locked_vm); in __secretmem_unaccount_pages()
|
| H A D | vma.c | 1418 mm->locked_vm -= vms->locked_vm; in vms_complete_munmap_vmas() 1543 vms->locked_vm += nrpages; in vms_gather_munmap_vmas() 1642 vms->nr_pages = vms->locked_vm = vms->nr_accounted = 0; in init_vma_munmap() 2751 mm->locked_vm += map->pglen; in __mmap_complete() 3076 mm->locked_vm += (len >> PAGE_SHIFT); 3309 mm->locked_vm += grow; in expand_upwards() 3386 mm->locked_vm += grow; in expand_downwards()
|
| H A D | mlock.c | 499 mm->locked_vm += nr_pages; in mlock_fixup() 641 locked += current->mm->locked_vm; in do_mlock()
|
| H A D | vma.h | 56 unsigned long locked_vm; /* Number of locked pages */ member
|
| H A D | mremap.c | 1023 * Update mm exec_vm, stack_vm, data_vm, and locked_vm fields as needed to 1036 mm->locked_vm += pages; in vrm_stat_account()
|
| /linux/include/linux/sched/ |
| H A D | user.h | 29 atomic_long_t locked_vm; /* pinned pages charged to RLIMIT_MEMLOCK */ 30 atomic_long_t locked_vm; global() member
|
| /linux/drivers/iommu/iommufd/ |
| H A D | pages.c | 965 cur_pages = atomic_long_read(&pages->source_user->locked_vm); in incr_user_locked_vm() 970 } while (!atomic_long_try_cmpxchg(&pages->source_user->locked_vm, in incr_user_locked_vm() 977 if (WARN_ON(atomic_long_read(&pages->source_user->locked_vm) < npages)) in decr_user_locked_vm() 979 atomic_long_sub(npages, &pages->source_user->locked_vm); in decr_user_locked_vm()
|
| /linux/tools/testing/vma/include/ |
| H A D | dup.h | 31 unsigned long locked_vm; /* Pages that have PG_mlocked set */ member 1536 locked_pages += mm->locked_vm; in mlock_future_ok()
|
| /linux/include/linux/ |
| H A D | mm_types.h | 1284 unsigned long locked_vm; /* Pages that have PG_mlocked set */ member
|
| /linux/net/core/ |
| H A D | skbuff.c | 1701 old_pg = atomic_long_read(&user->locked_vm); in mm_account_pinned_pages() 1706 } while (!atomic_long_try_cmpxchg(&user->locked_vm, &old_pg, new_pg)); in mm_account_pinned_pages() 1722 atomic_long_sub(mmp->num_pg, &mmp->user->locked_vm); in mm_unaccount_pinned_pages()
|
| /linux/Documentation/mm/ |
| H A D | unevictable-lru.rst | 363 VMAs against the task's "locked_vm".
|
| /linux/kernel/ |
| H A D | fork.c | 1102 mm->locked_vm = 0; in mm_init()
|
| /linux/kernel/events/ |
| H A D | core.c | |
| /linux/fs/proc/ |
| H A D | task_mmu.c | 68 SEQ_PUT_DEC(" kB\nVmLck:\t", mm->locked_vm); in task_mem()
|