Searched refs:memory_allocated (Results 1 – 14 of 14) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | sk_bypass_prot_mem.c | 17 long *memory_allocated; member 27 *sk_prot_ctx->memory_allocated += *memory_per_cpu_fw_alloc; in drain_memory_per_cpu_fw_alloc() 36 long memory_allocated; in get_memory_allocated() local 39 memory_allocated = sk->__sk_common.skc_prot->memory_allocated->counter; in get_memory_allocated() 41 sk_prot_ctx.memory_allocated = &memory_allocated; in get_memory_allocated() 46 return memory_allocated; in get_memory_allocated() 50 long *memory_allocated, int *memory_per_cpu_fw_alloc) in fentry_init_sock() argument 55 *memory_allocated = get_memory_allocated(sk, memory_per_cpu_fw_alloc); in fentry_init_sock()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sk_bypass_prot_mem.c | 94 bool *activated, long *memory_allocated) in get_memory_allocated() 100 /* AF_INET and AF_INET6 share the same memory_allocated. in get_memory_allocated() 110 return *memory_allocated; in tcp_get_memory_allocated() 131 long memory_allocated[2]; in check_bypass() 142 memory_allocated[0] = test_case->get_memory_allocated(test_case, skel); in check_bypass() 160 memory_allocated[1] = test_case->get_memory_allocated(test_case, skel); in check_bypass() 163 ASSERT_LE(memory_allocated[1], memory_allocated[0] + 10, "bypass"); in check_bypass() 165 ASSERT_GT(memory_allocated[1], memory_allocated[ in check_bypass() 89 get_memory_allocated(struct test_case * test_case,bool * activated,long * memory_allocated) get_memory_allocated() argument 126 long memory_allocated[2]; check_bypass() local [all...] |
| /linux/include/net/ |
| H A D | proto_memory.h | 47 return max(0L, atomic_long_read(prot->memory_allocated)); in proto_memory_allocated() 61 atomic_long_add(val, proto->memory_allocated); in proto_memory_pcpu_drain()
|
| H A D | sock.h | 1355 atomic_long_t *memory_allocated; /* Current allocated memory. */ member 1570 return !!sk->sk_prot->memory_allocated; in sk_has_account()
|
| /linux/net/ipv4/ |
| H A D | udplite.c | 62 .memory_allocated = &net_aligned_data.udp_memory_allocated,
|
| H A D | tcp_ipv4.c | 3449 .memory_allocated = &net_aligned_data.tcp_memory_allocated,
|
| H A D | udp.c | 3289 .memory_allocated = &net_aligned_data.udp_memory_allocated,
|
| /linux/net/ipv6/ |
| H A D | udplite.c | 61 .memory_allocated = &net_aligned_data.udp_memory_allocated,
|
| H A D | udp.c | 1929 .memory_allocated = &net_aligned_data.udp_memory_allocated,
|
| H A D | tcp_ipv6.c | 2311 .memory_allocated = &net_aligned_data.tcp_memory_allocated,
|
| /linux/drivers/md/dm-vdo/indexer/ |
| H A D | delta-index.h | 184 size_t memory_allocated; member
|
| /linux/net/core/ |
| H A D | sock.c | 4187 if (prot->memory_allocated && !prot->sysctl_mem) { in proto_register() 4191 if (prot->memory_allocated && !prot->per_cpu_fw_alloc) { in proto_register() 4308 return proto->memory_allocated != NULL ? proto_memory_allocated(proto) : -1L; in sock_prot_memory_allocated()
|
| /linux/net/sctp/ |
| H A D | socket.c | 9658 .memory_allocated = &sctp_memory_allocated, 9714 .memory_allocated = &sctp_memory_allocated,
|
| /linux/net/mptcp/ |
| H A D | protocol.c | 4040 .memory_allocated = &net_aligned_data.tcp_memory_allocated,
|