Home
last modified time | relevance | path

Searched defs:cookie (Results 1 – 22 of 22) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dcustom_sec_handlers.c13 static int custom_setup_prog(struct bpf_program *prog, long cookie) in custom_setup_prog()
22 struct bpf_prog_load_opts *opts, long cookie) in custom_prepare_load_prog()
32 static int custom_attach_prog(const struct bpf_program *prog, long cookie, in custom_attach_prog()
Dassign_reuse.c22 static __u64 cookie(int fd) in cookie() function
24 __u64 cookie = 0; in cookie() local
Dbpf_cookie.c494 __u64 cookie; in tracing_subtest() local
547 __u64 cookie; in lsm_subtest() local
Dsk_lookup.c245 __u64 cookie; in socket_cookie() local
Dsockmap_listen.c162 u64 cookie, value; in test_lookup_after_insert() local
/tools/bpf/bpftool/
Dnet.c148 void *cookie) in netlink_recv()
206 void *cookie) in __dump_class_nlmsg()
221 dump_nlmsg_t dump_class_nlmsg, void *cookie) in netlink_get_class()
245 void *cookie) in __dump_qdisc_nlmsg()
260 dump_nlmsg_t dump_qdisc_nlmsg, void *cookie) in netlink_get_qdisc()
284 void *cookie) in __dump_filter_nlmsg()
299 dump_nlmsg_t dump_filter_nlmsg, void *cookie) in netlink_get_filter()
323 dump_nlmsg_t dump_link_nlmsg, void *cookie) in __dump_link_nlmsg()
338 dump_nlmsg_t dump_link_nlmsg, void *cookie) in netlink_get_link()
359 static int dump_link_nlmsg(void *cookie, void *msg, struct nlattr **tb) in dump_link_nlmsg()
[all …]
/tools/testing/selftests/bpf/progs/
Dnetns_cookie_prog.c34 int *cookie; in get_netns_cookie_sockops() local
66 int *cookie; in get_netns_cookie_sk_msg() local
Dtest_tcp_check_syncookie_kern.c134 __u32 cookie = (__u32)seq_mss; in check_syncookie() local
142 __u32 cookie = bpf_ntohl(tcph->ack_seq) - 1; in check_syncookie() local
Dsk_storage_omem_uncharge.c12 __u64 cookie = 0; variable
Dxdp_synproxy_kern.c290 u32 cookie; in tscookie_init() local
513 __u32 cookie, __be32 *tsopt, in tcp_gen_synack()
534 __u32 cookie, __be32 *tsopt) in tcpv4_gen_synack()
557 __u32 cookie, __be32 *tsopt) in tcpv6_gen_synack()
602 __u32 cookie; in syncookie_handle_syn() local
Dtest_migrate_reuseport.c101 __u64 cookie; in migrate_reuseport() local
Duprobe_multi.c44 __u64 cookie = test_cookie ? bpf_get_attach_cookie(ctx) : 0; in uprobe_multi_check() local
Dkprobe_multi.c44 __u64 cookie = test_cookie ? bpf_get_attach_cookie(ctx) : 0; in kprobe_multi_check() local
/tools/lib/bpf/
Dnetlink.c134 void *cookie) in libbpf_netlink_recv()
225 void *cookie) in libbpf_netlink_send_recv()
250 void *cookie) in parse_genl_family_id()
345 libbpf_dump_nlmsg_t dump_link_nlmsg, void *cookie) in __dump_link_nlmsg()
360 static int get_xdp_info(void *cookie, void *msg, struct nlattr **tb) in get_xdp_info()
406 void *cookie) in parse_xdp_features()
656 static int __get_tc_info(void *cookie, struct tcmsg *tc, struct nlattr **tb, in __get_tc_info()
682 void *cookie) in get_tc_info()
Dlibbpf.h752 __u64 cookie; member
1678 long cookie; member
Dlibbpf.c379 long cookie; member
6825 struct bpf_prog_load_opts *opts, long cookie) in libbpf_prepare_prog_load()
10908 static int attach_kprobe(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_kprobe()
10945 static int attach_ksyscall(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_ksyscall()
10966 static int attach_kprobe_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_kprobe_multi()
10997 static int attach_uprobe_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_uprobe_multi()
11512 static int attach_uprobe(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_uprobe()
11620 static int attach_usdt(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_usdt()
11741 static int attach_tp(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_tp()
11803 static int attach_raw_tp(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_raw_tp()
[all …]
Dbpf.h405 __u64 cookie; member
/tools/perf/util/intel-pt-decoder/
Dintel-pt-log.c96 static ssize_t log_buf__write(void *cookie, const char *buf, size_t size) in log_buf__write()
120 static int log_buf__close(void *cookie) in log_buf__close()
/tools/testing/selftests/net/af_unix/
Ddiag_uid.c24 __u64 cookie; in FIXTURE() local
/tools/testing/selftests/net/
Dmsg_zerocopy.c172 static void add_zcopy_cookie(struct msghdr *msg, uint32_t cookie) in add_zcopy_cookie()
188 static uint32_t cookie; in do_sendmsg() local
/tools/testing/selftests/sched/
Dcs_prctl_test.c114 unsigned long long cookie; in get_cs_cookie() local
/tools/include/uapi/linux/
Dbpf.h1640 __u64 cookie; member
7209 __u64 cookie; /* Non-zero if socket was selected in PROG_TEST_RUN */ member