Lines Matching refs:cookie
13 static int custom_setup_prog(struct bpf_program *prog, long cookie)
15 if (cookie == COOKIE_ABC1)
22 struct bpf_prog_load_opts *opts, long cookie)
24 if (cookie == COOKIE_FALLBACK)
26 else if (cookie == COOKIE_ABC1)
32 static int custom_attach_prog(const struct bpf_program *prog, long cookie,
35 switch (cookie) {
48 ASSERT_FALSE(true, "unexpected cookie");
63 .cookie = COOKIE_ABC1,
69 .cookie = COOKIE_ABC2,
75 .cookie = COOKIE_CUSTOM,
112 opts.cookie = COOKIE_KPROBE;
117 opts.cookie = COOKIE_FALLBACK;