Symbol: BPF_PROG_TYPE_STRUCT_OPS
drivers/hid/bpf/hid_bpf_dispatch.c
668
err = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &hid_bpf_kfunc_set);
include/linux/bpf_types.h
71
BPF_PROG_TYPE(BPF_PROG_TYPE_STRUCT_OPS, bpf_struct_ops,
include/linux/bpf_verifier.h
1291
case BPF_PROG_TYPE_STRUCT_OPS:
io_uring/bpf-ops.c
130
ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS,
kernel/bpf/bpf_struct_ops.c
1464
if (prog->type != BPF_PROG_TYPE_STRUCT_OPS)
kernel/bpf/bpf_struct_ops.c
1473
if (prog->type != BPF_PROG_TYPE_STRUCT_OPS)
kernel/bpf/bpf_struct_ops.c
1493
if (prog->type != BPF_PROG_TYPE_STRUCT_OPS)
kernel/bpf/bpf_struct_ops.c
806
if (prog->type != BPF_PROG_TYPE_STRUCT_OPS ||
kernel/bpf/btf.c
6309
case BPF_PROG_TYPE_STRUCT_OPS:
kernel/bpf/btf.c
6624
case BPF_PROG_TYPE_STRUCT_OPS:
kernel/bpf/btf.c
9038
case BPF_PROG_TYPE_STRUCT_OPS:
kernel/bpf/core.c
2548
case BPF_PROG_TYPE_STRUCT_OPS:
kernel/bpf/cpumask.c
527
ret = ret ?: register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &cpumask_kfunc_set);
kernel/bpf/helpers.c
4997
ret = ret ?: register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &generic_kfunc_set);
kernel/bpf/syscall.c
2741
case BPF_PROG_TYPE_STRUCT_OPS:
kernel/bpf/syscall.c
2881
case BPF_PROG_TYPE_STRUCT_OPS: /* has access to struct sock */
kernel/bpf/syscall.c
6329
if (prog->type == BPF_PROG_TYPE_STRUCT_OPS) {
kernel/bpf/verifier.c
16483
case BPF_PROG_TYPE_STRUCT_OPS:
kernel/bpf/verifier.c
16511
case BPF_PROG_TYPE_STRUCT_OPS:
kernel/bpf/verifier.c
16547
if (prog_type == BPF_PROG_TYPE_STRUCT_OPS) {
kernel/bpf/verifier.c
16581
if (prog_type == BPF_PROG_TYPE_STRUCT_OPS && !ret_type)
kernel/bpf/verifier.c
18488
if (!subprog && env->prog->type == BPF_PROG_TYPE_STRUCT_OPS) {
kernel/bpf/verifier.c
19326
prog->type == BPF_PROG_TYPE_STRUCT_OPS ||
kernel/bpf/verifier.c
19354
if (prog->type == BPF_PROG_TYPE_STRUCT_OPS)
kernel/bpf/verifier.c
5043
case BPF_PROG_TYPE_STRUCT_OPS:
kernel/bpf/verifier.c
9963
if (type == BPF_PROG_TYPE_STRUCT_OPS && !exception_exit &&
kernel/sched/ext/cid.c
706
return register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &scx_kfunc_set_init) ?:
kernel/sched/ext/cid.c
707
register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &scx_kfunc_set_cid) ?:
kernel/sched/ext/ext.c
10628
if (prog->type != BPF_PROG_TYPE_STRUCT_OPS)
kernel/sched/ext/ext.c
10769
if ((ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS,
kernel/sched/ext/ext.c
10771
(ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS,
kernel/sched/ext/ext.c
10773
(ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS,
kernel/sched/ext/ext.c
10775
(ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS,
kernel/sched/ext/ext.c
10779
(ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS,
kernel/sched/ext/idle.c
1509
return register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &scx_kfunc_set_idle) ?:
kernel/sched/ext/idle.c
1512
register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &scx_kfunc_set_select_cpu) ?:
net/ipv4/bpf_tcp_ca.c
349
ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &bpf_tcp_ca_kfunc_set);
net/ipv4/tcp_bbr.c
1181
ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &tcp_bbr_kfunc_set);
net/ipv4/tcp_cubic.c
535
ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &tcp_cubic_kfunc_set);
net/ipv4/tcp_dctcp.c
300
ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &tcp_dctcp_kfunc_set);
net/sched/bpf_qdisc.c
470
ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &bpf_qdisc_kfunc_set);
tools/lib/bpf/libbpf.c
10540
if (prog->type != BPF_PROG_TYPE_STRUCT_OPS) {
tools/lib/bpf/libbpf.c
1118
return prog->type == BPF_PROG_TYPE_STRUCT_OPS;
tools/lib/bpf/libbpf.c
1140
if (prog->type != BPF_PROG_TYPE_STRUCT_OPS)
tools/lib/bpf/libbpf.c
14761
if (prog->type == BPF_PROG_TYPE_STRUCT_OPS) {
tools/lib/bpf/libbpf.c
230
[BPF_PROG_TYPE_STRUCT_OPS] = "struct_ops",
tools/lib/bpf/libbpf.c
3539
if (prog->type == BPF_PROG_TYPE_STRUCT_OPS ||
tools/lib/bpf/libbpf.c
7942
case BPF_PROG_TYPE_STRUCT_OPS:
tools/lib/bpf/libbpf_probes.c
158
case BPF_PROG_TYPE_STRUCT_OPS:
tools/lib/bpf/libbpf_probes.c
454
case BPF_PROG_TYPE_STRUCT_OPS:
tools/sched_ext/include/scx/compat.h
248
if (bpf_program__type(__prog) == BPF_PROG_TYPE_STRUCT_OPS) \
tools/testing/selftests/bpf/prog_tests/token.c
1207
.progs = bit(BPF_PROG_TYPE_STRUCT_OPS),
tools/testing/selftests/bpf/prog_tests/token.c
1218
.progs = bit(BPF_PROG_TYPE_STRUCT_OPS),
tools/testing/selftests/bpf/prog_tests/token.c
1229
.progs = bit(BPF_PROG_TYPE_STRUCT_OPS),
tools/testing/selftests/bpf/prog_tests/token.c
1240
.progs = bit(BPF_PROG_TYPE_STRUCT_OPS),
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
2016
ret = ret ?: register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &bpf_testmod_kfunc_set);