Lines Matching refs:ucounts
65 .ucounts = &init_ucounts,
125 if (cred->ucounts) in put_cred_rcu()
126 put_ucounts(cred->ucounts); in put_cred_rcu()
290 new->ucounts = get_ucounts(new->ucounts); in prepare_creds()
291 if (!new->ucounts) in prepare_creds()
502 inc_rlimit_ucounts(new->ucounts, UCOUNT_RLIMIT_NPROC, 1); in commit_creds()
507 dec_rlimit_ucounts(old->ucounts, UCOUNT_RLIMIT_NPROC, 1); in commit_creds()
674 struct ucounts *new_ucounts, *old_ucounts = new->ucounts; in set_cred_ucounts()
686 new->ucounts = new_ucounts; in set_cred_ucounts()
755 new->ucounts = get_ucounts(new->ucounts); in prepare_kernel_cred()
756 if (!new->ucounts) in prepare_kernel_cred()