Home
last modified time | relevance | path

Searched refs:log_true_size (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dverifier_log.c181 opts.log_true_size = 0; in verif_log_subtest()
185 log_true_sz_fixed = opts.log_true_size; in verif_log_subtest()
192 opts.log_true_size = 0; in verif_log_subtest()
195 ASSERT_EQ(opts.log_true_size, log_true_sz_fixed, "log_sz_fixed_null_eq"); in verif_log_subtest()
201 opts.log_true_size = 0; in verif_log_subtest()
205 log_true_sz_rolling = opts.log_true_size; in verif_log_subtest()
212 opts.log_true_size = 0; in verif_log_subtest()
215 ASSERT_EQ(opts.log_true_size, log_true_sz_rolling, "log_true_sz_null_eq"); in verif_log_subtest()
221 opts.log_true_size = 0; in verif_log_subtest()
229 opts.log_true_size = 0; in verif_log_subtest()
[all …]
/linux-6.6.21/tools/lib/bpf/
Dbpf.h104 __u32 log_true_size; member
107 #define bpf_prog_load_opts__last_field log_true_size
132 __u32 log_true_size; member
135 #define bpf_btf_load_opts__last_field log_true_size
Dbpf.c235 const size_t attr_sz = offsetofend(union bpf_attr, log_true_size); in bpf_prog_load()
315 OPTS_SET(opts, log_true_size, attr.log_true_size); in bpf_prog_load()
356 OPTS_SET(opts, log_true_size, attr.log_true_size); in bpf_prog_load()
371 OPTS_SET(opts, log_true_size, attr.log_true_size); in bpf_prog_load()
1213 OPTS_SET(opts, log_true_size, attr.btf_log_true_size); in bpf_btf_load()
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h1454 __u32 log_true_size; member
/linux-6.6.21/include/uapi/linux/
Dbpf.h1454 __u32 log_true_size; member
/linux-6.6.21/kernel/bpf/
Dbtf.c5461 u32 log_true_size; in finalize_log() local
5464 err = bpf_vlog_finalize(log, &log_true_size); in finalize_log()
5468 &log_true_size, sizeof(log_true_size))) in finalize_log()
Dverifier.c20193 u32 log_true_size; in bpf_check() local
20350 err = bpf_vlog_finalize(&env->log, &log_true_size); in bpf_check()
20354 if (uattr_size >= offsetofend(union bpf_attr, log_true_size) && in bpf_check()
20355 copy_to_bpfptr_offset(uattr, offsetof(union bpf_attr, log_true_size), in bpf_check()
20356 &log_true_size, sizeof(log_true_size))) { in bpf_check()
Dsyscall.c2581 #define BPF_PROG_LOAD_LAST_FIELD log_true_size