HomeSort by relevance Sort by last modified time
    Searched defs:fstab (Results 1 - 12 of 12) sorted by null

  /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/core/fs_mgr/
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);
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...]
  /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...]
  /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...]
  /system/vold/
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...]
  /bootable/recovery/uncrypt/
uncrypt.c 61 static struct fstab* fstab = NULL; variable in typeref:struct:fstab
108 static struct fstab* read_fstab()
110 fstab = NULL;
112 // The fstab path is always "/fstab.${ro.hardware}".
113 char fstab_path[PATH_MAX+1] = "/fstab.";
119 fstab = fs_mgr_read_fstab(fstab_path);
120 if (!fstab) {
125 return 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...]
  /system/core/init/
builtins.c 504 struct fstab *fstab; local
533 fstab = fs_mgr_read_fstab(args[1]);
534 child_ret = fs_mgr_mount_all(fstab);
535 fs_mgr_free_fstab(fstab);
571 struct fstab *fstab; local
574 fstab = fs_mgr_read_fstab(args[1]);
575 ret = fs_mgr_swapon_all(fstab);
576 fs_mgr_free_fstab(fstab);
    [all...]
  /external/e2fsprogs/misc/
fsck.c 66 #define _PATH_MNTTAB "/etc/fstab"
331 * Load the filesystem database from /etc/fstab
369 "WARNING: Your /etc/fstab does not contain the fsck passno\n"
371 " should fix your /etc/fstab file as soon as you can.\n\n"), stderr);
379 /* Lookup filesys in /etc/fstab and return the corresponding entry. */
696 * use that type regardless of what is specified in /etc/fstab.
699 * specified in /etc/fstab, or DEFAULT_FSTYPE.
883 _("%s: skipping bad line in /etc/fstab: bind mount with nonzero fsck pass number\n"),
956 /* Check all file systems, using the /etc/fstab table. */
1257 const char *fstab; local
    [all...]
  /external/qemu/
vl-android.c 3105 char* fstab = NULL; local
    [all...]

Completed in 281 milliseconds