Lines Matching refs:rec_size
11127 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local
11141 rec_size = attr->line_info_rec_size; in check_btf_line()
11142 if (rec_size < MIN_BPF_LINEINFO_SIZE || in check_btf_line()
11143 rec_size > MAX_LINEINFO_REC_SIZE || in check_btf_line()
11144 rec_size & (sizeof(u32) - 1)) in check_btf_line()
11162 ncopy = min_t(u32, expected_size, rec_size); in check_btf_line()
11164 err = bpf_check_uarg_tail_zero(ulinfo, expected_size, rec_size); in check_btf_line()
11228 bpfptr_add(&ulinfo, rec_size); in check_btf_line()
11255 u32 i, nr_core_relo, ncopy, expected_size, rec_size; in check_core_relo() local
11272 rec_size = attr->core_relo_rec_size; in check_core_relo()
11273 if (rec_size < MIN_CORE_RELO_SIZE || in check_core_relo()
11274 rec_size > MAX_CORE_RELO_SIZE || in check_core_relo()
11275 rec_size % sizeof(u32)) in check_core_relo()
11280 ncopy = min_t(u32, expected_size, rec_size); in check_core_relo()
11287 err = bpf_check_uarg_tail_zero(u_core_relo, expected_size, rec_size); in check_core_relo()
11315 bpfptr_add(&u_core_relo, rec_size); in check_core_relo()