Lines Matching refs:os_area_db
130 struct os_area_db { struct
373 static int db_verify(const struct os_area_db *db) in db_verify()
395 const struct os_area_db *db;
418 static int db_for_each_64(const struct os_area_db *db, in db_for_each_64()
449 static int db_delete_64(struct os_area_db *db, const struct os_area_db_id *id) in db_delete_64()
466 static int db_set_64(struct os_area_db *db, const struct os_area_db_id *id, in db_set_64()
504 static int db_get_64(const struct os_area_db *db, in db_get_64()
520 static int db_get_rtc_diff(const struct os_area_db *db, int64_t *rtc_diff) in db_get_rtc_diff()
526 static void _dump_db(const struct os_area_db *db, const char *func, in _dump_db()
550 static void os_area_db_init(struct os_area_db *db) in os_area_db_init()
553 HEADER_SIZE = offsetof(struct os_area_db, _db_data), in os_area_db_init()
562 memset(db, 0, sizeof(struct os_area_db)); in os_area_db_init()
582 BUILD_BUG_ON(sizeof(struct os_area_db) != 2 * OS_AREA_SEGMENT_SIZE); in os_area_db_init()
596 > sizeof(struct os_area_db)); in os_area_db_init()
611 struct os_area_db* db; in update_flash_db()
652 count = os_area_flash_write(db, sizeof(struct os_area_db), pos); in update_flash_db()
653 if (count < 0 || count < sizeof(struct os_area_db)) { in update_flash_db()
722 struct os_area_db *db; in ps3_os_area_save_params()
747 db = (struct os_area_db *)__va(lpar_addr in ps3_os_area_save_params()