Searched refs:fru_data_new (Results 1 – 2 of 2) sorted by relevance
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/ipmitool/ |
H A D | 0001-Fru-Fix-edit-field-not-checking-area-existence.patch | 141 - fru_data_new = malloc( fru.size ); 142 + fru_data_new = malloc( new_size ); 144 if (!fru_data_old || !fru_data_new) { 176 - (fru_data_new + ((header.offset.board + change_size_by_8) * 8)), 195 - (fru_data_new + ((header.offset.product + change_size_by_8) * 8)), 242 + (fru_data_new + ((header.offsets[i] + change_size_by_8) * 8)), 263 + (fru_data_new + ((header.offset.internal + change_size_by_8) * 8)), 272 memcpy(fru_data_new, pfru_header, sizeof(struct fru_header)); 285 - fru_data_new + (header.offset.product * 8) + product_len_new, 293 - fru_data_new + (header.offset.product * 8) + product_len_new, [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_fru.c | 4852 uint8_t *fru_data_new = NULL; in ipmi_fru_set_field_string_rebuild() local 4865 fru_data_new = malloc( fru.size ); in ipmi_fru_set_field_string_rebuild() 4867 if( fru_data_old == NULL || fru_data_new == NULL ) in ipmi_fru_set_field_string_rebuild() 4888 memcpy(fru_data_new, fru_data_old, fru.size); in ipmi_fru_set_field_string_rebuild() 5025 (fru_data_new + ((header.offset.board + change_size_by_8) * 8)), in ipmi_fru_set_field_string_rebuild() 5039 (fru_data_new + ((header.offset.product + change_size_by_8) * 8)), in ipmi_fru_set_field_string_rebuild() 5049 *(fru_data_new + chassis_offset + 1) += change_size_by_8; in ipmi_fru_set_field_string_rebuild() 5053 *(fru_data_new + board_offset + 1) += change_size_by_8; in ipmi_fru_set_field_string_rebuild() 5057 *(fru_data_new + product_offset + 1) += change_size_by_8; in ipmi_fru_set_field_string_rebuild() 5058 product_len_new = *(fru_data_new + product_offset + 1) * 8; in ipmi_fru_set_field_string_rebuild() [all …]
|