fru_rec
static struct fru_rec **fru_records;
#define FMPM_MAX_REC_LEN (sizeof(struct fru_rec) + (sizeof(struct cper_fru_poison_desc) * 255))
static inline u32 get_fmp_len(struct fru_rec *rec)
static struct fru_rec *get_fru_record(u64 fru_id)
struct fru_rec *rec;
static int update_record_on_storage(struct fru_rec *rec)
static bool rec_has_valid_entries(struct fru_rec *rec)
static bool rec_has_fpd(struct fru_rec *rec, struct cper_fru_poison_desc *fpd)
static void save_spa(struct fru_rec *rec, unsigned int entry,
static void update_fru_record(struct fru_rec *rec, struct mce *m)
struct fru_rec *rec;
static void retire_mem_fmp(struct fru_rec *rec)
struct fru_rec *rec;
static void set_rec_fields(struct fru_rec *rec)
struct fru_rec *rec;
static bool fmp_is_usable(struct fru_rec *rec)
static bool fmp_is_valid(struct fru_rec *rec)
static struct fru_rec *get_valid_record(struct fru_rec *old)
struct fru_rec *new;
struct fru_rec *old, *new;
sizeof(struct fru_rec), &CPER_CREATOR_FMP);
saved_nr_entries = len - sizeof(struct fru_rec);
static void set_fmp_fields(struct fru_rec *rec, unsigned int cpu)
struct fru_rec *rec;
max_rec_len = sizeof(struct fru_rec);
struct fru_rec *rec;
fru_records = kzalloc_objs(struct fru_rec *, max_nr_fru);
struct fru_rec *rec;