Lines Matching defs:volume
168 * component or volume.
171 * partitions in the GEOM_PART meaning. But volume VBLK does not
177 * One volume can contain several components. In this case LDM
178 * does mirroring of volume data to each component.
186 uint64_t vol_id; /* parent volume object id */
195 uint64_t size; /* volume size */
777 struct ldm_volume *volume, *last;
799 * 0x18+ PS volume state
801 * 0x1D+16 PN parent's volume object id
807 errstr = "volume state";
818 errstr = "volume id";
827 * 0x18+20 8 volume offset
922 * 0x18+ PS volume type
924 * 0x18+ 14(S) volume state
925 * 0x18+16 1 volume number
926 * 0x18+21 PN volume children count
927 * 0x2D+16 PN volume size
933 errstr = "volume type";
953 errstr = "volume size";
961 /* keep volumes ordered by volume number */
963 LIST_FOREACH(volume, &db->volumes, entry) {
964 if (volume->number > blk->u.vol.number)
966 last = volume;
1012 struct ldm_volume *volume;
1096 LIST_FOREACH(volume, &db->volumes, entry) {
1099 vblk->u.comp.vol_id == volume->id) {
1100 LIST_INSERT_HEAD(&volume->components,
1102 volume->count++;
1104 LIST_FOREACH(comp, &volume->components, entry)
1421 LDM_DEBUG(1, "%s: LDM volume component "
1432 LDM_DEBUG(1, "%s: LDM volume %ju has %u "
1453 LDM_DEBUG(1, "%s: new volume id: %ju, start: %ju,"