Searched refs:hwid_len (Results 1 – 1 of 1) sorted by relevance
541 ssize_t hwid_len = -ENOSYS; in get_sn_from_hwid() local544 hwid_len = hwinfo_get_device_id(hwid, sizeof(hwid)); in get_sn_from_hwid()547 if (hwid_len < 0) { in get_sn_from_hwid()548 if (hwid_len == -ENOSYS) { in get_sn_from_hwid()552 return hwid_len; in get_sn_from_hwid()555 for (ssize_t i = 0; i < hwid_len; i++) { in get_sn_from_hwid()560 return hwid_len * 2; in get_sn_from_hwid()576 ssize_t hwid_len = get_sn_from_hwid(hwid_sn); in string_ascii7_to_utf16le() local578 if (hwid_len < 0) { in string_ascii7_to_utf16le()583 head.bLength = sizeof(head) + hwid_len * 2; in string_ascii7_to_utf16le()