Searched refs:log_true_size (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | verifier_log.c | 181 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/ |
D | bpf.h | 104 __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
|
D | bpf.c | 235 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/ |
D | bpf.h | 1454 __u32 log_true_size; member
|
/linux-6.6.21/include/uapi/linux/ |
D | bpf.h | 1454 __u32 log_true_size; member
|
/linux-6.6.21/kernel/bpf/ |
D | btf.c | 5461 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()
|
D | verifier.c | 20193 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()
|
D | syscall.c | 2581 #define BPF_PROG_LOAD_LAST_FIELD log_true_size
|