Lines Matching refs:outstr_len
19 int outstr_len = 0; in cper_section_platform_memory_to_ir() local
69 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_platform_memory_to_ir()
73 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_platform_memory_to_ir()
76 if (outstr_len < 0) { in cper_section_platform_memory_to_ir()
79 } else if (outstr_len > SECTION_DESC_STRING_SIZE) { in cper_section_platform_memory_to_ir()
126 outstr_len = snprintf(physical_address_desc, in cper_section_platform_memory_to_ir()
130 if (outstr_len < 0) { in cper_section_platform_memory_to_ir()
133 } else if (outstr_len > EFI_ERROR_DESCRIPTION_STRING_LEN) { in cper_section_platform_memory_to_ir()
142 outstr_len); in cper_section_platform_memory_to_ir()
161 outstr_len = snprintf(node_desc, in cper_section_platform_memory_to_ir()
164 if (outstr_len < 0) { in cper_section_platform_memory_to_ir()
167 } else if (outstr_len > EFI_ERROR_DESCRIPTION_STRING_LEN) { in cper_section_platform_memory_to_ir()
174 strncat(*desc_string, node_desc, outstr_len); in cper_section_platform_memory_to_ir()
242 int outstr_len = 0; in cper_section_platform_memory2_to_ir() local
293 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_platform_memory2_to_ir()
297 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_platform_memory2_to_ir()
300 if (outstr_len < 0) { in cper_section_platform_memory2_to_ir()
303 } else if (outstr_len > SECTION_DESC_STRING_SIZE) { in cper_section_platform_memory2_to_ir()
329 outstr_len = snprintf(physical_address_desc, in cper_section_platform_memory2_to_ir()
333 if (outstr_len < 0) { in cper_section_platform_memory2_to_ir()
336 } else if (outstr_len > EFI_ERROR_DESCRIPTION_STRING_LEN) { in cper_section_platform_memory2_to_ir()
345 outstr_len); in cper_section_platform_memory2_to_ir()
371 outstr_len = snprintf(node_desc, in cper_section_platform_memory2_to_ir()
374 if (outstr_len < 0) { in cper_section_platform_memory2_to_ir()
377 } else if (outstr_len > EFI_ERROR_DESCRIPTION_STRING_LEN) { in cper_section_platform_memory2_to_ir()
384 strncat(*desc_string, node_desc, outstr_len); in cper_section_platform_memory2_to_ir()