Home
last modified time | relevance | path

Searched refs:kern_version (Results 1 – 11 of 11) sorted by relevance

/tools/testing/selftests/bpf/
Dtesting_helpers.h18 __u32 kern_version, char *log_buf,
Dtesting_helpers.c297 __u32 kern_version, char *log_buf, in bpf_test_load_program() argument
301 .kern_version = kern_version, in bpf_test_load_program()
/tools/build/feature/
Dtest-bpf.c40 attr.kern_version = 0; in main()
/tools/testing/selftests/net/
Dreuseport_bpf.c118 attr.kern_version = 0; in attach_ebpf()
358 eprog.kern_version = 0; in test_filter_no_reuseport()
/tools/lib/bpf/
Dlibbpf_probes.c127 opts.kern_version = get_kernel_version(); in probe_prog_load()
Dbpf.h77 __u32 kern_version; member
Dbpf.c263 attr.kern_version = OPTS_GET(opts, kern_version, 0); in bpf_prog_load()
Dlibbpf.h273 LIBBPF_API int bpf_object__set_kversion(struct bpf_object *obj, __u32 kern_version);
Dlibbpf.c635 __u32 kern_version; member
1288 obj->kern_version = get_kernel_version(); in bpf_object__new()
1435 obj->kern_version = kver; in bpf_object__init_kversion()
1436 pr_debug("kernel version of %s is %x\n", obj->path, obj->kern_version); in bpf_object__init_kversion()
6887 const char *license, __u32 kern_version, int *prog_fd) in bpf_object_load_prog() argument
6916 load_attr.kern_version = kern_version; in bpf_object_load_prog()
7330 obj->license, obj->kern_version, &prog->fd); in bpf_object__load_progs()
8481 return obj ? obj->kern_version : 0; in bpf_object__kversion()
8494 int bpf_object__set_kversion(struct bpf_object *obj, __u32 kern_version) in bpf_object__set_kversion() argument
8499 obj->kern_version = kern_version; in bpf_object__set_kversion()
Dgen_loader.c955 attr.kern_version = 0; in bpf_gen__prog_load()
/tools/include/uapi/linux/
Dbpf.h1440 __u32 kern_version; /* not used */ member