Changeset c02d098 in mainline for uspace/lib/fdisk/include/types/fdisk.h
- Timestamp:
- 2015-07-29T20:35:40Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 100b1d1
- Parents:
- c43db5f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fdisk/include/types/fdisk.h
rc43db5f rc02d098 106 106 /** Service ID */ 107 107 service_id_t sid; 108 /** Partitions sorted by index */ 109 list_t parts_idx; /* of fdisk_part_t */ 110 /** Partitions sorted by block address */ 111 list_t parts_ba; 108 /** All partitions */ 109 list_t parts; 110 /** Primary partitions sorted by index */ 111 list_t pri_idx; /* of fdisk_part_t */ 112 /** Primary partitions sorted by block address */ 113 list_t pri_ba; 114 /** Logical partitions sorted by block address */ 115 list_t log_ba; 116 /** Extended partition or NULL */ 117 struct fdisk_part *ext_part; 112 118 /** Disk info */ 113 119 vbd_disk_info_t dinfo; 120 /** Alignment in blocks */ 121 uint64_t align; 114 122 } fdisk_dev_t; 115 123 … … 124 132 125 133 /** Partition */ 126 typedef struct {134 typedef struct fdisk_part { 127 135 /** Containing device */ 128 136 fdisk_dev_t *dev; 129 /** Link to fdisk_dev_t.parts_idx */ 130 link_t ldev_idx; 131 /** Link to fdisk_dev_t.parts_ba */ 132 link_t ldev_ba; 137 /** Link to fdisk_dev_t.parts */ 138 link_t lparts; 139 /** Link to fdisk_dev_t.pri_idx */ 140 link_t lpri_idx; 141 /** Link to fdisk_dev_t.pri_ba */ 142 link_t lpri_ba; 143 /** Link to fdisk_dev_t.log_ba */ 144 link_t llog_ba; 133 145 /** Capacity */ 134 146 fdisk_cap_t capacity;
Note:
See TracChangeset
for help on using the changeset viewer.