Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_progs.c107 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_access()
141 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp()
179 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_adjust_tail()
234 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_l4lb()
323 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd); in test_xdp_noinline()
381 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_tcp_estats()
456 err = bpf_prog_load(file, BPF_PROG_TYPE_SOCKET_FILTER, in test_bpf_obj_id()
668 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_pkt_md_access()
783 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj[i], in test_tp_attach_query()
955 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_stacktrace_map()
[all …]
Dtest_dev_cgroup.c33 if (bpf_prog_load(DEV_CGROUP_PROG, BPF_PROG_TYPE_CGROUP_DEVICE, in main()
Dtest_lirc_mode2_user.c59 ret = bpf_prog_load("test_lirc_mode2_kern.o", in main()
Dflow_dissector_load.c30 ret = bpf_prog_load(cfg_path_name, BPF_PROG_TYPE_FLOW_DISSECTOR, &obj, in load_and_attach_program()
Dtest_netcnt.c55 if (bpf_prog_load(BPF_PROG, BPF_PROG_TYPE_CGROUP_SKB, in main()
Dtest_tcpbpf_user.c112 if (bpf_prog_load(file, BPF_PROG_TYPE_SOCK_OPS, &obj, &prog_fd)) { in main()
Dget_cgroup_id_user.c75 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in main()
Dtest_maps.c761 err = bpf_prog_load(SOCKMAP_PARSE_PROG, in test_sockmap()
768 err = bpf_prog_load(SOCKMAP_TCP_MSG_PROG, in test_sockmap()
775 err = bpf_prog_load(SOCKMAP_VERDICT_PROG, in test_sockmap()
/external/bcc/src/python/bcc/
Dlibbcc.py85 lib.bpf_prog_load.restype = ct.c_int
86 lib.bpf_prog_load.argtypes = [ct.c_int, ct.c_char_p, ct.c_void_p,
D__init__.py363 fd = lib.bpf_prog_load(prog_type, func_name,
/external/bcc/tools/
Dmemleak_example.txt70 bpf_prog_load [kernel]
103 bytes (in bpf_prog_load).
/external/iproute2/include/
Dbpf_util.h257 int bpf_prog_load(enum bpf_prog_type type, const struct bpf_insn *insns,
/external/bcc/src/cc/
Dlibbpf.h59 int bpf_prog_load(enum bpf_prog_type prog_type, const char *name,
Dlibbpf.c474 int bpf_prog_load(enum bpf_prog_type prog_type, const char *name, in bpf_prog_load() function
/external/bcc/src/cc/includes/
Dlibbpf.h59 int bpf_prog_load(enum bpf_prog_type prog_type, const char *name,
/external/bcc/src/lua/bcc/
Dbpf.lua165 local fd = libbcc.bpf_prog_load(prog_type,
/external/iproute2/ip/
Dipvrf.c258 return bpf_prog_load(BPF_PROG_TYPE_CGROUP_SOCK, prog, sizeof(prog), in prog_load()
/external/bcc/src/lua/bpf/
Dbpf.lua1478 local prog_fd, err, log = S.bpf_prog_load(S.c.BPF_PROG.TRACEPOINT, prog.insn, prog.pc)
1502 local prog_fd, err, log = S.bpf_prog_load(S.c.BPF_PROG.KPROBE, prog.insn, prog.pc)
1583 local prog_fd, err, log = S.bpf_prog_load(S.c.BPF_PROG.SOCKET_FILTER, prog.insn, prog.pc)
/external/bcc/src/cc/api/
DBPF.cc550 fd = bpf_prog_load(type, func_name.c_str(), in load_func()
/external/iproute2/lib/
Dbpf.c1050 int bpf_prog_load(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_prog_load() function
1476 fd = bpf_prog_load(prog->type, prog->insns, prog->size, in bpf_prog_attach()
/external/strace/
DChangeLog13507 (bpf_prog_load): Use PRINT_FIELD_STR, PRINT_FIELD_U, PRINT_FIELD_X,
21434 bpf_map_io, bpf_prog_load, SYS_FUNC(bpf)): Change address argument