Lines Matching refs:os_area_db
142 struct os_area_db { struct
385 static int db_verify(const struct os_area_db *db) in db_verify()
407 const struct os_area_db *db;
430 static int db_for_each_64(const struct os_area_db *db, in db_for_each_64()
461 static int db_delete_64(struct os_area_db *db, const struct os_area_db_id *id) in db_delete_64()
478 static int db_set_64(struct os_area_db *db, const struct os_area_db_id *id, in db_set_64()
516 static int db_get_64(const struct os_area_db *db, in db_get_64()
532 static int db_get_rtc_diff(const struct os_area_db *db, int64_t *rtc_diff) in db_get_rtc_diff()
538 static void _dump_db(const struct os_area_db *db, const char *func, in _dump_db()
562 static void os_area_db_init(struct os_area_db *db) in os_area_db_init()
565 HEADER_SIZE = offsetof(struct os_area_db, _db_data), in os_area_db_init()
574 memset(db, 0, sizeof(struct os_area_db)); in os_area_db_init()
594 BUILD_BUG_ON(sizeof(struct os_area_db) != 2 * OS_AREA_SEGMENT_SIZE); in os_area_db_init()
608 > sizeof(struct os_area_db)); in os_area_db_init()
623 struct os_area_db* db; in update_flash_db()
666 count = os_area_flash_write(db, sizeof(struct os_area_db), pos); in update_flash_db()
667 if (count < 0 || count < sizeof(struct os_area_db)) { in update_flash_db()
736 struct os_area_db *db; in ps3_os_area_save_params()
761 db = (struct os_area_db *)__va(lpar_addr in ps3_os_area_save_params()