/external/bcc/tests/python/ |
D | test_clang.py | 41 fn = b.load_func("handle_packet", BPF.SCHED_CLS) 54 fn = b.load_func("handle_packet", BPF.SCHED_CLS) 66 fn = b.load_func("count_sched", BPF.KPROBE) 77 fn = b.load_func("count_foo", BPF.KPROBE) 89 fn = b.load_func("count_tcp", BPF.KPROBE) 101 fn = b.load_func("test", BPF.KPROBE) 119 fn = b.load_func("count_tcp", BPF.KPROBE) 137 fn = b.load_func("count_tcp", BPF.KPROBE) 169 fn = b.load_func("foo", BPF.KPROBE) 249 fn = b.load_func("do_request", BPF.KPROBE) [all …]
|
D | test_call1.py | 24 ether_fn = b.load_func("parse_ether", BPF.SCHED_CLS) 25 arp_fn = b.load_func("parse_arp", BPF.SCHED_CLS) 26 ip_fn = b.load_func("parse_ip", BPF.SCHED_CLS) 27 eop_fn = b.load_func("eop", BPF.SCHED_CLS)
|
D | test_bpf_log.py | 50 ingress = b.load_func("sim_port",BPF.SCHED_CLS) 60 ingress = b.load_func("sim_port",BPF.SCHED_CLS)
|
D | test_brb.py | 153 self.pem_fn = b.load_func("pem", BPF.SCHED_CLS) 154 self.br1_fn = b.load_func("br1", BPF.SCHED_CLS) 155 self.br2_fn = b.load_func("br2", BPF.SCHED_CLS)
|
/external/bcc/tests/lua/ |
D | test_clang.lua | 14 local fn = b:load_func("count_sched", 'BPF_PROG_TYPE_KPROBE') 26 local fn = b:load_func("count_foo", 'BPF_PROG_TYPE_KPROBE') 61 local fn = b:load_func("foo", 'BPF_PROG_TYPE_KPROBE') 117 local fn = b:load_func("do_request", 'BPF_PROG_TYPE_KPROBE') 130 local fn = b:load_func("do_request", 'BPF_PROG_TYPE_KPROBE') 162 local fn = b:load_func("trace_entry", 'BPF_PROG_TYPE_KPROBE') 176 local fn = b:load_func("trace_entry", 'BPF_PROG_TYPE_KPROBE') 207 local fn1 = b:load_func("trace_entry1", 'BPF_PROG_TYPE_KPROBE') 208 local fn2 = b:load_func("trace_entry2", 'BPF_PROG_TYPE_KPROBE') 280 local fn = b:load_func("trace_entry", 'BPF_PROG_TYPE_KPROBE')
|
/external/bcc/examples/networking/tunnel_monitor/ |
D | monitor.py | 18 ingress_fn = b.load_func("handle_ingress", BPF.SCHED_CLS) 19 egress_fn = b.load_func("handle_egress", BPF.SCHED_CLS) 20 outer_fn = b.load_func("handle_outer", BPF.SCHED_CLS) 21 inner_fn = b.load_func("handle_inner", BPF.SCHED_CLS)
|
/external/bcc/examples/networking/neighbor_sharing/ |
D | tc_neighbor_sharing.py | 16 wan_fn = b.load_func("classify_wan", BPF.SCHED_CLS) 17 pass_fn = b.load_func("pass", BPF.SCHED_CLS) 18 neighbor_fn = b.load_func("classify_neighbor", BPF.SCHED_CLS)
|
/external/bcc/examples/networking/xdp/ |
D | xdp_redirect_map.py | 85 in_fn = b.load_func("xdp_redirect_map", BPF.XDP) 86 out_fn = b.load_func("xdp_dummy", BPF.XDP)
|
D | xdp_redirect_cpu.py | 77 in_fn = b.load_func("xdp_redirect_cpu", BPF.XDP)
|
D | xdp_macswap_count.py | 157 fn = b.load_func("xdp_prog1", mode)
|
D | xdp_drop_count.py | 128 fn = b.load_func("xdp_prog1", mode)
|
/external/bcc/src/lua/bcc/ |
D | bpf.lua | 151 table.insert(result, self:load_func(name, prog_type)) 157 function Bpf:load_func(fn_name, prog_type) function 193 local fn = self:load_func(args.fn_name, 'BPF_PROG_TYPE_KPROBE') 210 local fn = self:load_func(args.fn_name, 'BPF_PROG_TYPE_KPROBE')
|
/external/bcc/src/python/bcc/ |
D | __init__.py | 350 fns.append(self.load_func(func_name, prog_type)) 354 def load_func(self, func_name, prog_type): member in BPF 626 fn = self.load_func(fn_name, BPF.KPROBE) 650 fn = self.load_func(fn_name, BPF.KPROBE) 792 fn = self.load_func(fn_name, BPF.TRACEPOINT) 818 fn = self.load_func(fn_name, BPF.RAW_TRACEPOINT) 879 fn = self.load_func(fn_name, BPF.PERF_EVENT) 985 fn = self.load_func(fn_name, BPF.KPROBE) 1017 fn = self.load_func(fn_name, BPF.KPROBE) 1067 fn = self.load_func(func_name, BPF.KPROBE) [all …]
|
/external/libchrome/third_party/jinja2/ |
D | loaders.py | 310 def __init__(self, load_func): argument 311 self.load_func = load_func 314 rv = self.load_func(template)
|
/external/bcc/examples/networking/vlan_learning/ |
D | vlan_learning.py | 21 phys_fn = b.load_func("handle_phys2virt", BPF.SCHED_CLS) 22 virt_fn = b.load_func("handle_virt2phys", BPF.SCHED_CLS)
|
/external/bcc/examples/networking/distributed_bridge/ |
D | tunnel.py | 20 ingress_fn = b.load_func("handle_ingress", BPF.SCHED_CLS) 21 egress_fn = b.load_func("handle_egress", BPF.SCHED_CLS)
|
D | tunnel_mesh.py | 23 ingress_fn = b.load_func("handle_ingress", BPF.SCHED_CLS) 24 egress_fn = b.load_func("handle_egress", BPF.SCHED_CLS)
|
/external/python/jinja/src/jinja2/ |
D | loaders.py | 393 def __init__(self, load_func): argument 394 self.load_func = load_func 397 rv = self.load_func(template)
|
/external/bcc/examples/networking/ |
D | simple_tc.py | 18 fn = b.load_func("hello", BPF.SCHED_CLS)
|
D | tc_perf_event.py | 66 fn = b.load_func("handle_egress", BPF.SCHED_CLS)
|
/external/bcc/tests/cc/ |
D | test_prog_table.cc | 45 res = bpf2.load_func("hello", BPF_PROG_TYPE_SCHED_CLS, fd);
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_x448.py | 159 passwd, load_func, backend): argument 162 loaded_key = load_func(serialized, passwd, backend)
|
/external/bcc/src/cc/api/ |
D | BPF.cc | 174 TRY2(load_func(probe_func, BPF_PROG_TYPE_KPROBE, probe_fd)); in attach_kprobe() 207 TRY2(load_func(probe_func, BPF_PROG_TYPE_KPROBE, probe_fd)); in attach_uprobe() 281 TRY2(load_func(probe_func, BPF_PROG_TYPE_TRACEPOINT, probe_fd)); in attach_tracepoint() 309 TRY2(load_func(probe_func, BPF_PROG_TYPE_PERF_EVENT, probe_fd)); in attach_perf_event() 350 TRY2(load_func(probe_func, BPF_PROG_TYPE_PERF_EVENT, probe_fd)); in attach_perf_event_raw() 532 StatusTuple BPF::load_func(const std::string& func_name, bpf_prog_type type, in load_func() function in ebpf::BPF
|
/external/bcc/examples/networking/http_filter/ |
D | http-parse-simple.py | 69 function_http_filter = bpf.load_func("http_filter", BPF.SOCKET_FILTER)
|
/external/bcc/src/cc/frontends/p4/test/ |
D | testP4toEbpf.py | 69 fn = b.load_func("ebpf_filter", BPF.SCHED_CLS)
|