Searched defs:dir (Results 1 - 8 of 8) sorted by relevance

/lxc/src/lxc/
H A Darguments.h93 char *zfsroot, *lowerdir, *dir; member in struct:lxc_arguments
H A Dlxccontainer.h310 * \param bdevtype Backing store type to use (if \c NULL, \c dir will be used).
330 * \param bdevtype Backing store type to use (if \c NULL, \c dir will be used).
859 char *dir; /*!< Directory path */ member in struct:bdev_specs
H A Dstart.c194 DIR *dir; local
200 dir = opendir("/proc/self/fd");
201 if (!dir) {
206 fddir = dirfd(dir);
208 while ((direntp = readdir(dir))) {
234 closedir(dir);
241 closedir(dir); /* cannot fail */
H A Dconfile.c1826 DIR *dir; local
1830 dir = opendir(dirp);
1831 if (!dir) {
1836 while ((direntp = readdir(dir))) {
1865 if (closedir(dir))
1866 WARN("lxc.include dir: failed to close directory");
H A Dutils.c94 DIR *dir; local
99 dir = opendir(dirname);
100 if (!dir) {
105 while ((direntp = readdir(dir))) {
174 ret = closedir(dir);
241 extern int mkdir_p(const char *dir, mode_t mode) argument
243 const char *tmp = dir;
244 const char *orig = dir;
248 dir = tmp + strspn(tmp, "/");
249 tmp = dir
1538 is_subdir(const char *subdir, const char *dir, size_t len) argument
2089 DIR *dir; local
[all...]
H A Dlxccontainer.c632 DIR *dir; local
635 dir = opendir("/proc/self/task");
636 if (!dir) {
641 while ((direntp = readdir(dir))) {
653 closedir(dir);
983 ERROR("Failed to chown container dir");
990 * create the standard expected container dir
1047 /* if we are not root, chown the rootfs dir to root in the
1114 if (strcmp(bdev->type, "dir") && strcmp(bdev->type, "btrfs")) {
1418 * @bdevtype: backing store type to use. If NULL, dir wil
2298 DIR *dir; local
3521 DIR *dir; local
3681 DIR *dir; local
4234 DIR *dir; local
[all...]
/lxc/src/lxc/cgroups/
H A Dcgfs.c162 DIR *dir; local
166 dir = opendir(dirname);
167 if (!dir) {
172 while ((direntp = readdir(dir))) {
215 ret = closedir(dir);
777 char *dir, *fulloldpath; local
784 * dir: /ab
789 dir = alloca(strlen(oldname) + 1);
790 strcpy(dir, oldname);
798 len = strlen(dir)
[all...]
H A Dcgfsng.c1216 DIR *dir; local
1219 dir = opendir(dirname);
1220 if (!dir)
1223 while ((direntp = readdir(dir))) {
1257 if (closedir(dir) < 0) {
1677 DIR *dir; local
1681 dir = opendir(dirname);
1682 if (!dir)
1685 while ((direntp = readdir(dir))) {
1714 (void) closedir(dir);
[all...]

Completed in 54 milliseconds