Lines Matching refs:curr_record
188 const pldm_pdr_record *curr_record, uint8_t **data, in pldm_pdr_get_next_record() argument
191 if (!repo || !curr_record || !data || !size || !next_record_handle) { in pldm_pdr_get_next_record()
195 if (curr_record == repo->last) { in pldm_pdr_get_next_record()
198 *next_record_handle = get_next_record_handle(repo, curr_record); in pldm_pdr_get_next_record()
202 *next_record_handle = get_next_record_handle(repo, curr_record->next); in pldm_pdr_get_next_record()
203 *data = curr_record->next->data; in pldm_pdr_get_next_record()
204 *size = curr_record->next->size; in pldm_pdr_get_next_record()
205 return curr_record->next; in pldm_pdr_get_next_record()
211 const pldm_pdr_record *curr_record, uint8_t **data, in pldm_pdr_find_record_by_type() argument
219 if (curr_record != NULL) { in pldm_pdr_find_record_by_type()
220 record = curr_record->next; in pldm_pdr_find_record_by_type()
331 const pldm_pdr_record *curr_record = pldm_pdr_find_record_by_type( in pldm_pdr_fru_record_set_find_by_rsi() local
333 while (curr_record != NULL) { in pldm_pdr_fru_record_set_find_by_rsi()
343 return curr_record; in pldm_pdr_fru_record_set_find_by_rsi()
346 curr_record = pldm_pdr_find_record_by_type( in pldm_pdr_fru_record_set_find_by_rsi()
347 repo, PLDM_PDR_FRU_RECORD_SET, curr_record, &data, in pldm_pdr_fru_record_set_find_by_rsi()