Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/tools/lib/bpf/
Dbpf.c322 OPTS_SET(opts, log_true_size, attr.log_true_size); in bpf_prog_load()
363 OPTS_SET(opts, log_true_size, attr.log_true_size); in bpf_prog_load()
378 OPTS_SET(opts, log_true_size, attr.log_true_size); in bpf_prog_load()
1253 OPTS_SET(opts, log_true_size, attr.btf_log_true_size); in bpf_btf_load()
Dbpf.h108 __u32 log_true_size; member
137 __u32 log_true_size; member
/linux-6.12.1/include/uapi/linux/
Dbpf.h1570 __u32 log_true_size; member
/linux-6.12.1/tools/include/uapi/linux/
Dbpf.h1570 __u32 log_true_size; member
/linux-6.12.1/kernel/bpf/
Dbtf.c5702 u32 log_true_size; in finalize_log() local
5705 err = bpf_vlog_finalize(log, &log_true_size); in finalize_log()
5709 &log_true_size, sizeof(log_true_size))) in finalize_log()
Dverifier.c22305 u32 log_true_size; in bpf_check() local
22476 err = bpf_vlog_finalize(&env->log, &log_true_size); in bpf_check()
22480 if (uattr_size >= offsetofend(union bpf_attr, log_true_size) && in bpf_check()
22481 copy_to_bpfptr_offset(uattr, offsetof(union bpf_attr, log_true_size), in bpf_check()
22482 &log_true_size, sizeof(log_true_size))) { in bpf_check()