Lines Matching full:database
57 * ldm_parse_privhead - Read the LDM Database PRIVHEAD structure
58 * @data: Raw database PRIVHEAD structure loaded from the device
61 * This parses the LDM database PRIVHEAD structure supplied in @data and
73 ldm_error("Cannot find PRIVHEAD structure. LDM database is" in ldm_parse_privhead()
95 ldm_info("Database is normally %u bytes, it claims to " in ldm_parse_privhead()
113 * ldm_parse_tocblock - Read the LDM Database TOCBLOCK structure
114 * @data: Raw database TOCBLOCK structure loaded from the device
117 * This parses the LDM Database TOCBLOCK (table of contents) structure supplied
131 ldm_crit ("Cannot find TOCBLOCK, database may be corrupt."); in ldm_parse_tocblock()
160 * ldm_parse_vmdb - Read the LDM Database VMDB structure
161 * @data: Raw database VMDB structure loaded from the device
164 * This parses the LDM Database VMDB structure supplied in @data and sets up
177 ldm_crit ("Cannot find the VMDB, database may be corrupt."); in ldm_parse_vmdb()
253 * @state: Partition check state including device holding the LDM Database
259 * the configuration area (the database). The values are range-checked against
311 ldm_crit ("Database extends beyond the end of the disk."); in ldm_validate_privheads()
318 ldm_crit ("Disk and database overlap."); in ldm_validate_privheads()
341 * @state: Partition check state including device holding the LDM Database
342 * @base: Offset, into @state->disk, of the database
343 * @ldb: Cache of the database structures
345 * Find and compare the four tables of contents of the LDM Database stored on
417 * @state: Partition check state including device holding the LDM Database
418 * @base: Offset, into @bdev, of the database
419 * @ldb: Cache of the database structures
421 * Find the vmdb of the LDM Database stored on @bdev and return the parsed
452 ldm_crit ("Database is not in a consistent state. Aborting."); in ldm_validate_vmdb()
465 "Database is corrupt. Aborting."); in ldm_validate_vmdb()
478 * @state: Partition check state including device holding the LDM Database
528 * @ldb: Cache of the database structures
530 * The LDM Database contains a list of all partitions on all dynamic disks.
556 * @ldb: Cache of the database structures
558 * The database contains ALL the partitions for ALL disk groups, so we need to
560 * the partitions in the database that belong to this disk.
562 * Add each partition in our database, to the parsed_partitions structure.
583 ldm_crit ("Can't find the ID of this disk in the database."); in ldm_create_data_partitions()
646 * Large numbers in the LDM Database are often stored in a packed format. Each
647 * number is prefixed by a one byte width marker. All numbers in the database
681 * Many of the strings in the LDM Database are not NULL terminated. Instead
1144 * ldm_ldmdb_add - Adds a raw VBLK entry to the ldmdb database
1145 * @data: Raw VBLK to add to the database
1147 * @ldb: Cache of the database structures
1212 * Fragmented VBLKs may not be consecutive in the database, so they are placed
1299 * ldm_frag_commit - Validate fragmented VBLKs and add them to the database
1301 * @ldb: Cache of the database structures
1304 * the database for later use.
1332 * ldm_get_vblks - Read the on-disk database of VBLKs into memory
1333 * @state: Partition check state including device holding the LDM Database
1334 * @base: Offset, into @state->disk, of the database
1335 * @ldb: Cache of the database structures
1416 * @state: Partition check state including device holding the LDM Database
1421 * We create a dummy device 1, which contains the LDM database, and then create
1422 * each partition described by the LDM database in sequence as devices 2+. For
1423 * example, if the device is hda, we would have: hda1: LDM database, hda2, hda3,
1453 /* All further references are relative to base (database start). */ in ldm_partition()
1469 ldm_crit ("Failed to read the VBLKs from the database."); in ldm_partition()
1475 ldm_debug ("Parsed LDM database successfully."); in ldm_partition()