Lines Matching defs:path
75 static int device_list_insert(const char *path)
81 dbg("add '%s'" , path);
84 strlcpy(filename, path, sizeof(filename));
91 strlcpy(devpath, &path[strlen(sysfs_path)], sizeof(devpath));
94 if (lstat(path, &statbuf) < 0)
173 static int attr_match(const char *path, const char *attr_value)
188 strlcpy(file, path, sizeof(file));
221 static int attr_filtered(const char *path)
227 if (attr_match(path, loop_name->name))
233 if (attr_match(path, loop_name->name))