Lines Matching refs:kpszs
112 struct pstore_zone **kpszs; member
324 if (cxt->kpszs) in psz_flush_all_dirty_zones()
325 ret |= psz_flush_dirty_zones(cxt->kpszs, cxt->kmsg_max_cnt); in psz_flush_all_dirty_zones()
344 zone = cxt->kpszs[i]; in psz_kmsg_recover_data()
349 struct pstore_zone *new = cxt->kpszs[wcnt]; in psz_kmsg_recover_data()
392 zone = cxt->kpszs[i]; in psz_kmsg_recover_meta()
464 if (!cxt->kpszs) in psz_kmsg_recover()
707 return psz_kmsg_erase(cxt, cxt->kpszs[record->id], record); in psz_pstore_erase()
757 zone = cxt->kpszs[zonenum]; in psz_kmsg_write_record()
809 if (!cxt->kpszs) in psz_kmsg_write()
911 zone = cxt->kpszs[cxt->kmsg_read_cnt++]; in psz_read_next_zone()
1142 if (cxt->kpszs) in psz_free_all_zones()
1143 psz_free_zones(&cxt->kpszs, &cxt->kmsg_max_cnt); in psz_free_all_zones()
1270 cxt->kpszs = psz_init_zones(PSTORE_TYPE_DMESG, &off, in psz_alloc_zones()
1273 if (IS_ERR(cxt->kpszs)) { in psz_alloc_zones()
1274 err = PTR_ERR(cxt->kpszs); in psz_alloc_zones()
1275 cxt->kpszs = NULL; in psz_alloc_zones()
1370 cxt->pstore.bufsize = cxt->kpszs[0]->buffer_size - in register_pstore_zone()