Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Duser_namespace.h60 enum rlimit_type { enum
127 static inline long get_rlimit_value(struct ucounts *ucounts, enum rlimit_type type) in get_rlimit_value()
132 long inc_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v);
133 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v);
134 long inc_rlimit_get_ucounts(struct ucounts *ucounts, enum rlimit_type type);
135 void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum rlimit_type type);
136 bool is_rlimit_overlimit(struct ucounts *ucounts, enum rlimit_type type, unsigned long max);
138 static inline long get_userns_rlimit_max(struct user_namespace *ns, enum rlimit_type type) in get_userns_rlimit_max()
144 enum rlimit_type type, unsigned long max) in set_userns_rlimit_max()
/openbmc/linux/kernel/
H A Ducount.c263 long inc_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v) in inc_rlimit_ucounts()
280 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v) in dec_rlimit_ucounts()
294 struct ucounts *last, enum rlimit_type type) in do_dec_rlimit_put_ucounts()
306 void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum rlimit_type type) in dec_rlimit_put_ucounts()
311 long inc_rlimit_get_ucounts(struct ucounts *ucounts, enum rlimit_type type) in inc_rlimit_get_ucounts()
343 bool is_rlimit_overlimit(struct ucounts *ucounts, enum rlimit_type type, unsigned long rlimit) in is_rlimit_overlimit()