Home
last modified time | relevance | path

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

/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/ipmitool/
H A D0001-Fru-Fix-edit-field-not-checking-area-existence.patch171 - ((header.offset.board + change_size_by_8) * 8)
178 - header.offset.board += change_size_by_8;
190 - ((header.offset.product + change_size_by_8) * 8)
197 - header.offset.product += change_size_by_8;
244 + header.offsets[i] += change_size_by_8;
253 - header.offset.multi += change_size_by_8;
265 + header.offset.internal += change_size_by_8;
280 + if (change_size_by_8 < 0)
295 + end_of_fru += change_size_by_8 * 8;
296 + int length_of_erase = change_size_by_8 * -1 * 8;
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_fru.c4987 int change_size_by_8; in ipmi_fru_set_field_string_rebuild() local
4992 change_size_by_8 = ((padding_len) / 8) * (-1); in ipmi_fru_set_field_string_rebuild()
4997 change_size_by_8 = 1 + (((padding_len+1) / 8) * (-1)); in ipmi_fru_set_field_string_rebuild()
5001 fru_section_len += (change_size_by_8 * 8); in ipmi_fru_set_field_string_rebuild()
5002 padding_len += (change_size_by_8 * 8); in ipmi_fru_set_field_string_rebuild()
5005 printf("change_size_by_8: %i\n", change_size_by_8); in ipmi_fru_set_field_string_rebuild()
5007 printf("change_size_by_8: %i\n", change_size_by_8); in ipmi_fru_set_field_string_rebuild()
5022 ((header.offset.board + change_size_by_8) * 8) in ipmi_fru_set_field_string_rebuild()
5029 header.offset.board += change_size_by_8; in ipmi_fru_set_field_string_rebuild()
5036 ((header.offset.product + change_size_by_8) * 8) in ipmi_fru_set_field_string_rebuild()
[all …]