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()
158 * ldm_parse_vmdb - Read the LDM Database VMDB structure
159 * @data: Raw database VMDB structure loaded from the device
162 * This parses the LDM Database VMDB structure supplied in @data and sets up
175 ldm_crit ("Cannot find the VMDB, database may be corrupt."); in ldm_parse_vmdb()
251 * @state: Partition check state including device holding the LDM Database
257 * the configuration area (the database). The values are range-checked against
309 ldm_crit ("Database extends beyond the end of the disk."); in ldm_validate_privheads()
316 ldm_crit ("Disk and database overlap."); in ldm_validate_privheads()
339 * @state: Partition check state including device holding the LDM Database
340 * @base: Offset, into @state->disk, of the database
341 * @ldb: Cache of the database structures
343 * Find and compare the four tables of contents of the LDM Database stored on
415 * @state: Partition check state including device holding the LDM Database
416 * @base: Offset, into @bdev, of the database
417 * @ldb: Cache of the database structures
419 * Find the vmdb of the LDM Database stored on @bdev and return the parsed
450 ldm_crit ("Database is not in a consistent state. Aborting."); in ldm_validate_vmdb()
463 "Database is corrupt. Aborting."); in ldm_validate_vmdb()
476 * @state: Partition check state including device holding the LDM Database
526 * @ldb: Cache of the database structures
528 * The LDM Database contains a list of all partitions on all dynamic disks.
554 * @ldb: Cache of the database structures
556 * The database contains ALL the partitions for ALL disk groups, so we need to
558 * the partitions in the database that belong to this disk.
560 * Add each partition in our database, to the parsed_partitions structure.
581 ldm_crit ("Can't find the ID of this disk in the database."); in ldm_create_data_partitions()
644 * Large numbers in the LDM Database are often stored in a packed format. Each
645 * number is prefixed by a one byte width marker. All numbers in the database
679 * Many of the strings in the LDM Database are not NULL terminated. Instead
1142 * ldm_ldmdb_add - Adds a raw VBLK entry to the ldmdb database
1143 * @data: Raw VBLK to add to the database
1145 * @ldb: Cache of the database structures
1210 * Fragmented VBLKs may not be consecutive in the database, so they are placed
1297 * ldm_frag_commit - Validate fragmented VBLKs and add them to the database
1299 * @ldb: Cache of the database structures
1302 * the database for later use.
1330 * ldm_get_vblks - Read the on-disk database of VBLKs into memory
1331 * @state: Partition check state including device holding the LDM Database
1332 * @base: Offset, into @state->disk, of the database
1333 * @ldb: Cache of the database structures
1414 * @state: Partition check state including device holding the LDM Database
1419 * We create a dummy device 1, which contains the LDM database, and then create
1420 * each partition described by the LDM database in sequence as devices 2+. For
1421 * example, if the device is hda, we would have: hda1: LDM database, hda2, hda3,
1451 /* All further references are relative to base (database start). */ in ldm_partition()
1467 ldm_crit ("Failed to read the VBLKs from the database."); in ldm_partition()
1473 ldm_debug ("Parsed LDM database successfully."); in ldm_partition()