Searched refs:kern_version (Results 1 – 11 of 11) sorted by relevance
/tools/testing/selftests/bpf/ |
D | testing_helpers.h | 18 __u32 kern_version, char *log_buf,
|
D | testing_helpers.c | 297 __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/ |
D | test-bpf.c | 40 attr.kern_version = 0; in main()
|
/tools/testing/selftests/net/ |
D | reuseport_bpf.c | 118 attr.kern_version = 0; in attach_ebpf() 358 eprog.kern_version = 0; in test_filter_no_reuseport()
|
/tools/lib/bpf/ |
D | libbpf_probes.c | 127 opts.kern_version = get_kernel_version(); in probe_prog_load()
|
D | bpf.h | 77 __u32 kern_version; member
|
D | bpf.c | 263 attr.kern_version = OPTS_GET(opts, kern_version, 0); in bpf_prog_load()
|
D | libbpf.h | 273 LIBBPF_API int bpf_object__set_kversion(struct bpf_object *obj, __u32 kern_version);
|
D | libbpf.c | 635 __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()
|
D | gen_loader.c | 955 attr.kern_version = 0; in bpf_gen__prog_load()
|
/tools/include/uapi/linux/ |
D | bpf.h | 1440 __u32 kern_version; /* not used */ member
|