Lines Matching defs:path
42 int auto_path; /* automatically create all path components */
195 * Create paths as needed for all components of a path
197 * Any components of the path that do not exist are created. Errors are
206 const char *path = in_path;
211 while (*path == '/')
212 path++;
214 for (sep = path; *sep; path = sep + 1, offset = node) {
216 sep = strchr(path, '/');
218 sep = path + strlen(path);
220 node = fdt_subnode_offset_namelen(*blob, offset, path,
221 sep - path);
223 *blob = realloc_node(*blob, path);
224 node = fdt_add_subnode_namelen(*blob, offset, path,
225 sep - path);
228 report_error(path, sep - path, node);
331 {"auto-path", no_argument, NULL, 'p'},
338 "Automatically create nodes as needed for the node path",