Home
last modified time | relevance | path

Searched refs:source_user (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/iommu/iommufd/
Dio_pagetable.h197 struct user_struct *source_user; member
Dpages.c813 cur_pages = atomic_long_read(&pages->source_user->locked_vm); in incr_user_locked_vm()
817 } while (atomic_long_cmpxchg(&pages->source_user->locked_vm, cur_pages, in incr_user_locked_vm()
824 if (WARN_ON(atomic_long_read(&pages->source_user->locked_vm) < npages)) in decr_user_locked_vm()
826 atomic_long_sub(npages, &pages->source_user->locked_vm); in decr_user_locked_vm()
1177 pages->source_user = get_uid(current_user()); in iopt_alloc_pages()
1192 free_uid(pages->source_user); in iopt_release_pages()