Searched refs:disk_attr (Results 1 – 2 of 2) sorted by relevance
713 disk_attr_t *disk_attr; in raidcfg_get_attr() local740 (void **)(&disk_attr)); in raidcfg_get_attr()746 dst->tag.cidl.bus = disk_attr->tag.cidl.bus; in raidcfg_get_attr()747 dst->tag.cidl.target_id = disk_attr->tag.cidl.target_id; in raidcfg_get_attr()748 dst->tag.cidl.lun = disk_attr->tag.cidl.lun; in raidcfg_get_attr()1227 disk_attr_t *disk_attr; in raid_space_noalign() local1240 (void **)(&disk_attr)); in raid_space_noalign()1245 arraypart_attrs[i].size = disk_attr->capacity; in raid_space_noalign()1269 if ((disk_attr->capacity - offset) > arraypart_attrs[i].size) { in raid_space_noalign()1271 arraypart_attrs[i].size = disk_attr->capacity - in raid_space_noalign()[all …]
1735 raidcfg_disk_t disk_attr; in snapshot_disk() local1749 if ((ret = raidcfg_get_attr(disk_handle, &disk_attr)) < 0) { in snapshot_disk()1759 if (disk_attr.tag.cidl.bus == MAX64BIT) { in snapshot_disk()1763 disk_attr.tag.cidl.bus, in snapshot_disk()1764 disk_attr.tag.cidl.target_id, in snapshot_disk()1765 disk_attr.tag.cidl.lun); in snapshot_disk()1772 if (disk_attr.tag.cidl.bus == MAX64BIT) { in snapshot_disk()1777 disk_attr.tag.cidl.bus, in snapshot_disk()1778 disk_attr.tag.cidl.target_id, in snapshot_disk()1779 disk_attr.tag.cidl.lun); in snapshot_disk()[all …]