Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Duser_namespace.h40 enum ucount_type { enum
117 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type);
118 void dec_ucount(struct ucounts *ucounts, enum ucount_type type);
123 static inline long get_ucounts_value(struct ucounts *ucounts, enum ucount_type type) in get_ucounts_value()
128 long inc_rlimit_ucounts(struct ucounts *ucounts, enum ucount_type type, long v);
129 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum ucount_type type, long v);
130 long inc_rlimit_get_ucounts(struct ucounts *ucounts, enum ucount_type type);
131 void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum ucount_type type);
132 bool is_ucounts_overlimit(struct ucounts *ucounts, enum ucount_type type, unsigned long max);
135 enum ucount_type type, unsigned long max) in set_rlimit_ucount_max()
/Linux-v5.15/kernel/
Ducount.c226 enum ucount_type type) in inc_ucount()
248 void dec_ucount(struct ucounts *ucounts, enum ucount_type type) in dec_ucount()
258 long inc_rlimit_ucounts(struct ucounts *ucounts, enum ucount_type type, long v) in inc_rlimit_ucounts()
274 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum ucount_type type, long v) in dec_rlimit_ucounts()
288 struct ucounts *last, enum ucount_type type) in do_dec_rlimit_put_ucounts()
300 void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum ucount_type type) in dec_rlimit_put_ucounts()
305 long inc_rlimit_get_ucounts(struct ucounts *ucounts, enum ucount_type type) in inc_rlimit_get_ucounts()
336 bool is_ucounts_overlimit(struct ucounts *ucounts, enum ucount_type type, unsigned long max) in is_ucounts_overlimit()