Home
last modified time | relevance | path

Searched refs:func_id (Results 1 – 5 of 5) sorted by relevance

/kernel/bpf/
Dbpf_lsm.c55 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()
Dverifier.c240 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 …]
Dcgroup.c1198 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 …]
Dhelpers.c669 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/
Dbpf_trace.c1256 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 …]