Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
tcp_memcontrol.c File Reference
#include <net/tcp.h>
#include <net/tcp_memcontrol.h>
#include <net/sock.h>
#include <net/ip.h>
#include <linux/nsproxy.h>
#include <linux/memcontrol.h>
#include <linux/module.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (memcg_tcp_enter_memory_pressure)
 
int tcp_init_cgroup (struct mem_cgroup *memcg, struct cgroup_subsys *ss)
 
 EXPORT_SYMBOL (tcp_init_cgroup)
 
void tcp_destroy_cgroup (struct mem_cgroup *memcg)
 
 EXPORT_SYMBOL (tcp_destroy_cgroup)
 
unsigned long long tcp_max_memory (const struct mem_cgroup *memcg)
 
void tcp_prot_mem (struct mem_cgroup *memcg, long val, int idx)
 
 __initcall (tcp_memcontrol_init)
 

Function Documentation

__initcall ( tcp_memcontrol_init  )
EXPORT_SYMBOL ( memcg_tcp_enter_memory_pressure  )
EXPORT_SYMBOL ( tcp_init_cgroup  )
EXPORT_SYMBOL ( tcp_destroy_cgroup  )
void tcp_destroy_cgroup ( struct mem_cgroup memcg)

Definition at line 63 of file tcp_memcontrol.c.

int tcp_init_cgroup ( struct mem_cgroup memcg,
struct cgroup_subsys *  ss 
)

Definition at line 21 of file tcp_memcontrol.c.

unsigned long long tcp_max_memory ( const struct mem_cgroup memcg)

Definition at line 232 of file tcp_memcontrol.c.

void tcp_prot_mem ( struct mem_cgroup memcg,
long  val,
int  idx 
)

Definition at line 245 of file tcp_memcontrol.c.