Lines Matching refs:tcp_memory_allocated
81 res_counter_init(&tcp->tcp_memory_allocated, res_parent); in tcp_init_cgroup()
87 cg_proto->memory_allocated = &tcp->tcp_memory_allocated; in tcp_init_cgroup()
111 val = res_counter_read_u64(&tcp->tcp_memory_allocated, RES_LIMIT); in tcp_destroy_cgroup()
136 old_lim = res_counter_read_u64(&tcp->tcp_memory_allocated, RES_LIMIT); in tcp_update_limit()
137 ret = res_counter_set_limit(&tcp->tcp_memory_allocated, val); in tcp_update_limit()
185 return res_counter_read_u64(&tcp->tcp_memory_allocated, type); in tcp_read_stat()
195 return atomic_long_read(&tcp_memory_allocated) << PAGE_SHIFT; in tcp_read_usage()
198 return res_counter_read_u64(&tcp->tcp_memory_allocated, RES_USAGE); in tcp_read_usage()
237 res_counter_reset_max(&tcp->tcp_memory_allocated); in tcp_cgroup_reset()
240 res_counter_reset_failcnt(&tcp->tcp_memory_allocated); in tcp_cgroup_reset()
257 return res_counter_read_u64(&tcp->tcp_memory_allocated, RES_LIMIT); in tcp_max_memory()