Home
last modified time | relevance | path

Searched refs:user (Results 1 – 6 of 6) sorted by relevance

/mm/
Dmlock.c845 int user_shm_lock(size_t size, struct user_struct *user) in user_shm_lock() argument
857 locked + user->locked_shm > lock_limit && !capable(CAP_IPC_LOCK)) in user_shm_lock()
859 get_uid(user); in user_shm_lock()
860 user->locked_shm += locked; in user_shm_lock()
867 void user_shm_unlock(size_t size, struct user_struct *user) in user_shm_unlock() argument
870 user->locked_shm -= (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in user_shm_unlock()
872 free_uid(user); in user_shm_unlock()
Dmemfd.c300 struct user_struct *user = NULL; in SYSCALL_DEFINE2() local
302 file = hugetlb_file_setup(name, 0, VM_NORESERVE, &user, in SYSCALL_DEFINE2()
DKconfig185 # page_table_lock, so that faults on different parts of the user address
304 int "Low address space to protect from user allocation"
309 from userspace allocation. Keeping a user from writing to low pages
606 int "Maximum user stack size for 32-bit processes (MB)"
612 user processes when the stack grows upwards (currently only on parisc
639 This feature allows to estimate the amount of user pages that have
DKconfig.debug61 for user-space helper.
Dshmem.c2180 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock() argument
2188 if (!user_shm_lock(inode->i_size, user)) in shmem_lock()
2193 if (!lock && (info->flags & VM_LOCKED) && user) { in shmem_lock()
2194 user_shm_unlock(inode->i_size, user); in shmem_lock()
4059 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock() argument
Dmmap.c1608 struct user_struct *user = NULL; in ksys_mmap_pgoff() local
1624 &user, HUGETLB_ANONHUGE_INODE, in ksys_mmap_pgoff()