Home
last modified time | relevance | path

Searched refs:fw_de (Results 1 – 1 of 1) sorted by relevance

/device/linaro/dragonboard/qcom/pd-mapper/
Dpd-mapper.c206 struct dirent *fw_de; in pd_enumerate_jsons() local
257 while ((fw_de = readdir(fw_dir)) != NULL) { in pd_enumerate_jsons()
258 if (!strcmp(fw_de->d_name, ".") || !strcmp(fw_de->d_name, "..")) in pd_enumerate_jsons()
261 len = strlen(fw_de->d_name); in pd_enumerate_jsons()
262 if (len < 5 || strcmp(&fw_de->d_name[len - 4], ".jsn")) in pd_enumerate_jsons()
266 strlen(fw_de->d_name) + 1 > sizeof(path)) in pd_enumerate_jsons()
271 strcat(json_path, fw_de->d_name); in pd_enumerate_jsons()