Searched defs:fstab (Results 1 - 6 of 6) sorted by relevance
/system/core/fs_mgr/ |
H A D | fs_mgr_main.c | 86 struct fstab *fstab; 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);
|
H A D | fs_mgr_verity.c | 337 int fs_mgr_setup_verity(struct fstab_rec *fstab) { argument 347 char *mount_point = basename(fstab->mount_point); 373 if (read_verity_metadata(fstab->blk_device, 387 if (load_verity_table(io, mount_point, fstab->blk_device, fd, verity_table) < 0) { 397 free(fstab->blk_device); 398 fstab->blk_device = verity_blk_name; 401 if (test_access(fstab->blk_device) < 0) {
|
H A D | fs_mgr.c | 300 struct fstab *fs_mgr_read_fstab(const char *fstab_path) 308 struct fstab *fstab; local 339 ERROR("No entries found in fstab\n"); 343 /* Allocate and init the fstab structure */ 344 fstab = calloc(1, sizeof(struct fstab)); 345 fstab->num_entries = entries; 346 fstab->fstab_filename = strdup(fstab_path); 347 fstab 429 fs_mgr_free_fstab(struct fstab *fstab) argument 573 fs_mgr_mount_all(struct fstab *fstab) argument 655 fs_mgr_do_mount(struct fstab *fstab, char *n_name, char *n_blk_device, char *tmp_mount_point) argument 741 fs_mgr_unmount_all(struct fstab *fstab) argument 764 fs_mgr_swapon_all(struct fstab *fstab) argument 842 fs_mgr_get_crypt_info(struct fstab *fstab, char *key_loc, char *real_blk_device, int size) argument 881 fs_mgr_add_entry(struct fstab *fstab, const char *mount_point, const char *fs_type, const char *blk_device, long long length) argument 909 fs_mgr_get_entry_for_mount_point(struct fstab *fstab, const char *path) argument 928 fs_mgr_is_voldmanaged(struct fstab_rec *fstab) argument 933 fs_mgr_is_nonremovable(struct fstab_rec *fstab) argument 938 fs_mgr_is_encryptable(struct fstab_rec *fstab) argument 943 fs_mgr_is_noemulatedsd(struct fstab_rec *fstab) argument [all...] |
/system/core/fs_mgr/include/ |
H A D | fs_mgr.h | 27 struct fstab { struct 49 struct fstab *fs_mgr_read_fstab(const char *fstab_path); 50 void fs_mgr_free_fstab(struct fstab *fstab); 51 int fs_mgr_mount_all(struct fstab *fstab); 52 int fs_mgr_do_mount(struct fstab *fstab, char *n_name, char *n_blk_device, 55 int fs_mgr_unmount_all(struct fstab *fstab); [all...] |
/system/vold/ |
H A D | 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 [all...] |
/system/core/init/ |
H A D | builtins.c | 468 struct fstab *fstab; local 492 fstab = fs_mgr_read_fstab(args[1]); 493 child_ret = fs_mgr_mount_all(fstab); 494 fs_mgr_free_fstab(fstab); 521 struct fstab *fstab; local 524 fstab = fs_mgr_read_fstab(args[1]); 525 ret = fs_mgr_swapon_all(fstab); 526 fs_mgr_free_fstab(fstab); [all...] |
Completed in 693 milliseconds