Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/include/libdm/
Ddm_table.h70 void set_readonly(bool readonly) { readonly_ = readonly; } in set_readonly() argument
71 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.c173 int readonly; in create_files() local
199 readonly = 0; in create_files()
201 readonly = 1; in create_files()
205 readonly); in create_files()
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()
/system/core/fs_mgr/libfiemap/
Dmetadata.h31 SplitFiemap* file, uint64_t partition_size, bool readonly);
Dmetadata.cpp183 SplitFiemap* file, uint64_t partition_size, bool readonly) { in UpdateMetadata() argument
191 if (readonly) attrs |= LP_PARTITION_ATTR_READONLY; in UpdateMetadata()
Dimage_manager.cpp189 bool readonly = !!(flags & CREATE_IMAGE_READONLY); in CreateBackingImage() local
190 if (!UpdateMetadata(metadata_dir_, name, fw.get(), size, readonly)) { in CreateBackingImage()
/system/core/fs_mgr/
Dfs_mgr_priv.h91 bool fs_mgr_set_blk_ro(const std::string& blockdev, bool readonly = true);
Dfs_mgr_overlayfs.cpp788 bool readonly = false) { in fs_mgr_overlayfs_mount_scratch() argument
789 if (readonly) { in fs_mgr_overlayfs_mount_scratch()
814 if (!readonly) { in fs_mgr_overlayfs_mount_scratch()
Dfs_mgr.cpp733 bool fs_mgr_set_blk_ro(const std::string& blockdev, bool readonly) { in fs_mgr_set_blk_ro() argument
739 int ON = readonly; in fs_mgr_set_blk_ro()
/system/core/fs_mgr/liblp/
Dutility.cpp199 bool SetBlockReadonly(int fd, bool readonly) { in SetBlockReadonly() argument
201 int val = readonly; in SetBlockReadonly()
205 (void)readonly; in SetBlockReadonly()
Dutility.h98 bool SetBlockReadonly(int fd, bool readonly);
/system/extras/partition_tools/
Dlpadd.cc428 bool readonly = false; in main() local
437 readonly = true; in main()
471 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/core/liblog/tests/
Dliblog_test.cpp1634 char readonly[PROP_VALUE_MAX]; in TEST() local
1642 property_get(readonly_key, readonly, nothing_val); in TEST()
1643 fprintf(stderr, "INFO: getprop %s -> %s\n", readonly_key, readonly); in TEST()
1645 if (!strcmp(readonly, nothing_val)) { in TEST()
1657 property_get(readonly_key, readonly, nothing_val); in TEST()
1658 if (!strcmp(readonly, domain)) { in TEST()
1667 EXPECT_STRNE(domain, readonly); in TEST()
1670 if (!strcasecmp(readonly, "false") || !readonly[0] || in TEST()
1671 !strcmp(readonly, nothing_val)) { in TEST()
/system/nfc/src/nfa/ce/
Dnfa_ce_act.cc740 bool readonly; in nfa_ce_set_content() local
751 readonly = (p_cb->listen_info[NFA_CE_LISTEN_INFO_IDX_NDEF].flags & in nfa_ce_set_content()
764 status = CE_T3tSetLocalNDEFMsg(readonly, p_cb->ndef_max_size, in nfa_ce_set_content()
772 status = CE_T4tSetLocalNDEFMsg(readonly, p_cb->ndef_max_size, in nfa_ce_set_content()
/system/core/fs_mgr/libdm/
Ddm.cpp258 if (table.readonly()) { in LoadTableAndActivate()