Searched refs:url_len (Results 1 – 2 of 2) sorted by relevance
985 pub extern "C" fn drm_panic_qr_max_data_size(version: u8, url_len: usize) -> usize { in drm_panic_qr_max_data_size()991 if url_len > 0 { in drm_panic_qr_max_data_size()993 if url_len + 5 >= max_data { in drm_panic_qr_max_data_size()996 let max = max_data - url_len - 5; in drm_panic_qr_max_data_size()
692 extern size_t drm_panic_qr_max_data_size(u8 version, size_t url_len);703 int max_qr_data_size, url_len; in drm_panic_get_qr_code_url() local705 url_len = snprintf(url, sizeof(url), CONFIG_DRM_PANIC_SCREEN_QR_CODE_URL "?a=%s&v=%s&zl=", in drm_panic_get_qr_code_url()708 max_qr_data_size = drm_panic_qr_max_data_size(panic_qr_version, url_len); in drm_panic_get_qr_code_url()