Home | History | Annotate | Download | only in vold

Lines Matching refs:recs

69         if (!strcmp(fstab->recs[i].fs_type, "emmc") ||
70 !strcmp(fstab->recs[i].fs_type, "mtd")) {
74 if (fstab->recs[i].flags & MS_RDONLY) {
77 if (fs_mgr_is_voldmanaged(&fstab->recs[i])) {
81 if (stat(fstab->recs[i].mount_point, &sb) == -1) {
82 SLOGE("Cannot stat mount point %s\n", fstab->recs[i].mount_point);
87 SLOGE("%s is not a directory\n", fstab->recs[i].mount_point);
92 fd = open(fstab->recs[i].mount_point, O_RDONLY);
94 SLOGE("Cannot open %s for FITRIM\n", fstab->recs[i].mount_point);
101 SLOGI("Invoking FITRIM ioctl on %s", fstab->recs[i].mount_point);
103 SLOGE("FITRIM ioctl failed on %s", fstab->recs[i].mount_point);
106 SLOGI("Trimmed %llu bytes on %s\n", range.len, fstab->recs[i].mount_point);