Searched refs:sk_prot_ctx (Results 1 – 1 of 1) sorted by relevance
21 static int drain_memory_per_cpu_fw_alloc(__u32 i, struct sk_prot *sk_prot_ctx) in drain_memory_per_cpu_fw_alloc() argument25 memory_per_cpu_fw_alloc = bpf_per_cpu_ptr(sk_prot_ctx->memory_per_cpu_fw_alloc, i); in drain_memory_per_cpu_fw_alloc()27 *sk_prot_ctx->memory_allocated += *memory_per_cpu_fw_alloc; in drain_memory_per_cpu_fw_alloc()35 struct sk_prot sk_prot_ctx; in get_memory_allocated() local41 sk_prot_ctx.memory_allocated = &memory_allocated; in get_memory_allocated()42 sk_prot_ctx.memory_per_cpu_fw_alloc = memory_per_cpu_fw_alloc; in get_memory_allocated()44 bpf_loop(nr_cpus, drain_memory_per_cpu_fw_alloc, &sk_prot_ctx, 0); in get_memory_allocated()