Lines Matching refs:wcnt
204 ssize_t wcnt = 0; in psz_zone_write() local
231 wcnt = writeop((const char *)zone->buffer->data + off, wlen, in psz_zone_write()
233 if (wcnt != wlen) in psz_zone_write()
238 wcnt = writeop((const char *)zone->buffer, wlen, zone->off); in psz_zone_write()
239 if (wcnt != wlen) in psz_zone_write()
244 wcnt = writeop((const char *)zone->buffer, wlen, zone->off); in psz_zone_write()
245 if (wcnt != wlen) in psz_zone_write()
253 if (wcnt == -ENOMSG) in psz_zone_write()
257 if (wcnt == -EBUSY && !is_on_panic()) in psz_zone_write()
348 unsigned int wcnt = cxt->kmsg_write_cnt; in psz_kmsg_recover_data() local
349 struct pstore_zone *new = cxt->kpszs[wcnt]; in psz_kmsg_recover_data()
355 i, wcnt); in psz_kmsg_recover_data()
358 cxt->kmsg_write_cnt = (wcnt + 1) % cxt->kmsg_max_cnt; in psz_kmsg_recover_data()