Lines Matching refs:psz_context
111 struct psz_context { struct
140 static struct psz_context pstore_zone_cxt; argument
317 struct psz_context *cxt = &pstore_zone_cxt; in psz_flush_all_dirty_zones()
332 static int psz_kmsg_recover_data(struct psz_context *cxt) in psz_kmsg_recover_data()
371 static int psz_kmsg_recover_meta(struct psz_context *cxt) in psz_kmsg_recover_meta()
460 static int psz_kmsg_recover(struct psz_context *cxt) in psz_kmsg_recover()
481 static int psz_recover_zone(struct psz_context *cxt, struct pstore_zone *zone) in psz_recover_zone()
568 static int psz_recover_zones(struct psz_context *cxt, in psz_recover_zones()
601 static inline int psz_recovery(struct psz_context *cxt) in psz_recovery()
634 struct psz_context *cxt = psi->data; in psz_pstore_open()
657 static inline int psz_kmsg_erase(struct psz_context *cxt, in psz_kmsg_erase()
680 static inline int psz_record_erase(struct psz_context *cxt, in psz_record_erase()
701 struct psz_context *cxt = record->psi->data; in psz_pstore_erase()
723 struct psz_context *cxt = record->psi->data; in psz_write_kmsg_hdr()
745 static inline int notrace psz_kmsg_write_record(struct psz_context *cxt, in psz_kmsg_write_record()
795 static int notrace psz_kmsg_write(struct psz_context *cxt, in psz_kmsg_write()
874 struct psz_context *cxt = record->psi->data; in psz_pstore_write()
906 static struct pstore_zone *psz_read_next_zone(struct psz_context *cxt) in psz_read_next_zone()
1002 struct psz_context *cxt; in psz_ftrace_read()
1058 struct psz_context *cxt = record->psi->data; in psz_pstore_read()
1097 static struct psz_context pstore_zone_cxt = {
1138 static void psz_free_all_zones(struct psz_context *cxt) in psz_free_all_zones()
1234 static int psz_alloc_zones(struct psz_context *cxt) in psz_alloc_zones()
1296 struct psz_context *cxt = &pstore_zone_cxt; in register_pstore_zone()
1432 struct psz_context *cxt = &pstore_zone_cxt; in unregister_pstore_zone()