Lines Matching defs:fru_rec
105 struct fru_rec {
117 static struct fru_rec **fru_records;
154 #define FMPM_MAX_REC_LEN (sizeof(struct fru_rec) + (sizeof(struct cper_fru_poison_desc) * 255))
174 static inline u32 get_fmp_len(struct fru_rec *rec)
179 static struct fru_rec *get_fru_record(u64 fru_id)
181 struct fru_rec *rec;
216 static int update_record_on_storage(struct fru_rec *rec)
243 static bool rec_has_valid_entries(struct fru_rec *rec)
284 static bool rec_has_fpd(struct fru_rec *rec, struct cper_fru_poison_desc *fpd)
300 static void save_spa(struct fru_rec *rec, unsigned int entry,
348 static void update_fru_record(struct fru_rec *rec, struct mce *m)
412 struct fru_rec *rec;
437 static void retire_mem_fmp(struct fru_rec *rec)
471 struct fru_rec *rec;
483 static void set_rec_fields(struct fru_rec *rec)
532 struct fru_rec *rec;
565 static bool fmp_is_usable(struct fru_rec *rec)
612 static bool fmp_is_valid(struct fru_rec *rec)
637 static struct fru_rec *get_valid_record(struct fru_rec *old)
639 struct fru_rec *new;
663 struct fru_rec *old, *new;
688 sizeof(struct fru_rec), &CPER_CREATOR_FMP);
701 saved_nr_entries = len - sizeof(struct fru_rec);
722 static void set_fmp_fields(struct fru_rec *rec, unsigned int cpu)
742 struct fru_rec *rec;
798 max_rec_len = sizeof(struct fru_rec);
809 struct fru_rec *rec;
823 fru_records = kzalloc_objs(struct fru_rec *, max_nr_fru);
885 struct fru_rec *rec;