Home
last modified time | relevance | path

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

/linux/include/linux/
A 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/kernel/
A Ducount.c232 enum ucount_type type) in inc_ucount()
254 void dec_ucount(struct ucounts *ucounts, enum ucount_type type) in dec_ucount()
264 long inc_rlimit_ucounts(struct ucounts *ucounts, enum ucount_type type, long v) in inc_rlimit_ucounts()
281 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum ucount_type type, long v) in dec_rlimit_ucounts()
295 struct ucounts *last, enum ucount_type type) in do_dec_rlimit_put_ucounts()
307 void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum ucount_type type) in dec_rlimit_put_ucounts()
312 long inc_rlimit_get_ucounts(struct ucounts *ucounts, enum ucount_type type) in inc_rlimit_get_ucounts()
344 bool is_ucounts_overlimit(struct ucounts *ucounts, enum ucount_type type, unsigned long rlimit) in is_ucounts_overlimit()

Completed in 5 milliseconds