Lines Matching refs:os_area_db
128 struct os_area_db { struct
371 static int db_verify(const struct os_area_db *db) in db_verify()
393 const struct os_area_db *db;
416 static int db_for_each_64(const struct os_area_db *db, in db_for_each_64()
447 static int db_delete_64(struct os_area_db *db, const struct os_area_db_id *id) in db_delete_64()
464 static int db_set_64(struct os_area_db *db, const struct os_area_db_id *id, in db_set_64()
502 static int __init db_get_64(const struct os_area_db *db, in db_get_64()
518 static int __init db_get_rtc_diff(const struct os_area_db *db, int64_t *rtc_diff) in db_get_rtc_diff()
524 static void _dump_db(const struct os_area_db *db, const char *func, in _dump_db()
548 static void os_area_db_init(struct os_area_db *db) in os_area_db_init()
551 HEADER_SIZE = offsetof(struct os_area_db, _db_data), in os_area_db_init()
560 memset(db, 0, sizeof(struct os_area_db)); in os_area_db_init()
580 BUILD_BUG_ON(sizeof(struct os_area_db) != 2 * OS_AREA_SEGMENT_SIZE); in os_area_db_init()
594 > sizeof(struct os_area_db)); in os_area_db_init()
609 struct os_area_db* db; in update_flash_db()
650 count = os_area_flash_write(db, sizeof(struct os_area_db), pos); in update_flash_db()
651 if (count < 0 || count < sizeof(struct os_area_db)) { in update_flash_db()
720 struct os_area_db *db; in ps3_os_area_save_params()
745 db = (struct os_area_db *)__va(lpar_addr in ps3_os_area_save_params()