Lines Matching refs:mountPoint
106 if (item->mountPoint != NULL) {
107 free(item->mountPoint);
108 item->mountPoint = NULL;
160 item->mountPoint = strdup(p);
161 BEGET_ERROR_CHECK(item->mountPoint != NULL, break, "strdup mountPoint failed.");
255 if ((item->mountPoint != NULL) && (strcmp(item->mountPoint, mp) == 0)) {
316 int GetBlockDeviceByMountPoint(const char *mountPoint, const Fstab *fstab, char *deviceName, int nameLen)
318 if (fstab == NULL || mountPoint == NULL || *mountPoint == '\0' || deviceName == NULL) {
321 FstabItem *item = FindFstabItemForMountPoint(*fstab, mountPoint);
323 BEGET_LOGE("Failed to get fstab item from mount point \" %s \"", mountPoint);
452 const char *mountPoint)
477 !strncmp(mountPoint, "/data", strlen("/data"))) {