Searched refs:pinned_vm (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/infiniband/hw/hfi1/ |
A D | user_pages.c | 52 pinned = atomic64_read(&mm->pinned_vm); in hfi1_can_pin_pages() 71 atomic64_add(ret, &mm->pinned_vm); in hfi1_acquire_user_pages() 82 atomic64_sub(npages, &mm->pinned_vm); in hfi1_release_user_pages()
|
/linux/drivers/infiniband/hw/qib/ |
A D | qib_user_pages.c | 102 locked = atomic64_add_return(num_pages, ¤t->mm->pinned_vm); in qib_get_user_pages() 126 atomic64_sub(num_pages, ¤t->mm->pinned_vm); in qib_get_user_pages() 136 atomic64_sub(num_pages, ¤t->mm->pinned_vm); in qib_release_user_pages()
|
/linux/drivers/infiniband/core/ |
A D | umem.c | 204 new_pinned = atomic64_add_return(npages, &mm->pinned_vm); in ib_umem_get() 206 atomic64_sub(npages, &mm->pinned_vm); in ib_umem_get() 251 atomic64_sub(ib_umem_num_pages(umem), &mm->pinned_vm); in ib_umem_get() 278 atomic64_sub(ib_umem_num_pages(umem), &umem->owning_mm->pinned_vm); in ib_umem_release()
|
/linux/Documentation/translations/zh_CN/infiniband/ |
A D | user_verbs.rst | 55 算进程的pinned_vm中被固定的内存量,并检查非特权进程是否超过其RLIMIT_MEMLOCK限制。 57 被多次固定的页面在每次被固定时都会被计数,所以pinned_vm的值可能会高估一个进程所
|
/linux/drivers/infiniband/sw/siw/ |
A D | siw_mem.c | 82 atomic64_sub(umem->num_pages, &mm_s->pinned_vm); in siw_umem_release() 401 if (num_pages + atomic64_read(&mm_s->pinned_vm) > mlock_limit) { in siw_umem_get() 433 atomic64_add(rv, &mm_s->pinned_vm); in siw_umem_get()
|
/linux/Documentation/infiniband/ |
A D | user_verbs.rst | 54 amount of memory pinned in the process's pinned_vm, and checks that 58 pinned, so the value of pinned_vm may be an overestimate of the
|
/linux/drivers/infiniband/hw/usnic/ |
A D | usnic_uiom.c | 128 locked = atomic64_add_return(npages, ¤t->mm->pinned_vm); in usnic_uiom_get_pages() 186 atomic64_sub(npages, ¤t->mm->pinned_vm); in usnic_uiom_get_pages() 438 atomic64_sub(usnic_uiom_num_pages(uiomr), &uiomr->owning_mm->pinned_vm); in usnic_uiom_reg_release()
|
/linux/mm/ |
A D | debug.c | 248 (u64)atomic64_read(&mm->pinned_vm), in dump_mm()
|
/linux/drivers/vhost/ |
A D | vdpa.c | 523 atomic64_sub(PFN_DOWN(map->size), &dev->mm->pinned_vm); in vhost_vdpa_pa_unmap() 612 atomic64_add(PFN_DOWN(size), &dev->mm->pinned_vm); in vhost_vdpa_map() 715 if (npages + atomic64_read(&dev->mm->pinned_vm) > lock_limit) { in vhost_vdpa_pa_map()
|
/linux/include/linux/ |
A D | mm_types.h | 552 atomic64_t pinned_vm; /* Refcount permanently increased */ member
|
/linux/fs/proc/ |
A D | task_mmu.c | 62 SEQ_PUT_DEC(" kB\nVmPin:\t", atomic64_read(&mm->pinned_vm)); in task_mem()
|
/linux/kernel/events/ |
A D | core.c | 6081 atomic64_sub(rb->aux_mmap_locked, &vma->vm_mm->pinned_vm); in perf_mmap_close() 6156 atomic64_sub(mmap_locked, &vma->vm_mm->pinned_vm); in perf_mmap_close() 6322 locked = atomic64_read(&vma->vm_mm->pinned_vm) + extra; in perf_mmap() 6365 atomic64_add(extra, &vma->vm_mm->pinned_vm); in perf_mmap()
|
/linux/kernel/ |
A D | fork.c | 1049 atomic64_set(&mm->pinned_vm, 0); in mm_init()
|
/linux/fs/ |
A D | io_uring.c | 8817 atomic64_sub(nr_pages, &ctx->mm_account->pinned_vm); in io_unaccount_mem() 8831 atomic64_add(nr_pages, &ctx->mm_account->pinned_vm); in io_account_mem()
|
Completed in 62 milliseconds