Lines Matching defs:directory
72 * Doesn't handle directory trees, so it's not like rm -rf, but almost such. We
78 DIR *directory;
84 directory = opendir(dir);
85 if (directory == NULL) {
92 while ((ent = readdir(directory)) != NULL) {
115 closedir(directory);
119 /* This says that there isn't already a user of the specified directory even if
121 * happen, the directory is unusable by the pre-existing UML, so we might as
123 * the existing UML somehow corrupting its umid directory
124 * something other than UML sticking stuff in the directory
126 * In any of these cases, the directory isn't useful for anything else.
185 * Try to remove the directory @dir unless it's in use.
187 * Returns 0 for success, < 0 for failure in removal or if the directory is in
370 "uml_dir=<directory>\n"