Home
last modified time | relevance | path

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

/system/core/libcutils/
Dandroid_reboot.c38 struct mntent* mentry; in remount_ro_done() local
45 while ((mentry = getmntent(fp)) != NULL) { in remount_ro_done()
46 if (!strncmp(mentry->mnt_fsname, "/dev/block", 10) && strstr(mentry->mnt_opts, "rw,")) { in remount_ro_done()
/system/vold/
DVolumeManager.cpp498 mntent* mentry; in unmount_tree() local
499 while ((mentry = getmntent(fp)) != NULL) { in unmount_tree()
500 if (strncmp(mentry->mnt_dir, path, path_len) == 0) { in unmount_tree()
501 toUnmount.push_front(std::string(mentry->mnt_dir)); in unmount_tree()
672 mntent* mentry; in unmountAll() local
673 while ((mentry = getmntent(fp)) != NULL) { in unmountAll()
674 if (strncmp(mentry->mnt_dir, "/mnt/", 5) == 0 in unmountAll()
675 || strncmp(mentry->mnt_dir, "/storage/", 9) == 0) { in unmountAll()
676 toUnmount.push_front(std::string(mentry->mnt_dir)); in unmountAll()
1839 mntent* mentry; in listMountedObbs() local
[all …]