Lines Matching refs:memory_allocated
1003 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()
1249 return atomic_long_add_return(amt, prot->memory_allocated); in sk_memory_allocated_add()
1260 atomic_long_sub(amt, prot->memory_allocated); in sk_memory_allocated_sub()
1311 return atomic_long_read(prot->memory_allocated); in proto_memory_allocated()
1395 return !!sk->sk_prot->memory_allocated; in sk_has_account()