Home
last modified time | relevance | path

Searched refs:pinned_vm (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Duser_pages.c94 pinned = atomic64_read(&mm->pinned_vm); in hfi1_can_pin_pages()
113 atomic64_add(ret, &mm->pinned_vm); in hfi1_acquire_user_pages()
124 atomic64_sub(npages, &mm->pinned_vm); in hfi1_release_user_pages()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_user_pages.c102 locked = atomic64_add_return(num_pages, &current->mm->pinned_vm); in qib_get_user_pages()
126 atomic64_sub(num_pages, &current->mm->pinned_vm); in qib_get_user_pages()
136 atomic64_sub(num_pages, &current->mm->pinned_vm); in qib_release_user_pages()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dumem.c199 new_pinned = atomic64_add_return(npages, &mm->pinned_vm); in ib_umem_get()
201 atomic64_sub(npages, &mm->pinned_vm); in ib_umem_get()
252 atomic64_sub(ib_umem_num_pages(umem), &mm->pinned_vm); in ib_umem_get()
277 atomic64_sub(ib_umem_num_pages(umem), &umem->owning_mm->pinned_vm); in ib_umem_release()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_mem.c82 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()
/kernel/linux/linux-5.10/Documentation/infiniband/
Duser_verbs.rst54 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
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_uiom.c128 locked = atomic64_add_return(npages, &current->mm->pinned_vm); in usnic_uiom_get_pages()
186 atomic64_sub(npages, &current->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()
/kernel/linux/linux-5.10/mm/
Ddebug.c259 (u64)atomic64_read(&mm->pinned_vm), in dump_mm()
/kernel/linux/linux-5.10/include/linux/
Dmm_types.h511 atomic64_t pinned_vm; /* Refcount permanently increased */ member
/kernel/linux/linux-5.10/drivers/vhost/
Dvdpa.c530 atomic64_sub(map->size >> PAGE_SHIFT, &dev->mm->pinned_vm); in vhost_vdpa_iotlb_unmap()
592 atomic64_add(size >> PAGE_SHIFT, &dev->mm->pinned_vm); in vhost_vdpa_map()
655 if (npages + atomic64_read(&dev->mm->pinned_vm) > lock_limit) { in vhost_vdpa_process_iotlb_update()
/kernel/linux/linux-5.10/fs/proc/
Dtask_mmu.c72 SEQ_PUT_DEC(" kB\nVmPin:\t", atomic64_read(&mm->pinned_vm)); in task_mem()
/kernel/linux/linux-5.10/kernel/events/
Dcore.c6082 atomic64_sub(rb->aux_mmap_locked, &vma->vm_mm->pinned_vm); in perf_mmap_close()
6157 atomic64_sub(mmap_locked, &vma->vm_mm->pinned_vm); in perf_mmap_close()
6323 locked = atomic64_read(&vma->vm_mm->pinned_vm) + extra; in perf_mmap()
6365 atomic64_add(extra, &vma->vm_mm->pinned_vm); in perf_mmap()
/kernel/linux/linux-5.10/kernel/
Dfork.c1046 atomic64_set(&mm->pinned_vm, 0); in mm_init()
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c8762 atomic64_sub(nr_pages, &ctx->mm_account->pinned_vm); in io_unaccount_mem()
8776 atomic64_add(nr_pages, &ctx->mm_account->pinned_vm); in io_account_mem()