Lines Matching refs:datalen
36 atomic_t datalen; member
162 return atomic_read(&zone->buffer->datalen); in buffer_datalen()
214 atomic_set(&zone->buffer->datalen, wlen + off); in psz_zone_write()
307 atomic_set(&new->buffer->datalen, 0); in psz_move_zone()
311 atomic_set(&old->buffer->datalen, 0); in psz_move_zone()
411 if (zone->buffer_size < atomic_read(&buf->datalen)) { in psz_kmsg_recover_meta()
442 if (!atomic_read(&buf->datalen)) { in psz_kmsg_recover_meta()
446 atomic_read(&buf->datalen)); in psz_kmsg_recover_meta()
454 zone->buffer_size, atomic_read(&buf->datalen)); in psz_kmsg_recover_meta()
513 if (zone->buffer_size < atomic_read(&tmpbuf.datalen) || in psz_recover_zone()
521 if (!atomic_read(&tmpbuf.datalen)) { in psz_recover_zone()
524 atomic_read(&tmpbuf.datalen)); in psz_recover_zone()
530 atomic_read(&tmpbuf.datalen)); in psz_recover_zone()
532 len = atomic_read(&tmpbuf.datalen) + sizeof(*oldbuf); in psz_recover_zone()
539 len = atomic_read(&oldbuf->datalen); in psz_recover_zone()
645 if (zone && zone->oldbuf && atomic_read(&zone->oldbuf->datalen)) in psz_old_ok()
673 atomic_set(&zone->buffer->datalen, 0); in psz_kmsg_erase()
834 if (atomic_read(&zone->buffer->datalen) >= zone->buffer_size) in psz_record_write()
866 atomic_set(&zone->buffer->datalen, zone->buffer_size); in psz_record_write()
966 atomic_set(&zone->buffer->datalen, 0); in psz_kmsg_read()
1017 (char *)buf->data, atomic_read(&buf->datalen)); in psz_ftrace_read()
1043 len = atomic_read(&buf->datalen); in psz_record_read()
1183 atomic_set(&zone->buffer->datalen, 0); in psz_init_zone()