Home
last modified time | relevance | path

Searched refs:len_total (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/kernel/bpf/
Dlog.c16 if (!!log->ubuf != !!log->len_total) in bpf_verifier_log_attr_valid()
23 if (log->len_total > UINT_MAX >> 2) in bpf_verifier_log_attr_valid()
33 log->len_total = log_size; in bpf_vlog_init()
78 if (log->end_pos < log->len_total) { in bpf_verifier_vlog()
79 new_n = min_t(u32, log->len_total - log->end_pos, n); in bpf_verifier_vlog()
94 if (new_end - log->start_pos >= log->len_total) in bpf_verifier_vlog()
95 new_start = new_end - log->len_total; in bpf_verifier_vlog()
105 new_n = min(n, log->len_total); in bpf_verifier_vlog()
107 div_u64_rem(cur_pos, log->len_total, &buf_start); in bpf_verifier_vlog()
108 div_u64_rem(new_end, log->len_total, &buf_end); in bpf_verifier_vlog()
[all …]
/linux-6.6.21/include/linux/
Dbpf_verifier.h545 u32 len_total; member