Searched refs:firmware_value (Results 1 – 2 of 2) sorted by relevance
72 char firmware_value[PATH_MAX]; in translate_readonly() local107 n = read(firmware_fd, firmware_value, sizeof(firmware_value)); in translate_readonly()112 firmware_value[n] = '\0'; in translate_readonly()114 if (strlen(FIRMWARE_BASE) + strlen(firmware_value) + 1 + in translate_readonly()119 strcat(path, dirname(firmware_value)); in translate_readonly()
203 char firmware_value[PATH_MAX]; in pd_enumerate_jsons() local242 n = read(firmware_fd, firmware_value, sizeof(firmware_value)); in pd_enumerate_jsons()248 firmware_value[n] = '\0'; in pd_enumerate_jsons()250 if (strlen(FIRMWARE_BASE) + strlen(firmware_value) + 1 > sizeof(path)) in pd_enumerate_jsons()254 strcat(path, dirname(firmware_value)); in pd_enumerate_jsons()265 if (strlen(FIRMWARE_BASE) + strlen(firmware_value) + 1 + in pd_enumerate_jsons()