Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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 …]
/openbmc/linux/tools/lib/bpf/
H A 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
H A 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()
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1471 __u32 log_true_size; member
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1471 __u32 log_true_size; member
/openbmc/linux/kernel/bpf/
H A 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()
H A Dverifier.c20227 u32 log_true_size; in bpf_check() local
20384 err = bpf_vlog_finalize(&env->log, &log_true_size); in bpf_check()
20388 if (uattr_size >= offsetofend(union bpf_attr, log_true_size) && in bpf_check()
20389 copy_to_bpfptr_offset(uattr, offsetof(union bpf_attr, log_true_size), in bpf_check()
20390 &log_true_size, sizeof(log_true_size))) { in bpf_check()
H A Dsyscall.c2585 #define BPF_PROG_LOAD_LAST_FIELD log_true_size