Lines Matching refs:ctype
1899 enum charge_type ctype)
1921 switch (ctype) {
2065 gfp_t gfp_mask, enum charge_type ctype)
2081 __mem_cgroup_commit_charge(mem, pc, ctype);
2109 enum charge_type ctype);
2208 enum charge_type ctype)
2219 __mem_cgroup_commit_charge(ptr, pc, ctype);
2272 __do_uncharge(struct mem_cgroup *mem, const enum charge_type ctype)
2277 if (!do_swap_account || ctype == MEM_CGROUP_CHARGE_TYPE_SWAPOUT)
2324 __mem_cgroup_uncharge_common(struct page *page, enum charge_type ctype)
2349 switch (ctype) {
2383 if (do_swap_account && ctype == MEM_CGROUP_CHARGE_TYPE_SWAPOUT) {
2388 __do_uncharge(mem, ctype);
2468 int ctype = MEM_CGROUP_CHARGE_TYPE_SWAPOUT;
2471 ctype = MEM_CGROUP_CHARGE_TYPE_DROP;
2473 memcg = __mem_cgroup_uncharge_common(page, ctype);
2580 enum charge_type ctype;
2654 ctype = MEM_CGROUP_CHARGE_TYPE_MAPPED;
2656 ctype = MEM_CGROUP_CHARGE_TYPE_CACHE;
2658 ctype = MEM_CGROUP_CHARGE_TYPE_SHMEM;
2659 __mem_cgroup_commit_charge(mem, pc, ctype);