Home
last modified time | relevance | path

Searched refs:desc_string (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/libcper/sections/
H A Dcper-section-ccix-per.c19 char **desc_string) in cper_section_ccix_per_to_ir() argument
22 *desc_string = NULL; in cper_section_ccix_per_to_ir()
28 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_ccix_per_to_ir()
29 if (*desc_string == NULL) { in cper_section_ccix_per_to_ir()
34 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_ccix_per_to_ir()
47 free(*desc_string); in cper_section_ccix_per_to_ir()
48 *desc_string = NULL; in cper_section_ccix_per_to_ir()
H A Dcper-section-ampere.c11 char **desc_string) in cper_section_ampere_to_ir() argument
14 *desc_string = NULL; in cper_section_ampere_to_ir()
20 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_ampere_to_ir()
21 if (*desc_string == NULL) { in cper_section_ampere_to_ir()
26 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_ampere_to_ir()
H A Dcper-section-cxl-component.c18 char **desc_string) in cper_section_cxl_component_to_ir() argument
22 *desc_string = NULL; in cper_section_cxl_component_to_ir()
28 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_cxl_component_to_ir()
29 if (*desc_string == NULL) { in cper_section_cxl_component_to_ir()
34 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_cxl_component_to_ir()
47 free(*desc_string); in cper_section_cxl_component_to_ir()
48 *desc_string = NULL; in cper_section_cxl_component_to_ir()
52 free(*desc_string); in cper_section_cxl_component_to_ir()
53 *desc_string = NULL; in cper_section_cxl_component_to_ir()
H A Dcper-section-firmware.c17 char **desc_string) in cper_section_firmware_to_ir() argument
20 *desc_string = NULL; in cper_section_firmware_to_ir()
26 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_firmware_to_ir()
27 if (*desc_string == NULL) { in cper_section_firmware_to_ir()
32 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_firmware_to_ir()
H A Dcper-section-nvidia.c137 char **desc_string) in cper_section_nvidia_to_ir() argument
139 *desc_string = NULL; in cper_section_nvidia_to_ir()
145 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_nvidia_to_ir()
146 if (*desc_string == NULL) { in cper_section_nvidia_to_ir()
154 free(*desc_string); in cper_section_nvidia_to_ir()
155 *desc_string = NULL; in cper_section_nvidia_to_ir()
181 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_nvidia_to_ir()
189 *desc_string); in cper_section_nvidia_to_ir()
207 strncat(*desc_string, property_desc, in cper_section_nvidia_to_ir()
208 SECTION_DESC_STRING_SIZE - strlen(*desc_string) - 1); in cper_section_nvidia_to_ir()
[all …]
H A Dcper-section-memory.c17 UINT32 size, char **desc_string) in cper_section_platform_memory_to_ir() argument
21 *desc_string = NULL; in cper_section_platform_memory_to_ir()
27 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_platform_memory_to_ir()
28 if (*desc_string == NULL) { in cper_section_platform_memory_to_ir()
72 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_platform_memory_to_ir()
76 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_platform_memory_to_ir()
85 *desc_string); in cper_section_platform_memory_to_ir()
132 strlen(*desc_string) < in cper_section_platform_memory_to_ir()
134 strncat(*desc_string, physical_address_desc, in cper_section_platform_memory_to_ir()
161 if (strlen(node_desc) + strlen(*desc_string) < in cper_section_platform_memory_to_ir()
[all …]
H A Dcper-section-dmar-generic.c17 char **desc_string) in cper_section_dmar_generic_to_ir() argument
21 *desc_string = NULL; in cper_section_dmar_generic_to_ir()
27 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_dmar_generic_to_ir()
28 if (*desc_string == NULL) { in cper_section_dmar_generic_to_ir()
33 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_dmar_generic_to_ir()
H A Dcper-section-pci-dev.c17 char **desc_string) in cper_section_pci_dev_to_ir() argument
21 *desc_string = NULL; in cper_section_pci_dev_to_ir()
27 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_pci_dev_to_ir()
28 if (*desc_string == NULL) { in cper_section_pci_dev_to_ir()
33 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_pci_dev_to_ir()
49 free(*desc_string); in cper_section_pci_dev_to_ir()
50 *desc_string = NULL; in cper_section_pci_dev_to_ir()
H A Dcper-section-dmar-iommu.c19 char **desc_string) in cper_section_dmar_iommu_to_ir() argument
22 *desc_string = NULL; in cper_section_dmar_iommu_to_ir()
28 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_dmar_iommu_to_ir()
29 if (*desc_string == NULL) { in cper_section_dmar_iommu_to_ir()
34 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_dmar_iommu_to_ir()
H A Dcper-section-arm.c52 char **desc_string) in cper_section_arm_to_ir() argument
54 *desc_string = NULL; in cper_section_arm_to_ir()
60 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_arm_to_ir()
61 if (*desc_string == NULL) { in cper_section_arm_to_ir()
66 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_arm_to_ir()
73 *desc_string); in cper_section_arm_to_ir()
129 if (strlen(node_desc_str) + strlen(*desc_string) < in cper_section_arm_to_ir()
131 strncat(*desc_string, node_desc_str, in cper_section_arm_to_ir()
163 free(*desc_string); in cper_section_arm_to_ir()
164 *desc_string = NULL; in cper_section_arm_to_ir()
[all …]
H A Dcper-section-pci-bus.c18 char **desc_string) in cper_section_pci_bus_to_ir() argument
22 *desc_string = NULL; in cper_section_pci_bus_to_ir()
28 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_pci_bus_to_ir()
29 if (*desc_string == NULL) { in cper_section_pci_bus_to_ir()
34 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_pci_bus_to_ir()
H A Dcper-section-cxl-protocol.c18 char **desc_string) in cper_section_cxl_protocol_to_ir() argument
22 *desc_string = NULL; in cper_section_cxl_protocol_to_ir()
28 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_cxl_protocol_to_ir()
29 if (*desc_string == NULL) { in cper_section_cxl_protocol_to_ir()
34 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_cxl_protocol_to_ir()
50 free(*desc_string); in cper_section_cxl_protocol_to_ir()
51 *desc_string = NULL; in cper_section_cxl_protocol_to_ir()
H A Dcper-section-ipf.c21 char **desc_string) in cper_section_ipf_to_ir() argument
24 *desc_string = NULL; in cper_section_ipf_to_ir()
30 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_ipf_to_ir()
31 if (*desc_string == NULL) { in cper_section_ipf_to_ir()
35 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_ipf_to_ir()
H A Dcper-section-arm-ras.c23 static void arm_ras_set_desc_string_valid(char **desc_string) in arm_ras_set_desc_string_valid() argument
25 if (desc_string) { in arm_ras_set_desc_string_valid()
26 *desc_string = malloc(SECTION_DESC_STRING_SIZE); in arm_ras_set_desc_string_valid()
27 if (*desc_string) { in arm_ras_set_desc_string_valid()
28 snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in arm_ras_set_desc_string_valid()
35 char **desc_string) in arm_ras_set_desc_string_invalid() argument
37 if (desc_string) { in arm_ras_set_desc_string_invalid()
38 *desc_string = malloc(SECTION_DESC_STRING_SIZE); in arm_ras_set_desc_string_invalid()
39 if (*desc_string) { in arm_ras_set_desc_string_invalid()
40 snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in arm_ras_set_desc_string_invalid()
[all …]
H A Dcper-section-generic.c19 char **desc_string) in cper_section_generic_to_ir() argument
23 *desc_string = NULL; in cper_section_generic_to_ir()
29 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_generic_to_ir()
30 if (*desc_string == NULL) { in cper_section_generic_to_ir()
35 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_generic_to_ir()
H A Dcper-section-dmar-vtd.c19 char **desc_string) in cper_section_dmar_vtd_to_ir() argument
22 *desc_string = NULL; in cper_section_dmar_vtd_to_ir()
28 *desc_string = calloc(1, SECTION_DESC_STRING_SIZE); in cper_section_dmar_vtd_to_ir()
29 if (*desc_string == NULL) { in cper_section_dmar_vtd_to_ir()
34 outstr_len = snprintf(*desc_string, SECTION_DESC_STRING_SIZE, in cper_section_dmar_vtd_to_ir()
/openbmc/libcper/include/libcper/sections/
H A Dcper-section-memory.h80 char **desc_string);
83 char **desc_string);
H A Dcper-section-ampere.h9 char **desc_string);
H A Dcper-section-dmar-iommu.h13 char **desc_string);
H A Dcper-section-arm-ras.h13 char **desc_string);
H A Dcper-section-firmware.h19 char **desc_string);
H A Dcper-section-pci-bus.h30 char **desc_string);
H A Dcper-section-nvidia.h24 char **desc_string);
H A Dcper-section-dmar-generic.h47 char **desc_string);
H A Dcper-section-generic.h43 char **desc_string);

12