Home
last modified time | relevance | path

Searched refs:memory_allocated (Results 1 – 10 of 10) sorted by relevance

/linux-4.1.27/net/ipv4/
Dtcp_memcontrol.c32 counter_parent = &parent_cg->memory_allocated; in tcp_init_cgroup()
34 page_counter_init(&cg_proto->memory_allocated, counter_parent); in tcp_init_cgroup()
67 ret = page_counter_limit(&cg_proto->memory_allocated, nr_pages); in tcp_update_limit()
151 val = cg_proto->memory_allocated.limit; in tcp_cgroup_read()
158 val = page_counter_read(&cg_proto->memory_allocated); in tcp_cgroup_read()
164 val = cg_proto->memory_allocated.failcnt; in tcp_cgroup_read()
169 val = cg_proto->memory_allocated.watermark; in tcp_cgroup_read()
191 page_counter_reset_watermark(&cg_proto->memory_allocated); in tcp_cgroup_reset()
194 cg_proto->memory_allocated.failcnt = 0; in tcp_cgroup_reset()
Dtcp_ipv4.c2366 .memory_allocated = &tcp_memory_allocated,
Dudp.c2269 .memory_allocated = &udp_memory_allocated,
/linux-4.1.27/include/net/
Dsock.h1003 atomic_long_t *memory_allocated; /* Current allocated memory. */ member
1066 struct page_counter memory_allocated; /* Current allocated memory. */ member
1213 page_counter_charge(&prot->memory_allocated, amt); in memcg_memory_allocated_add()
1215 if (page_counter_read(&prot->memory_allocated) > in memcg_memory_allocated_add()
1216 prot->memory_allocated.limit) in memcg_memory_allocated_add()
1223 page_counter_uncharge(&prot->memory_allocated, amt); in memcg_memory_allocated_sub()
1232 return page_counter_read(&sk->sk_cgrp->memory_allocated); in sk_memory_allocated()
1234 return atomic_long_read(prot->memory_allocated); in sk_memory_allocated()
1245 atomic_long_add_return(amt, prot->memory_allocated); in sk_memory_allocated_add()
1246 return page_counter_read(&sk->sk_cgrp->memory_allocated); in sk_memory_allocated_add()
[all …]
/linux-4.1.27/crypto/
Daf_alg.c36 .memory_allocated = &alg_memory_allocated,
/linux-4.1.27/net/ipv6/
Dudp.c1538 .memory_allocated = &udp_memory_allocated,
Dtcp_ipv6.c1856 .memory_allocated = &tcp_memory_allocated,
/linux-4.1.27/net/decnet/
Daf_decnet.c463 .memory_allocated = &decnet_memory_allocated,
/linux-4.1.27/net/core/
Dsock.c2870 return proto->memory_allocated != NULL ? proto_memory_allocated(proto) : -1L; in sock_prot_memory_allocated()
/linux-4.1.27/net/sctp/
Dsocket.c7394 .memory_allocated = &sctp_memory_allocated,
7433 .memory_allocated = &sctp_memory_allocated,