Lines Matching defs:disk
30 * Abstract interface to access arbitrary disk partitioning schemes and
31 * keep Sysinst proper independent of the implementation / on-disk
40 * no value is passed, the backend can query the disk data
43 * byte sectors (as it is not associated with a concrete disk)
124 #define PTI_WHOLE_DISK 2 /* all of the NetBSD disk */
128 #define PTI_RAW_PART 16 /* total disk */
141 daddr_t start, size; /* start and size on disk */
205 * A scheme how to store partitions on-disk, and methods to read/write
209 /* name of the on-disk scheme, retrieved via msg_string */
449 * If force_empty = true, ignore all on-disk contents and just
452 * things for "use whole disk").
463 * Write the whole set (in new_state) back to disk.
468 * Try to read partitions from a disk, return NULL if this is not
471 * If this is about a part of a disk (like only the NetBSD
473 * disk.
480 * Set up all internal data for a new disk.
487 * Optional: this scheme may be used to boot from the given disk
489 bool (*have_boot_support)(const char *disk);
492 * Optional: try to guess disk geometry from the partition information
511 * Get or set a name for the whole disk (most partitioning
548 * Optional: called during updates, before mounting the target disk(s),
561 /* Wipe all on-disk state, leave blank disk - and free data */
569 * The in-memory representation of all partitions on a concrete disk,
580 /* the disk device this came from (or should go to) */
581 const char *disk;
583 /* global/public disk data */
586 * The basic unit of size used for this disk (all "start",
597 * If this is a sub-partitioning, the start of the "disk" is
603 * Total size of the disk (usable for partitioning)
621 * supported (e.g. when partitioning a new disk). NULL terminated.
627 * Generic reader - query a disk device and read all partitions from it