Searched refs:cpath (Results 1 – 1 of 1) sorted by relevance
/system/vold/ |
D | Utils.cpp | 63 const char* cpath = path.c_str(); in CreateDeviceNode() local 68 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFBLK)) { in CreateDeviceNode() 74 if (mknod(cpath, mode, dev) < 0) { in CreateDeviceNode() 91 const char* cpath = path.c_str(); in DestroyDeviceNode() local 92 if (TEMP_FAILURE_RETRY(unlink(cpath))) { in DestroyDeviceNode() 100 const char* cpath = path.c_str(); in PrepareDir() local 104 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFDIR)) { in PrepareDir() 109 int res = fs_prepare_dir(cpath, mode, uid, gid); in PrepareDir() 124 const char* cpath = path.c_str(); in ForceUnmount() local 125 if (!umount2(cpath, UMOUNT_NOFOLLOW) || errno == EINVAL || errno == ENOENT) { in ForceUnmount() [all …]
|