Home
last modified time | relevance | path

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

/net/bpf/
Dtest_run.c857 struct bpf_flow_keys *user_ctx; in bpf_prog_test_run_flow_dissector() local
883 user_ctx = bpf_ctx_init(kattr, sizeof(struct bpf_flow_keys)); in bpf_prog_test_run_flow_dissector()
884 if (IS_ERR(user_ctx)) { in bpf_prog_test_run_flow_dissector()
886 return PTR_ERR(user_ctx); in bpf_prog_test_run_flow_dissector()
888 if (user_ctx) { in bpf_prog_test_run_flow_dissector()
889 ret = verify_user_bpf_flow_keys(user_ctx); in bpf_prog_test_run_flow_dissector()
892 flags = user_ctx->flags; in bpf_prog_test_run_flow_dissector()
912 ret = bpf_ctx_finish(kattr, uattr, user_ctx, in bpf_prog_test_run_flow_dissector()
916 kfree(user_ctx); in bpf_prog_test_run_flow_dissector()
928 struct bpf_sk_lookup *user_ctx; in bpf_prog_test_run_sk_lookup() local
[all …]