Home
last modified time | relevance | path

Searched refs:cpath (Results 1 – 1 of 1) sorted by relevance

/system/vold/
DUtils.cpp61 const char* cpath = path.c_str(); in CreateDeviceNode() local
66 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFBLK)) { in CreateDeviceNode()
72 if (mknod(cpath, mode, dev) < 0) { in CreateDeviceNode()
89 const char* cpath = path.c_str(); in DestroyDeviceNode() local
90 if (TEMP_FAILURE_RETRY(unlink(cpath))) { in DestroyDeviceNode()
98 const char* cpath = path.c_str(); in PrepareDir() local
102 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFDIR)) { in PrepareDir()
107 int res = fs_prepare_dir(cpath, mode, uid, gid); in PrepareDir()
122 const char* cpath = path.c_str(); in ForceUnmount() local
123 if (!umount2(cpath, UMOUNT_NOFOLLOW) || errno == EINVAL || errno == ENOENT) { in ForceUnmount()
[all …]