Lines Matching refs:kmsg_len
599 size_t kmsg_len; in draw_panic_static_kmsg() local
612 while (kmsg_dump_get_buffer(&iter, false, kmsg_buf, sizeof(kmsg_buf), &kmsg_len)) { in draw_panic_static_kmsg()
617 start = kmsg_buf + kmsg_len - 2; in draw_panic_static_kmsg()
618 end = kmsg_buf + kmsg_len - 1; in draw_panic_static_kmsg()
701 size_t kmsg_len, max_kmsg_size; in drm_panic_get_qr_code_url() local
713 kmsg_dump_get_buffer(&iter, false, qrbuf1, max_kmsg_size, &kmsg_len); in drm_panic_get_qr_code_url()
715 if (!kmsg_len) in drm_panic_get_qr_code_url()
725 stream.avail_in = kmsg_len; in drm_panic_get_qr_code_url()
744 kmsg_len = strlen(kmsg); in drm_panic_get_qr_code_url()
757 size_t kmsg_len; in drm_panic_get_qr_code_raw() local
762 kmsg_dump_get_buffer(&iter, false, qrbuf1, max_kmsg_size, &kmsg_len); in drm_panic_get_qr_code_raw()
763 if (!kmsg_len) in drm_panic_get_qr_code_raw()
767 return drm_panic_qr_generate(NULL, qrbuf1, kmsg_len, QR_BUFFER1_SIZE, in drm_panic_get_qr_code_raw()