Home
last modified time | relevance | path

Searched refs:loop_ctx (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dlocal_storage_bench.c45 struct loop_ctx { struct
51 static int do_lookup(unsigned int elem, struct loop_ctx *lctx) in do_lookup() argument
81 struct loop_ctx *lctx = (struct loop_ctx *)ctx; in loop()
93 struct loop_ctx lctx; in get_local()
Dsetget_sockopt.c79 struct loop_ctx { struct
142 static int bpf_test_socket_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_socket_sockopt()
159 static int bpf_test_ip_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_ip_sockopt()
176 static int bpf_test_ipv6_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_ipv6_sockopt()
193 static int bpf_test_tcp_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_tcp_sockopt()
246 struct loop_ctx lc = { .ctx = ctx, .sk = sk, }; in bpf_test_sockopt()
Dxdp_synproxy_kern.c261 struct tcpopt_context loop_ctx = { in tscookie_init() local
272 bpf_loop(6, tscookie_tcpopt_parse_batch, &loop_ctx, 0); in tscookie_init()
274 if (!loop_ctx.option_timestamp) in tscookie_init()
278 cookie |= loop_ctx.wscale & TS_OPT_WSCALE_MASK; in tscookie_init()
279 if (loop_ctx.option_sack) in tscookie_init()