Lines Matching refs:cpath
102 const char* cpath = path.c_str(); in CreateDeviceNode() local
107 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFBLK)) { in CreateDeviceNode()
113 if (mknod(cpath, mode, dev) < 0) { in CreateDeviceNode()
130 const char* cpath = path.c_str(); in DestroyDeviceNode() local
131 if (TEMP_FAILURE_RETRY(unlink(cpath))) { in DestroyDeviceNode()
446 const char* cpath = path.c_str(); in PrepareDir() local
450 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFDIR)) { in PrepareDir()
455 int res = fs_prepare_dir(cpath, mode, uid, gid); in PrepareDir()
473 const char* cpath = path.c_str(); in ForceUnmount() local
474 if (!umount2(cpath, UMOUNT_NOFOLLOW) || errno == EINVAL || errno == ENOENT) { in ForceUnmount()
483 if (!umount2(cpath, UMOUNT_NOFOLLOW) || errno == EINVAL || errno == ENOENT) { in ForceUnmount()
489 if (!umount2(cpath, UMOUNT_NOFOLLOW) || errno == EINVAL || errno == ENOENT) { in ForceUnmount()
495 if (!umount2(cpath, UMOUNT_NOFOLLOW) || errno == EINVAL || errno == ENOENT) { in ForceUnmount()