Lines Matching refs:ext_sec
2897 struct btf_ext_sec_setup_param *ext_sec) in btf_ext_setup_info() argument
2906 if (ext_sec->len == 0) in btf_ext_setup_info()
2909 if (ext_sec->off & 0x03) { in btf_ext_setup_info()
2911 ext_sec->desc); in btf_ext_setup_info()
2915 info = btf_ext->data + btf_ext->hdr->hdr_len + ext_sec->off; in btf_ext_setup_info()
2916 info_left = ext_sec->len; in btf_ext_setup_info()
2918 if (btf_ext->data + btf_ext->data_size < info + ext_sec->len) { in btf_ext_setup_info()
2920 ext_sec->desc, ext_sec->off, ext_sec->len); in btf_ext_setup_info()
2926 pr_debug(".BTF.ext %s record size not found\n", ext_sec->desc); in btf_ext_setup_info()
2932 if (record_size < ext_sec->min_rec_size || in btf_ext_setup_info()
2935 ext_sec->desc, record_size); in btf_ext_setup_info()
2944 pr_debug("%s section in .BTF.ext has no records", ext_sec->desc); in btf_ext_setup_info()
2955 ext_sec->desc); in btf_ext_setup_info()
2962 ext_sec->desc); in btf_ext_setup_info()
2969 ext_sec->desc); in btf_ext_setup_info()
2978 ext_info = ext_sec->ext_info; in btf_ext_setup_info()
2979 ext_info->len = ext_sec->len - sizeof(__u32); in btf_ext_setup_info()