Lines Matching refs:cpath
82 const char* cpath = path.c_str(); in CreateDeviceNode() local
87 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFBLK)) { in CreateDeviceNode()
93 if (mknod(cpath, mode, dev) < 0) { in CreateDeviceNode()
110 const char* cpath = path.c_str(); in DestroyDeviceNode() local
111 if (TEMP_FAILURE_RETRY(unlink(cpath))) { in DestroyDeviceNode()
120 const char* cpath = path.c_str(); in PrepareDir() local
124 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFDIR)) { in PrepareDir()
129 int res = fs_prepare_dir(cpath, mode, uid, gid); in PrepareDir()
144 const char* cpath = path.c_str(); in ForceUnmount() local
145 if (!umount2(cpath, UMOUNT_NOFOLLOW) || errno == EINVAL || errno == ENOENT) { in ForceUnmount()
154 if (!umount2(cpath, UMOUNT_NOFOLLOW) || errno == EINVAL || errno == ENOENT) { in ForceUnmount()
160 if (!umount2(cpath, UMOUNT_NOFOLLOW) || errno == EINVAL || errno == ENOENT) { in ForceUnmount()
166 if (!umount2(cpath, UMOUNT_NOFOLLOW) || errno == EINVAL || errno == ENOENT) { in ForceUnmount()