Searched refs:struct_ops (Results 1 - 8 of 8) sorted by last modified time

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtest_struct_ops_module.c65 skel->struct_ops.testmod_1->data = 13;
66 skel->struct_ops.testmod_1->test_2 = skel->progs.test_3;
109 skel->struct_ops.testmod_zeroed->zeroed = 0;
111 skel->struct_ops.testmod_zeroed->zeroed_op = NULL;
127 skel->struct_ops.testmod_zeroed->zeroed = 0xdeadbeef;
128 skel->struct_ops.testmod_zeroed->zeroed_op = NULL;
142 skel->struct_ops.testmod_zeroed->zeroed_op = skel->progs.test_3;
190 skel->struct_ops.ops->test_1 = NULL;
203 /* validate that libbpf generates reasonable error message if struct_ops is
204 * not referenced in any struct_ops ma
[all...]
H A Dstruct_ops_autocreate.c29 ASSERT_HAS_SUBSTR(log, "libbpf: struct_ops init_kern", "init_kern message");
128 skel->struct_ops.testmod_1->test_1 = skel->progs.foo;
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1710 __u32 map_fd; /* struct_ops to attach */
1784 /* new struct_ops map fd to update link with */
6665 } struct_ops; member in union:bpf_link_info::__anon3568
/linux-master/tools/bpf/bpftool/
H A Dlink.c538 info->struct_ops.map_id);
599 printf("map %u ", info->struct_ops.map_id);
/linux-master/kernel/bpf/
H A Dbtf.c4075 static struct btf_kind_operations struct_ops = { variable in typeref:struct:btf_kind_operations
5013 [BTF_KIND_STRUCT] = &struct_ops,
5014 [BTF_KIND_UNION] = &struct_ops,
8977 return check_btf_kconfigs(st_ops->owner, "struct_ops");
H A Dbpf_struct_ops.c150 * The name of a stub function is made up of the name of the struct_ops and
152 * if the struct_ops type is named "foo_ops" and the function pointer
181 * struct_ops type.
187 * Each member in the struct_ops type has a struct bpf_struct_ops_arg_info
190 * BPF struct_ops program assigned to the member. Here, we only care about
194 * prog->aux->ctx_arg_info of BPF struct_ops programs and passed to the
325 pr_warn("struct_ops name %s is too long\n",
332 pr_warn("struct_ops for %s has no cfi_stubs\n", st_ops->name);
463 * many sockets are still utilizing this struct_ops for TCP
777 /* Error during st_ops->reg(). Can happen if this struct_ops need
[all...]
/linux-master/include/uapi/linux/
H A Dbpf.h1710 __u32 map_fd; /* struct_ops to attach */
1784 /* new struct_ops map fd to update link with */
6665 } struct_ops; member in union:bpf_link_info::__anon2958
/linux-master/include/linux/
H A Dbpf_types.h154 BPF_LINK_TYPE(BPF_LINK_TYPE_STRUCT_OPS, struct_ops)

Completed in 221 milliseconds