Home
last modified time | relevance | path

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

/external/rootdev/
Drootdev.c97 long working_path_size = 0; in match_sysfs_device() local
120 working_path_size = pathconf(basedir, _PC_NAME_MAX) + 1; in match_sysfs_device()
122 if (working_path_size < 0) in match_sysfs_device()
123 working_path_size = PATH_MAX; in match_sysfs_device()
125 working_path = malloc(working_path_size); in match_sysfs_device()
133 entry = malloc(offsetof(struct dirent, d_name) + working_path_size); in match_sysfs_device()
161 path_len = snprintf(working_path, working_path_size, "%s/%s/dev", in match_sysfs_device()