Home
last modified time | relevance | path

Searched refs:hvb_io_errno (Results 1 – 8 of 8) sorted by relevance

/base/startup/hvb/libhvb/include/
Dhvb_ops.h27 enum hvb_io_errno { enum
40 enum hvb_io_errno (*read_partition)(struct hvb_ops *ops, const char *ptn, int64_t offset,
42 enum hvb_io_errno (*write_partition)(struct hvb_ops *ops, const char *ptn, int64_t offset,
44 enum hvb_io_errno (*valid_rvt_key)(struct hvb_ops *ops, const uint8_t *pubkey,
47 enum hvb_io_errno (*read_rollback)(struct hvb_ops *ops,
50 enum hvb_io_errno (*write_rollback)(struct hvb_ops *ops, uint64_t rollback_index_location,
52 enum hvb_io_errno (*read_lock_state)(struct hvb_ops *ops, bool *lock_state);
53 … enum hvb_io_errno (*get_partiton_size)(struct hvb_ops *ops, const char *ptn, uint64_t *out_bytes);
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/
Dhvb_ops.c44 static enum hvb_io_errno HvbReadFromPartition(struct hvb_ops* ops, in HvbReadFromPartition()
53 enum hvb_io_errno ret = HVB_IO_ERROR_IO; in HvbReadFromPartition()
131 static enum hvb_io_errno HvbWriteToPartition(struct hvb_ops* ops, in HvbWriteToPartition()
139 static enum hvb_io_errno HvbInvaldateKey(struct hvb_ops* ops, in HvbInvaldateKey()
155 static enum hvb_io_errno HvbReadRollbackIdx(struct hvb_ops* ops, in HvbReadRollbackIdx()
169 static enum hvb_io_errno HvbWriteRollbackIdx(struct hvb_ops* ops, in HvbWriteRollbackIdx()
176 static enum hvb_io_errno HvbReadLockState(struct hvb_ops* ops, in HvbReadLockState()
182 static enum hvb_io_errno HvbGetSizeOfPartition(struct hvb_ops* ops, in HvbGetSizeOfPartition()
/base/startup/hvb/test/
Dhvb_main.c32 static enum hvb_io_errno hvb_read_partition(struct hvb_ops *ops, in hvb_read_partition()
42 enum hvb_io_errno ret = HVB_IO_OK; in hvb_read_partition()
93 static enum hvb_io_errno hvb_write_partition(struct hvb_ops *ops, in hvb_write_partition()
102 enum hvb_io_errno ret = HVB_IO_OK; in hvb_write_partition()
140 static enum hvb_io_errno hvb_read_rollback(struct hvb_ops *ops, in hvb_read_rollback()
151 static enum hvb_io_errno hvb_write_rollback(struct hvb_ops *ops, in hvb_write_rollback()
158 static enum hvb_io_errno hvb_get_partiton_uuid(struct hvb_ops *ops, in hvb_get_partiton_uuid()
170 static enum hvb_io_errno hvb_get_partiton_size(struct hvb_ops *ops, in hvb_get_partiton_size()
175 enum hvb_io_errno ret = HVB_IO_OK; in hvb_get_partiton_size()
/base/update/sys_installer/services/module_update/util/src/
Dmodule_hvb_ops.cpp64 static enum hvb_io_errno HvbReadFromPartition( in HvbReadFromPartition()
104 static enum hvb_io_errno HvbWriteToPartition( in HvbWriteToPartition()
110 static enum hvb_io_errno HvbInvalidateKey(struct hvb_ops *ops, const uint8_t *publicKeyData, uint64… in HvbInvalidateKey()
122 static enum hvb_io_errno HvbReadRollbackIdx( in HvbReadRollbackIdx()
135 static enum hvb_io_errno HvbWriteRollbackIdx( in HvbWriteRollbackIdx()
141 static enum hvb_io_errno HvbReadLockState(struct hvb_ops *ops, bool *lock_state) in HvbReadLockState()
146 static enum hvb_io_errno HvbGetSizeOfPartition(struct hvb_ops *ops, const char *partition, uint64_t… in HvbGetSizeOfPartition()
/base/startup/hvb/libhvb/src/footer/
Dhvb_footer.c51 enum hvb_io_errno io_ret = HVB_IO_OK; in _load_and_parse_footer()
77 enum hvb_io_errno io_ret = HVB_IO_OK; in _load_cert()
/base/startup/hvb/libhvb/src/cmdline/
Dhvb_cmdline.c105 enum hvb_io_errno io_ret = HVB_IO_OK; in hvb_creat_cmdline()
/base/startup/hvb/libhvb/src/cert/
Dhvb_cert.c99 enum hvb_io_errno io_ret = HVB_IO_OK; in hash_image_init_desc()
356 enum hvb_io_errno io_ret = HVB_IO_OK; in _check_rollback_index()
/base/startup/hvb/libhvb/src/auth/
Dhvb.c75 enum hvb_io_errno io_ret = HVB_IO_OK; in hvb_rvt_verify_root()