Searched refs:dec_rlimit_ucounts (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/mm/ |
H A D | mlock.c | 765 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock() 769 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock() 782 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, (size + PAGE_SIZE - 1) >> PAGE_SHIFT); in user_shm_unlock()
|
/openbmc/linux/include/linux/ |
H A D | user_namespace.h | 133 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v);
|
/openbmc/linux/kernel/ |
H A D | ucount.c | 280 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v) in dec_rlimit_ucounts() function
|
H A D | cred.c | 437 dec_rlimit_ucounts(old->ucounts, UCOUNT_RLIMIT_NPROC, 1); in commit_creds()
|
H A D | exit.c | 248 dec_rlimit_ucounts(task_ucounts(p), UCOUNT_RLIMIT_NPROC, 1); in release_task()
|
H A D | fork.c | 2787 dec_rlimit_ucounts(task_ucounts(p), UCOUNT_RLIMIT_NPROC, 1); in copy_process()
|
/openbmc/linux/ipc/ |
H A D | mqueue.c | 379 dec_rlimit_ucounts(info->ucounts, UCOUNT_RLIMIT_MSGQUEUE, mq_bytes); in mqueue_get_inode() 549 dec_rlimit_ucounts(info->ucounts, UCOUNT_RLIMIT_MSGQUEUE, mq_bytes); in mqueue_evict_inode()
|