Searched refs:func_id (Results 1 – 5 of 5) sorted by relevance
/kernel/bpf/ |
D | bpf_lsm.c | 55 bpf_lsm_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_lsm_func_proto() argument 57 switch (func_id) { in bpf_lsm_func_proto() 67 return tracing_prog_func_proto(func_id, prog); in bpf_lsm_func_proto()
|
D | verifier.c | 240 int func_id; member 453 static bool is_release_function(enum bpf_func_id func_id) in is_release_function() argument 455 return func_id == BPF_FUNC_sk_release || in is_release_function() 456 func_id == BPF_FUNC_ringbuf_submit || in is_release_function() 457 func_id == BPF_FUNC_ringbuf_discard; in is_release_function() 460 static bool may_be_acquire_function(enum bpf_func_id func_id) in may_be_acquire_function() argument 462 return func_id == BPF_FUNC_sk_lookup_tcp || in may_be_acquire_function() 463 func_id == BPF_FUNC_sk_lookup_udp || in may_be_acquire_function() 464 func_id == BPF_FUNC_skc_lookup_tcp || in may_be_acquire_function() 465 func_id == BPF_FUNC_map_lookup_elem || in may_be_acquire_function() [all …]
|
D | cgroup.c | 1198 cgroup_base_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_base_func_proto() argument 1200 switch (func_id) { in cgroup_base_func_proto() 1210 return bpf_base_func_proto(func_id); in cgroup_base_func_proto() 1215 cgroup_dev_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_dev_func_proto() argument 1217 return cgroup_base_func_proto(func_id, prog); in cgroup_dev_func_proto() 1700 sysctl_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in sysctl_func_proto() argument 1702 switch (func_id) { in sysctl_func_proto() 1716 return cgroup_base_func_proto(func_id, prog); in sysctl_func_proto() 1819 cg_sockopt_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cg_sockopt_func_proto() argument 1821 switch (func_id) { in cg_sockopt_func_proto() [all …]
|
D | helpers.c | 669 bpf_base_func_proto(enum bpf_func_id func_id) in bpf_base_func_proto() argument 671 switch (func_id) { in bpf_base_func_proto() 713 switch (func_id) { in bpf_base_func_proto() 731 switch (func_id) { in bpf_base_func_proto()
|
/kernel/trace/ |
D | bpf_trace.c | 1256 bpf_tracing_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_tracing_func_proto() argument 1258 switch (func_id) { in bpf_tracing_func_proto() 1358 kprobe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in kprobe_prog_func_proto() argument 1360 switch (func_id) { in kprobe_prog_func_proto() 1372 return bpf_tracing_func_proto(func_id, prog); in kprobe_prog_func_proto() 1472 tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in tp_prog_func_proto() argument 1474 switch (func_id) { in tp_prog_func_proto() 1482 return bpf_tracing_func_proto(func_id, prog); in tp_prog_func_proto() 1571 pe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in pe_prog_func_proto() argument 1573 switch (func_id) { in pe_prog_func_proto() [all …]
|