Searched refs:cpath (Results 1 – 1 of 1) sorted by relevance
/system/vold/ |
D | Utils.cpp | 103 const char* cpath = path.c_str(); in CreateDeviceNode() local 108 if (selabel_lookup(sehandle, &tmp_secontext, cpath, S_IFBLK) == 0) { in CreateDeviceNode() 122 if (mknod(cpath, mode, dev) < 0) { in CreateDeviceNode() 133 const char* cpath = path.c_str(); in DestroyDeviceNode() local 134 if (TEMP_FAILURE_RETRY(unlink(cpath))) { in DestroyDeviceNode() 454 const char* cpath = path.c_str(); in PrepareDir() local 459 if (selabel_lookup(sehandle, &tmp_secontext, cpath, S_IFDIR) == 0) { in PrepareDir() 472 if (fs_prepare_dir(cpath, mode, uid, gid) != 0) return -errno; in PrepareDir() 478 const char* cpath = path.c_str(); in ForceUnmount() local 479 if (!umount2(cpath, UMOUNT_NOFOLLOW) || errno == EINVAL || errno == ENOENT) { in ForceUnmount() [all …]
|