Home
last modified time | relevance | path

Searched refs:mount_point (Results 1 – 18 of 18) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr.cpp442 check_fs(blk_device, rec->fs_type, rec->mount_point, &fs_stat); in prepare_fs_for_mount()
578 … i < fstab->num_entries && !strcmp(fstab->recs[start_idx].mount_point, fstab->recs[i].mount_point); in mount_with_alternatives()
587 << fstab->recs[i].mount_point << " rec[" << i in mount_with_alternatives()
597 << fstab->recs[i].mount_point << " rec[" << i in mount_with_alternatives()
605 if (!__mount(fstab->recs[i].blk_device, fstab->recs[i].mount_point, in mount_with_alternatives()
611 << " on " << fstab->recs[i].mount_point in mount_with_alternatives()
627 fstab->recs[i].mount_point, &fs_stat); in mount_with_alternatives()
733 "%s/misc/vold/convert_fde", rec->mount_point); in needs_block_encryption()
740 "%s/convert_fbe", rec->mount_point); in needs_block_encryption()
757 if (umount(rec->mount_point) == 0) { in handle_encryptable()
[all …]
Dfs_mgr_verity.cpp602 basename(fstab->mount_point)) >= (int)sizeof(tag)) { in compare_last_signature()
603 LERROR << "Metadata tag name too long for " << fstab->mount_point; in compare_last_signature()
650 basename(fstab->mount_point)) >= (int)sizeof(tag)) { in get_verity_state_offset()
651 LERROR << "Metadata tag name too long for " << fstab->mount_point; in get_verity_state_offset()
765 const std::string mount_point(basename(fstab->mount_point)); in fs_mgr_setup_verity() local
807 if (!fs_mgr_create_verity_device(io, mount_point, fd)) { in fs_mgr_setup_verity()
813 if (!fs_mgr_get_verity_device_name(io, mount_point, fd, &verity_blk_name)) { in fs_mgr_setup_verity()
855 LINFO << "Enabling dm-verity for " << mount_point.c_str() in fs_mgr_setup_verity()
863 if (load_verity_table(io, mount_point, verity.data_size, fd, &params, in fs_mgr_setup_verity()
870 LINFO << "Disabling error correction for " << mount_point.c_str(); in fs_mgr_setup_verity()
[all …]
Dfs_mgr_fstab.cpp448 std::string mount_point; in read_fstab_from_dt() local
453 mount_point = value; in read_fstab_from_dt()
455 mount_point = android::base::StringPrintf("/%s", dp->d_name); in read_fstab_from_dt()
457 fstab_entry.push_back(mount_point); in read_fstab_from_dt()
480 fstab_dt_entries.emplace_back(mount_point, android::base::Join(fstab_entry, " ")); in read_fstab_from_dt()
584 fstab->recs[cnt].mount_point = strdup(p); in fs_mgr_read_fstab_file()
837 free(fstab->recs[i].mount_point); in fs_mgr_free_fstab()
858 const char *mount_point, const char *fs_type, in fs_mgr_add_entry() argument
873 new_fstab_recs[n].mount_point = strdup(mount_point); in fs_mgr_add_entry()
894 if (fstab->recs[i].mount_point && path == fstab->recs[i].mount_point) { in fs_mgr_get_entry_for_mount_point()
Dfs_mgr_avb.cpp361 const std::string mount_point(basename(fstab_entry->mount_point)); in hashtree_dm_verity_setup() local
362 if (!fs_mgr_create_verity_device(io, mount_point, fd)) { in hashtree_dm_verity_setup()
369 if (!fs_mgr_get_verity_device_name(io, mount_point, fd, &verity_blk_name)) { in hashtree_dm_verity_setup()
382 if (!load_verity_table(io, mount_point, fd, hashtree_desc.image_size, verity_table)) { in hashtree_dm_verity_setup()
388 if (!fs_mgr_resume_verity_table(io, mount_point, fd)) { in hashtree_dm_verity_setup()
581 LINFO << "AVB HASHTREE disabled on: " << fstab_entry->mount_point; in SetUpAvbHashtree()
Dfs_mgr_format.cpp146 rc = format_ext4(fstab->blk_device, fstab->mount_point, crypt_footer); in fs_mgr_do_format()
/system/update_engine/
Dutils_android.cc42 bool DeviceForMountPoint(const string& mount_point, base::FilePath* device) { in DeviceForMountPoint() argument
51 record = fs_mgr_get_entry_for_mount_point(fstab, mount_point.c_str()); in DeviceForMountPoint()
53 LOG(ERROR) << "Error finding " << mount_point << " entry in fstab file."; in DeviceForMountPoint()
Dutils_android.h30 bool DeviceForMountPoint(const std::string& mount_point,
/system/core/adb/
Dset_verity_enable_state_service.cpp49 static bool set_verity_enabled_state(int fd, const char* block_device, const char* mount_point, in set_verity_enabled_state() argument
73 WriteFdFmt(fd, "Verity already disabled on %s\n", mount_point); in set_verity_enabled_state()
78 WriteFdFmt(fd, "Verity already enabled on %s\n", mount_point); in set_verity_enabled_state()
89 WriteFdFmt(fd, "Verity %s on %s\n", enable ? "enabled" : "disabled", mount_point); in set_verity_enabled_state()
192 fstab->recs[i].mount_point, enable)) { in set_verity_enabled_state_service()
/system/vold/
DMetadataCrypt.cpp54 static bool mount_via_fs_mgr(const char* mount_point, const char* blk_device) { in mount_via_fs_mgr() argument
61 auto mount_rc = fs_mgr_do_mount(fstab_default, const_cast<char*>(mount_point), in mount_via_fs_mgr()
71 LOG(DEBUG) << "Mounted " << mount_point; in mount_via_fs_mgr()
206 bool e4crypt_mount_metadata_encrypted(const std::string& mount_point, bool needs_encrypt) { in e4crypt_mount_metadata_encrypted() argument
207 LOG(DEBUG) << "e4crypt_mount_metadata_encrypted: " << mount_point << " " << needs_encrypt; in e4crypt_mount_metadata_encrypted()
213 auto data_rec = fs_mgr_get_entry_for_mount_point(fstab_default, mount_point); in e4crypt_mount_metadata_encrypted()
244 LOG(DEBUG) << "Mounting metadata-encrypted filesystem:" << mount_point; in e4crypt_mount_metadata_encrypted()
245 mount_via_fs_mgr(data_rec->mount_point, crypto_blkdev.c_str()); in e4crypt_mount_metadata_encrypted()
DMetadataCrypt.h22 bool e4crypt_mount_metadata_encrypted(const std::string& mount_point, bool needs_encrypt);
DIdleMaint.cpp124 if (prev_rec && !strcmp(prev_rec->mount_point, fstab->recs[i].mount_point)) { in addFromFstab()
129 paths->push_back(fstab->recs[i].mount_point); in addFromFstab()
Dcryptfs.cpp1683 static int do_crypto_complete(const char *mount_point) in do_crypto_complete() argument
1740 const char *passwd, const char *mount_point, const char *label) in test_mount_encrypted_fs() argument
1797 mount_point); in test_mount_encrypted_fs()
1826 saved_mount_point = strdup(mount_point); in test_mount_encrypted_fs()
/system/libvintf/
DVintfObjectRecovery.cpp30 static status_t mountAt(const FstabMgr &fstab, const char* path, const char* mount_point) { in mountAt() argument
35 int result = mount(rec->blk_device, mount_point, rec->fs_type, rec->flags, rec->fs_options); in mountAt()
/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h41 char* mount_point; member
68 int fs_mgr_add_entry(struct fstab* fstab, const char* mount_point, const char* fs_type,
/system/core/fs_mgr/include/
Dfs_mgr.h52 const char *mount_point, int mode, int status);
/system/core/init/
Dinit_first_stage.cpp285 PLOG(ERROR) << "Failed to setup verity for '" << fstab_rec->mount_point << "'"; in MountPartitions()
289 PLOG(ERROR) << "Failed to mount '" << fstab_rec->mount_point << "'"; in MountPartitions()
343 LOG(INFO) << "Verity disabled/skipped for '" << fstab_rec->mount_point << "'"; in SetUpDmVerity()
Dbuiltins.cpp712 static void verity_update_property(fstab_rec *fstab, const char *mount_point, in verity_update_property() argument
714 property_set("partition."s + mount_point + ".verified", std::to_string(mode)); in verity_update_property()
/system/extras/tests/fstest/
Drecovery_test.cpp197 if (!strcmp(fstab->recs[i].mount_point, "/cache")) { in setCacheInfoFromFstab()