Home
last modified time | relevance | path

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

/linux/include/linux/
H A Duser_namespace.h67 enum rlimit_type { enum
149 static inline long get_rlimit_value(struct ucounts *ucounts, enum rlimit_type type) in get_rlimit_value()
154 long inc_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v);
155 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v);
156 long inc_rlimit_get_ucounts(struct ucounts *ucounts, enum rlimit_type type,
158 void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum rlimit_type type);
159 bool is_rlimit_overlimit(struct ucounts *ucounts, enum rlimit_type type, unsigned long max);
161 static inline long get_userns_rlimit_max(struct user_namespace *ns, enum rlimit_type type) in get_userns_rlimit_max()
167 enum rlimit_type type, unsigned long max) in set_userns_rlimit_max()