Home
last modified time | relevance | path

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

/linux-4.4.14/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.c2331 .memory_allocated = &tcp_memory_allocated,
Dudp.c2284 .memory_allocated = &udp_memory_allocated,
/linux-4.4.14/include/net/
Dsock.h1020 atomic_long_t *memory_allocated; /* Current allocated memory. */ member
1197 page_counter_charge(&prot->memory_allocated, amt); in memcg_memory_allocated_add()
1199 if (page_counter_read(&prot->memory_allocated) > in memcg_memory_allocated_add()
1200 prot->memory_allocated.limit) in memcg_memory_allocated_add()
1207 page_counter_uncharge(&prot->memory_allocated, amt); in memcg_memory_allocated_sub()
1216 return page_counter_read(&sk->sk_cgrp->memory_allocated); in sk_memory_allocated()
1218 return atomic_long_read(prot->memory_allocated); in sk_memory_allocated()
1229 atomic_long_add_return(amt, prot->memory_allocated); in sk_memory_allocated_add()
1230 return page_counter_read(&sk->sk_cgrp->memory_allocated); in sk_memory_allocated_add()
1233 return atomic_long_add_return(amt, prot->memory_allocated); in sk_memory_allocated_add()
[all …]
/linux-4.4.14/crypto/
Daf_alg.c36 .memory_allocated = &alg_memory_allocated,
/linux-4.4.14/include/linux/
Dmemcontrol.h99 struct page_counter memory_allocated; /* Current allocated memory. */ member
/linux-4.4.14/net/ipv6/
Dudp.c1540 .memory_allocated = &udp_memory_allocated,
Dtcp_ipv6.c1876 .memory_allocated = &tcp_memory_allocated,
/linux-4.4.14/net/decnet/
Daf_decnet.c463 .memory_allocated = &decnet_memory_allocated,
/linux-4.4.14/net/core/
Dsock.c2933 return proto->memory_allocated != NULL ? proto_memory_allocated(proto) : -1L; in sock_prot_memory_allocated()
/linux-4.4.14/net/sctp/
Dsocket.c7387 .memory_allocated = &sctp_memory_allocated,
7426 .memory_allocated = &sctp_memory_allocated,