Lines Matching refs:res_counter
17 void res_counter_init(struct res_counter *counter, struct res_counter *parent) in res_counter_init()
25 int res_counter_charge_locked(struct res_counter *counter, unsigned long val) in res_counter_charge_locked()
38 int res_counter_charge(struct res_counter *counter, unsigned long val, in res_counter_charge()
39 struct res_counter **limit_fail_at) in res_counter_charge()
43 struct res_counter *c, *u; in res_counter_charge()
69 int res_counter_charge_nofail(struct res_counter *counter, unsigned long val, in res_counter_charge_nofail()
70 struct res_counter **limit_fail_at) in res_counter_charge_nofail()
74 struct res_counter *c; in res_counter_charge_nofail()
94 void res_counter_uncharge_locked(struct res_counter *counter, unsigned long val) in res_counter_uncharge_locked()
102 void res_counter_uncharge(struct res_counter *counter, unsigned long val) in res_counter_uncharge()
105 struct res_counter *c; in res_counter_uncharge()
118 res_counter_member(struct res_counter *counter, int member) in res_counter_member()
137 ssize_t res_counter_read(struct res_counter *counter, int member, in res_counter_read()
155 u64 res_counter_read_u64(struct res_counter *counter, int member) in res_counter_read_u64()
167 u64 res_counter_read_u64(struct res_counter *counter, int member) in res_counter_read_u64()
195 int res_counter_write(struct res_counter *counter, int member, in res_counter_write()