Lines Matching refs:bytes_offset
2146 u32 bytes_offset; in btf_int_check_member() local
2155 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_int_check_member()
2165 if (struct_size < bytes_offset || in btf_int_check_member()
2166 struct_size - bytes_offset < BITS_ROUNDUP_BYTES(nr_copy_bits)) { in btf_int_check_member()
2180 u32 struct_bits_off, nr_bits, nr_int_data_bits, bytes_offset; in btf_int_check_kflag_member() local
2213 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_int_check_kflag_member()
2221 if (struct_size < bytes_offset || in btf_int_check_kflag_member()
2222 struct_size - bytes_offset < BITS_ROUNDUP_BYTES(nr_copy_bits)) { in btf_int_check_kflag_member()
2551 u32 struct_size, struct_bits_off, bytes_offset; in btf_ptr_check_member() local
2555 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_ptr_check_member()
2563 if (struct_size - bytes_offset < sizeof(void *)) { in btf_ptr_check_member()
2876 u32 struct_size, bytes_offset; in btf_array_check_member() local
2889 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_array_check_member()
2890 if (struct_size - bytes_offset < array_size) { in btf_array_check_member()
3127 u32 struct_size, bytes_offset; in btf_struct_check_member() local
3136 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_struct_check_member()
3137 if (struct_size - bytes_offset < member_type->size) { in btf_struct_check_member()
4130 u32 bytes_offset; in __btf_struct_show() local
4137 bytes_offset = BITS_ROUNDDOWN_BYTES(member_offset); in __btf_struct_show()
4142 data + bytes_offset); in __btf_struct_show()
4151 data + bytes_offset, bits8_offset, show); in __btf_struct_show()
4209 u32 struct_size, bytes_offset; in btf_enum_check_member() local
4218 bytes_offset = BITS_ROUNDDOWN_BYTES(struct_bits_off); in btf_enum_check_member()
4219 if (struct_size - bytes_offset < member_type->size) { in btf_enum_check_member()