Searched refs:pathname (Results 1 - 4 of 4) sorted by relevance
/lxc/src/tests/ |
H A D | locktests.c | 125 char *pathname = RUNTIME_PATH "/lxc/lock/var/lib/lxc/"; local 126 ret = stat(pathname, &sb); 129 pathname);
|
/lxc/src/lxc/ |
H A D | utils.c | 96 char pathname[MAXPATHLEN]; local 116 rc = snprintf(pathname, MAXPATHLEN, "%s/%s", dirname, direntp->d_name); 118 ERROR("pathname too long"); 124 ret = rmdir(pathname); 128 INFO("Not deleting snapshot %s", pathname); 132 ret = unlink(pathname); 134 INFO("%s: failed to remove %s", __func__, pathname); 137 SYSERROR("%s: failed to rmdir %s", __func__, pathname); 145 ret = lstat(pathname, &mystat); 147 ERROR("%s: failed to stat %s", __func__, pathname); [all...] |
/lxc/src/lxc/cgroups/ |
H A D | cgfsng.c | 1225 char *pathname; local 1234 pathname = must_make_path(dirname, direntp->d_name, NULL); 1236 if (lstat(pathname, &mystat)) { 1238 WARN("failed to stat %s", pathname); 1245 if (cgroup_rmdir(pathname) < 0) 1248 free(pathname);
|
H A D | cgfs.c | 164 char pathname[MAXPATHLEN]; local 183 rc = snprintf(pathname, MAXPATHLEN, "%s/%s", dirname, direntp->d_name); 185 ERROR("pathname too long"); 191 ret = lstat(pathname, &mystat); 193 SYSERROR("%s: failed to stat %s", __func__, pathname); 200 if (cgroup_rmdir(pathname) < 0) {
|
Completed in 49 milliseconds