Home
last modified time | relevance | path

Searched refs:disk_attr (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/libraidcfg/common/
H A Draidcfg.c713 disk_attr_t *disk_attr; in raidcfg_get_attr() local
740 (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() local
1240 (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 …]
/titanic_50/usr/src/cmd/raidctl/
H A Draidctl.c1735 raidcfg_disk_t disk_attr; in snapshot_disk() local
1749 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 …]