/system/core/fs_mgr/ |
fs_mgr_priv_verity.h | 17 int fs_mgr_setup_verity(struct fstab_rec *fstab)
|
fs_mgr.c | 249 * Tries to mount any of the consecutive fstab entries that match 250 * the mountpoint of the one given by fstab->recs[start_idx]. 253 * attempted_idx: On return, will indicate which fstab rec 259 static int mount_with_alternatives(struct fstab *fstab, int start_idx, int *end_idx, int *attempted_idx) 265 if (!end_idx || !attempted_idx || start_idx >= fstab->num_entries) { 272 /* Hunt down an fstab entry for the same mount point that might succeed */ 274 /* We required that fstab entries for the same mountpoint be consecutive */ 275 i < fstab->num_entries && !strcmp(fstab->recs[start_idx].mount_point, fstab->recs[i].mount_point) [all...] |
fs_mgr_fstab.c | 179 struct fstab *fs_mgr_read_fstab(const char *fstab_path) 188 struct fstab *fstab = NULL; local 217 ERROR("No entries found in fstab\n"); 221 /* Allocate and init the fstab structure */ 222 fstab = calloc(1, sizeof(struct fstab)); 223 fstab->num_entries = entries; 224 fstab->fstab_filename = strdup(fstab_path); 225 fstab->recs = calloc(fstab->num_entries, sizeof(struct fstab_rec)) [all...] |
fs_mgr_main.c | 86 struct fstab *fstab=NULL; local 93 /* The name of the fstab file is last, after the option */ 96 fstab = fs_mgr_read_fstab(fstab_file); 99 return fs_mgr_mount_all(fstab); 101 return fs_mgr_do_mount(fstab, n_name, n_blk_dev, 0); 103 return fs_mgr_unmount_all(fstab); 109 fs_mgr_free_fstab(fstab);
|
/system/core/fs_mgr/include/ |
fs_mgr.h | 28 * The entries must be kept in the same order as they were seen in the fstab. 32 struct fstab { struct 54 struct fstab *fs_mgr_read_fstab(const char *fstab_path); 55 void fs_mgr_free_fstab(struct fstab *fstab); 61 int fs_mgr_mount_all(struct fstab *fstab); 65 int fs_mgr_do_mount(struct fstab *fstab, char *n_name, char *n_blk_device, 68 int fs_mgr_unmount_all(struct fstab *fstab) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/ |
fstab.h | 29 * @(#)fstab.h 8.1 (Berkeley) 6/2/93 38 * File system table, see fstab(5). 48 #define _PATH_FSTAB "/etc/fstab" 49 #define FSTAB "/etc/fstab" /* deprecated */ 57 struct fstab struct 71 extern struct fstab *getfsent (void) __THROW; 72 extern struct fstab *getfsspec (__const char *__name) __THROW; 73 extern struct fstab *getfsfile (__const char *__name) __THROW; 79 #endif /* fstab.h * [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
fstab.h | 29 * @(#)fstab.h 8.1 (Berkeley) 6/2/93 38 * File system table, see fstab(5). 48 #define _PATH_FSTAB "/etc/fstab" 49 #define FSTAB "/etc/fstab" /* deprecated */ 57 struct fstab struct 71 extern struct fstab *getfsent (void) __THROW; 72 extern struct fstab *getfsspec (__const char *__name) __THROW; 73 extern struct fstab *getfsfile (__const char *__name) __THROW; 79 #endif /* fstab.h * [all...] |
/system/vold/ |
fstrim.c | 65 extern struct fstab *fstab; 73 for (i = 0; i < fstab->num_entries; i++) { 75 if (!strcmp(fstab->recs[i].fs_type, "emmc") || 76 !strcmp(fstab->recs[i].fs_type, "mtd")) { 80 if (fstab->recs[i].flags & MS_RDONLY) { 83 if (fs_mgr_is_voldmanaged(&fstab->recs[i])) { 87 if (stat(fstab->recs[i].mount_point, &sb) == -1) { 88 SLOGE("Cannot stat mount point %s\n", fstab->recs[i].mount_point); 93 SLOGE("%s is not a directory\n", fstab->recs[i].mount_point) [all...] |
main.cpp | 43 #define FSTAB_PREFIX "/fstab." 44 struct fstab *fstab; variable in typeref:struct:fstab 165 fstab = fs_mgr_read_fstab(fstab_filename); 166 if (!fstab) { 172 for (i = 0; i < fstab->num_entries; i++) { 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]) & [all...] |
/external/e2fsprogs/install-utils/ |
convfstab | 2 # Make /etc/fstab standard compliant. 20 # Actually there are no comments allowed in /etc/fstab 21 echo "Warning: comment in /etc/fstab detected." >&2 69 done </etc/fstab >/tmp/newfstab.$$ 70 mv -f /etc/fstab /etc/fstab.bak 71 mv -f /tmp/newfstab.$$ /etc/fstab 74 echo "Installation of patched /etc/fstab failed."
|
/device/asus/tilapia/ |
releasetools.py | 68 fstab = info.info_dict["fstab"] 73 (fstab["/staging"].device,)) 77 fstab = info.info_dict["fstab"] 85 (fstab["/radio"].device, fstab["/radio"].device))
|
device.mk | 23 device/asus/tilapia/fstab.grouper:root/fstab.grouper \
|
/device/asus/flo/ |
device.mk | 26 device/asus/flo/fstab.flo:root/fstab.flo \
|
BoardConfig.mk | 25 TARGET_RECOVERY_FSTAB = device/asus/flo/fstab.flo
|
/device/asus/grouper/ |
device.mk | 21 device/asus/grouper/fstab.grouper:root/fstab.grouper \
|
releasetools.py | 47 fstab = info.info_dict["fstab"] 52 (fstab["/staging"].device,))
|
/packages/apps/OMA-DM/setting/ |
Makefile | 9 DM_FSTAB := $(DM_ROOT)/setting/fstab 21 cd $(DM_TOOLS); bash $(DM_GENERATE) -fstab $(DM_FSTAB) -output $(MY_OUT) -dmt $(MY_TREE) 24 cp $(MY_OUT)/treedata/fstab $(DM_ASSETS)/dm/dmt_data/fstab
|
/bootable/recovery/ |
roots.cpp | 38 static struct fstab *fstab = NULL; variable in typeref:struct:fstab 49 fstab = fs_mgr_read_fstab("/etc/recovery.fstab"); 50 if (!fstab) { 51 LOGE("failed to read /etc/recovery.fstab\n"); 55 ret = fs_mgr_add_entry(fstab, "/tmp", "ramdisk", "ramdisk"); 57 LOGE("failed to add /tmp entry to fstab\n"); 58 fs_mgr_free_fstab(fstab); 59 fstab = NULL [all...] |
/device/asus/deb/ |
device.mk | 23 device/asus/deb/fstab.deb:root/fstab.flo \
|
BoardConfig.mk | 25 TARGET_RECOVERY_FSTAB = device/asus/deb/fstab.deb
|
/device/generic/qemu/ |
ranchu_arm64.mk | 37 $(LOCAL_PATH)/fstab.ranchu:root/fstab.ranchu \
|
/build/target/product/ |
emulator.mk | 48 device/generic/goldfish/fstab.goldfish:root/fstab.goldfish \
|
/build/tools/releasetools/ |
add_img_to_target_files | 105 fstab = info_dict["fstab"] 106 if fstab: 107 image_props["fs_type" ] = fstab["/" + what].fs_type 152 fstab = OPTIONS.info_dict["fstab"] 153 if fstab: 154 image_props["fs_type" ] = fstab["/data"].fs_type 184 fstab = OPTIONS.info_dict["fstab"] [all...] |
add_img_to_target_files.py | 105 fstab = info_dict["fstab"] 106 if fstab: 107 image_props["fs_type" ] = fstab["/" + what].fs_type 152 fstab = OPTIONS.info_dict["fstab"] 153 if fstab: 154 image_props["fs_type" ] = fstab["/data"].fs_type 184 fstab = OPTIONS.info_dict["fstab"] [all...] |
/system/extras/tests/fstest/ |
recovery_test.cpp | 40 #define FSTAB_PREFIX "/fstab." 196 struct fstab *fstab = fs_mgr_read_fstab(fstab_filename); local 197 if (!fstab) { 201 for (int i = 0; i < fstab->num_entries; ++i) { 202 if (!strcmp(fstab->recs[i].mount_point, "/cache")) { 203 strcpy(blk_path_, fstab->recs[i].blk_device); 204 if (!strcmp(fstab->recs[i].fs_type, "ext4")) { 207 } else if (!strcmp(fstab->recs[i].fs_type, "f2fs")) { 213 fs_mgr_free_fstab(fstab); [all...] |