rlimit_type
static inline long get_rlimit_value(struct ucounts *ucounts, enum rlimit_type type)
long inc_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v);
bool dec_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v);
long inc_rlimit_get_ucounts(struct ucounts *ucounts, enum rlimit_type type,
void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum rlimit_type type);
bool is_rlimit_overlimit(struct ucounts *ucounts, enum rlimit_type type, unsigned long max);
static inline long get_userns_rlimit_max(struct user_namespace *ns, enum rlimit_type type)
enum rlimit_type type, unsigned long max)
long inc_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v)
bool dec_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v)
struct ucounts *last, enum rlimit_type type)
void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum rlimit_type type)
long inc_rlimit_get_ucounts(struct ucounts *ucounts, enum rlimit_type type,
bool is_rlimit_overlimit(struct ucounts *ucounts, enum rlimit_type type, unsigned long rlimit)