Searched refs:db_hdr (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/kernel/ |
| H A D | ree_fs_ta.c | 97 struct ver_db_hdr db_hdr = { }; in check_update_version() local 115 res = ops->create(&pobj, false, NULL, 0, NULL, 0, &db_hdr, NULL, in check_update_version() 116 sizeof(db_hdr), &fh); in check_update_version() 120 len = sizeof(db_hdr); in check_update_version() 122 res = ops->read(fh, 0, &db_hdr, NULL, &len); in check_update_version() 131 res = ops->write(fh, 0, &db_hdr, NULL, sizeof(db_hdr)); in check_update_version() 134 } else if (len != sizeof(db_hdr)) { in check_update_version() 140 for (i = 0; i < db_hdr.nb_entries; i++) { in check_update_version() 143 res = ops->read(fh, sizeof(db_hdr) + (i * len), &db_entry, in check_update_version() 166 res = ops->write(fh, sizeof(db_hdr) + (i * len), in check_update_version() [all …]
|