Home
last modified time | relevance | path

Searched refs:readonly (Results 1 – 20 of 20) sorted by relevance

/system/core/fs_mgr/libdm/include/libdm/
Ddm_table.h71 void set_readonly(bool readonly) { readonly_ = readonly; } in set_readonly() argument
72 bool readonly() const { return readonly_; } in readonly() function
/system/extras/ioshark/
Dioshark_bench.h49 int readonly; member
103 return (((struct files_db_s *)node)->readonly); in files_db_readonly()
132 void *files_db_add_byfileno(void *handle, int fileno, int readonly);
Dioshark_bench_subr.c69 void *files_db_add_byfileno(void *handle, int fileno, int readonly) in files_db_add_byfileno() argument
81 db_node->readonly = readonly; in files_db_add_byfileno()
131 if (!db_node->readonly && fsync(db_node->fd) < 0) { in files_db_fsync_discard_files()
Dioshark_bench.c173 int readonly; in create_files() local
199 readonly = 0; in create_files()
201 readonly = 1; in create_files()
205 readonly); in create_files()
/system/core/fs_mgr/libfiemap/
Dmetadata.h32 SplitFiemap* file, uint64_t partition_size, bool readonly);
Dmetadata.cpp186 SplitFiemap* file, uint64_t partition_size, bool readonly) { in UpdateMetadata() argument
194 if (readonly) attrs |= LP_PARTITION_ATTR_READONLY; in UpdateMetadata()
Dimage_manager.cpp203 bool readonly = !!(flags & CREATE_IMAGE_READONLY); in CreateBackingImage() local
204 if (!UpdateMetadata(metadata_dir_, name, fw.get(), size, readonly)) { in CreateBackingImage()
/system/core/fs_mgr/
Dfs_mgr_priv.h83 bool fs_mgr_set_blk_ro(const std::string& blockdev, bool readonly = true);
Dfs_mgr_overlayfs_mount.h55 bool MountScratch(const std::string& device_path, bool readonly = false);
Dfs_mgr_overlayfs_mount.cpp538 bool MountScratch(const std::string& device_path, bool readonly) { in MountScratch() argument
539 if (readonly) { in MountScratch()
572 if (!readonly) { in MountScratch()
Dfs_mgr.cpp799 bool fs_mgr_set_blk_ro(const std::string& blockdev, bool readonly) { in fs_mgr_set_blk_ro() argument
805 int ON = readonly; in fs_mgr_set_blk_ro()
/system/core/fs_mgr/liblp/
Dutility.cpp200 bool SetBlockReadonly(int fd, bool readonly) { in SetBlockReadonly() argument
202 int val = readonly; in SetBlockReadonly()
206 (void)readonly; in SetBlockReadonly()
Dutility.h98 bool SetBlockReadonly(int fd, bool readonly);
/system/server_configurable_flags/aconfigd/
Dstorage_files.cpp593 auto readonly = IsFlagReadOnly(context); in SetServerFlagValue() local
594 RETURN_IF_ERROR(readonly, "Failed to check if flag is readonly"); in SetServerFlagValue()
595 if (*readonly) { in SetServerFlagValue()
631 auto readonly = IsFlagReadOnly(context); in SetLocalFlagValue() local
632 RETURN_IF_ERROR(readonly, "Failed to check if flag is readonly") in SetLocalFlagValue()
633 if (*readonly) { in SetLocalFlagValue()
/system/extras/partition_tools/
Dlpadd.cc442 bool readonly = false; in main() local
452 readonly = true; in main()
489 if (readonly) { in main()
DREADME.md14 …>:<GUID>:<attributes>:<size>`. The attributes must be either `none` or `readonly`. The size will b…
56 * `--readonly` - The partition should be mapped as read-only.
/system/sepolicy/private/
Dnetwork_stack.te95 # netd's access should be readonly
101 # netutils_wrapper requires access to be able to run iptables and only needs readonly access
Dartd.te142 # artd needs to reopen a memfd with readonly in order to pass it to subprocesses
/system/nfc/src/nfa/ce/
Dnfa_ce_act.cc735 bool readonly; in nfa_ce_set_content() local
746 readonly = (p_cb->listen_info[NFA_CE_LISTEN_INFO_IDX_NDEF].flags & in nfa_ce_set_content()
759 status = CE_T3tSetLocalNDEFMsg(readonly, p_cb->ndef_max_size, in nfa_ce_set_content()
767 status = CE_T4tSetLocalNDEFMsg(readonly, p_cb->ndef_max_size, in nfa_ce_set_content()
/system/core/fs_mgr/libdm/
Ddm.cpp328 if (table.readonly()) { in LoadTable()