Searched refs:res_counter_charge (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/Documentation/cgroups/ |
D | resource_counter.txt | 60 c. int res_counter_charge(struct res_counter *rc, unsigned long val, 82 The same as res_counter_charge(), but it must not acquire/release the 175 if (res_counter_charge(res_counter_ptr, amount) < 0)
|
/linux-2.6.39/include/linux/ |
D | res_counter.h | 116 int __must_check res_counter_charge(struct res_counter *counter,
|
/linux-2.6.39/kernel/ |
D | res_counter.c | 38 int res_counter_charge(struct res_counter *counter, unsigned long val, in res_counter_charge() function
|
/linux-2.6.39/mm/ |
D | memcontrol.c | 1903 ret = res_counter_charge(&mem->res, csize, &fail_res); in mem_cgroup_do_charge() 1908 ret = res_counter_charge(&mem->memsw, csize, &fail_res); in mem_cgroup_do_charge() 4665 if (res_counter_charge(&mem->res, PAGE_SIZE * count, &dummy)) in mem_cgroup_do_precharge() 4667 if (do_swap_account && res_counter_charge(&mem->memsw, in mem_cgroup_do_precharge()
|