Searched refs:recs (Results 1 - 4 of 4) sorted by relevance
/system/core/fs_mgr/ |
H A D | fs_mgr.c | 309 struct fstab_rec *recs; local 347 fstab->recs = calloc(fstab->num_entries, sizeof(struct fstab_rec)); 381 fstab->recs[cnt].blk_device = strdup(p); 387 fstab->recs[cnt].mount_point = strdup(p); 393 fstab->recs[cnt].fs_type = strdup(p); 400 fstab->recs[cnt].flags = parse_flags(p, mount_flags, NULL, 405 fstab->recs[cnt].fs_options = strdup(tmp_fs_options); 407 fstab->recs[cnt].fs_options = NULL; 414 fstab->recs[cnt].fs_mgr_flags = parse_flags(p, fs_mgr_flags, 416 fstab->recs[cn [all...] |
/system/vold/ |
H A D | fstrim.c | 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[ [all...] |
H A D | main.cpp | 173 if (fs_mgr_is_voldmanaged(&fstab->recs[i])) { 178 if (fs_mgr_is_nonremovable(&fstab->recs[i])) { 181 if (fs_mgr_is_encryptable(&fstab->recs[i])) { 185 if (fs_mgr_is_noemulatedsd(&fstab->recs[i]) && 186 !strcmp(fstab->recs[i].fs_type, "vfat")) { 189 dv = new DirectVolume(vm, &(fstab->recs[i]), flags); 191 if (dv->addPath(fstab->recs[i].blk_device)) { 193 fstab->recs[i].blk_device, fstab->recs[i].label);
|
/system/core/fs_mgr/include/ |
H A D | fs_mgr.h | 29 struct fstab_rec *recs; member in struct:fstab
|
Completed in 62 milliseconds