Lines Matching refs:pstore_zone

77 struct pstore_zone {  struct
112 struct pstore_zone **kpszs;
113 struct pstore_zone *ppsz;
114 struct pstore_zone *cpsz;
115 struct pstore_zone **fpszs;
160 static inline int buffer_datalen(struct pstore_zone *zone) in buffer_datalen()
165 static inline int buffer_start(struct pstore_zone *zone) in buffer_start()
175 static ssize_t psz_zone_read_buffer(struct pstore_zone *zone, char *buf, in psz_zone_read_buffer()
187 static int psz_zone_read_oldbuf(struct pstore_zone *zone, char *buf, in psz_zone_read_oldbuf()
199 static int psz_zone_write(struct pstore_zone *zone, in psz_zone_write()
262 static int psz_flush_dirty_zone(struct pstore_zone *zone) in psz_flush_dirty_zone()
281 static int psz_flush_dirty_zones(struct pstore_zone **zones, unsigned int cnt) in psz_flush_dirty_zones()
284 struct pstore_zone *zone; in psz_flush_dirty_zones()
300 static int psz_move_zone(struct pstore_zone *old, struct pstore_zone *new) in psz_move_zone()
335 struct pstore_zone *zone = NULL; in psz_kmsg_recover_data()
349 struct pstore_zone *new = cxt->kpszs[wcnt]; in psz_kmsg_recover_data()
374 struct pstore_zone *zone; in psz_kmsg_recover_meta()
481 static int psz_recover_zone(struct psz_context *cxt, struct pstore_zone *zone) in psz_recover_zone()
569 struct pstore_zone **zones, unsigned int cnt) in psz_recover_zones()
573 struct pstore_zone *zone; in psz_recover_zones()
643 static inline bool psz_old_ok(struct pstore_zone *zone) in psz_old_ok()
650 static inline bool psz_ok(struct pstore_zone *zone) in psz_ok()
658 struct pstore_zone *zone, struct pstore_record *record) in psz_kmsg_erase()
681 struct pstore_zone *zone) in psz_record_erase()
720 static void psz_write_kmsg_hdr(struct pstore_zone *zone, in psz_write_kmsg_hdr()
749 struct pstore_zone *zone; in psz_kmsg_write_record()
823 static int notrace psz_record_write(struct pstore_zone *zone, in psz_record_write()
906 static struct pstore_zone *psz_read_next_zone(struct psz_context *cxt) in psz_read_next_zone()
908 struct pstore_zone *zone = NULL; in psz_read_next_zone()
941 static int psz_kmsg_read_hdr(struct pstore_zone *zone, in psz_kmsg_read_hdr()
958 static ssize_t psz_kmsg_read(struct pstore_zone *zone, in psz_kmsg_read()
999 static ssize_t psz_ftrace_read(struct pstore_zone *zone, in psz_ftrace_read()
1030 static ssize_t psz_record_read(struct pstore_zone *zone, in psz_record_read()
1059 ssize_t (*readop)(struct pstore_zone *zone, in psz_pstore_read()
1061 struct pstore_zone *zone; in psz_pstore_read()
1111 static void psz_free_zone(struct pstore_zone **pszone) in psz_free_zone()
1113 struct pstore_zone *zone = *pszone; in psz_free_zone()
1123 static void psz_free_zones(struct pstore_zone ***pszones, unsigned int *cnt) in psz_free_zones()
1125 struct pstore_zone **zones = *pszones; in psz_free_zones()
1150 static struct pstore_zone *psz_init_zone(enum pstore_type_id type, in psz_init_zone()
1154 struct pstore_zone *zone; in psz_init_zone()
1166 zone = kzalloc(sizeof(struct pstore_zone), GFP_KERNEL); in psz_init_zone()
1193 static struct pstore_zone **psz_init_zones(enum pstore_type_id type, in psz_init_zones()
1198 struct pstore_zone **zones, *zone; in psz_init_zones()