Home
last modified time | relevance | path

Searched refs:persistent_ram_zone (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/pstore/
H A Dram_internal.h59 struct persistent_ram_zone { struct
82 struct persistent_ram_zone *persistent_ram_new(phys_addr_t start, size_t size, argument
85 void persistent_ram_free(struct persistent_ram_zone **_prz);
86 void persistent_ram_zap(struct persistent_ram_zone *prz);
88 int persistent_ram_write(struct persistent_ram_zone *prz, const void *s,
90 int persistent_ram_write_user(struct persistent_ram_zone *prz,
93 void persistent_ram_save_old(struct persistent_ram_zone *prz);
94 size_t persistent_ram_old_size(struct persistent_ram_zone *prz);
95 void *persistent_ram_old(struct persistent_ram_zone *prz);
96 void persistent_ram_free_old(struct persistent_ram_zone *prz);
[all …]
H A Dram_core.c42 static inline size_t buffer_size(struct persistent_ram_zone *prz) in buffer_size()
47 static inline size_t buffer_start(struct persistent_ram_zone *prz) in buffer_start()
53 static size_t buffer_start_add(struct persistent_ram_zone *prz, size_t a) in buffer_start_add()
75 static void buffer_size_add(struct persistent_ram_zone *prz, size_t a) in buffer_size_add()
98 static void notrace persistent_ram_encode_rs8(struct persistent_ram_zone *prz, in persistent_ram_encode_rs8()
111 static int persistent_ram_decode_rs8(struct persistent_ram_zone *prz, in persistent_ram_decode_rs8()
122 static void notrace persistent_ram_update_ecc(struct persistent_ram_zone *prz, in persistent_ram_update_ecc()
148 static void persistent_ram_update_header_ecc(struct persistent_ram_zone *prz) in persistent_ram_update_header_ecc()
159 static void persistent_ram_ecc_old(struct persistent_ram_zone *prz) in persistent_ram_ecc_old()
188 static int persistent_ram_init_ecc(struct persistent_ram_zone *prz, in persistent_ram_init_ecc()
[all …]
H A Dram.c81 struct persistent_ram_zone **dprzs; /* Oops dump zones */
82 struct persistent_ram_zone *cprz; /* Console zone */
83 struct persistent_ram_zone **fprzs; /* Ftrace zones */
84 struct persistent_ram_zone *mprz; /* PMSG zone */
118 static struct persistent_ram_zone *
119 ramoops_get_next_prz(struct persistent_ram_zone *przs[], int id, in ramoops_get_next_prz()
122 struct persistent_ram_zone *prz; in ramoops_get_next_prz()
172 static bool prz_ok(struct persistent_ram_zone *prz) in prz_ok()
182 struct persistent_ram_zone *prz = NULL; in ramoops_pstore_read()
229 struct persistent_ram_zone *tmp_prz, *prz_next; in ramoops_pstore_read()
[all …]