Lines Matching refs:ioctlViewEntry
635 stmf_view_op_entry_t ioctlViewEntry; in addViewEntryIoctl() local
637 bzero(&ioctlViewEntry, sizeof (ioctlViewEntry)); in addViewEntryIoctl()
642 ioctlViewEntry.ve_lu_number_valid = viewEntry->luNbrValid; in addViewEntryIoctl()
643 ioctlViewEntry.ve_all_hosts = viewEntry->allHosts; in addViewEntryIoctl()
644 ioctlViewEntry.ve_all_targets = viewEntry->allTargets; in addViewEntryIoctl()
647 bcopy(viewEntry->hostGroup, &ioctlViewEntry.ve_host_group.name, in addViewEntryIoctl()
649 ioctlViewEntry.ve_host_group.name_size = in addViewEntryIoctl()
654 &ioctlViewEntry.ve_target_group.name, in addViewEntryIoctl()
656 ioctlViewEntry.ve_target_group.name_size = in addViewEntryIoctl()
660 bcopy(viewEntry->luNbr, &ioctlViewEntry.ve_lu_nbr, in addViewEntryIoctl()
661 sizeof (ioctlViewEntry.ve_lu_nbr)); in addViewEntryIoctl()
663 bcopy(lu, &ioctlViewEntry.ve_guid, sizeof (stmfGuid)); in addViewEntryIoctl()
670 stmfIoctl.stmf_ibuf_size = sizeof (ioctlViewEntry); in addViewEntryIoctl()
671 stmfIoctl.stmf_ibuf = (uint64_t)(unsigned long)&ioctlViewEntry; in addViewEntryIoctl()
672 stmfIoctl.stmf_obuf_size = sizeof (ioctlViewEntry); in addViewEntryIoctl()
673 stmfIoctl.stmf_obuf = (uint64_t)(unsigned long)&ioctlViewEntry; in addViewEntryIoctl()
724 viewEntry->veIndex = ioctlViewEntry.ve_ndx; in addViewEntryIoctl()
725 if (ioctlViewEntry.ve_lu_number_valid) { in addViewEntryIoctl()
726 bcopy(&ioctlViewEntry.ve_lu_nbr, viewEntry->luNbr, in addViewEntryIoctl()
727 sizeof (ioctlViewEntry.ve_lu_nbr)); in addViewEntryIoctl()
6121 stmf_view_op_entry_t ioctlViewEntry; in stmfRemoveViewEntry() local
6139 bzero(&ioctlViewEntry, sizeof (ioctlViewEntry)); in stmfRemoveViewEntry()
6140 ioctlViewEntry.ve_ndx_valid = B_TRUE; in stmfRemoveViewEntry()
6141 ioctlViewEntry.ve_ndx = viewEntryIndex; in stmfRemoveViewEntry()
6142 bcopy(lu, &ioctlViewEntry.ve_guid, sizeof (stmfGuid)); in stmfRemoveViewEntry()
6149 stmfIoctl.stmf_ibuf_size = sizeof (ioctlViewEntry); in stmfRemoveViewEntry()
6150 stmfIoctl.stmf_ibuf = (uint64_t)(unsigned long)&ioctlViewEntry; in stmfRemoveViewEntry()
6777 stmf_view_op_entry_t ioctlViewEntry; in validateLunNumIoctl() local
6779 bzero(&ioctlViewEntry, sizeof (ioctlViewEntry)); in validateLunNumIoctl()
6784 ioctlViewEntry.ve_lu_number_valid = viewEntry->luNbrValid; in validateLunNumIoctl()
6785 ioctlViewEntry.ve_all_hosts = viewEntry->allHosts; in validateLunNumIoctl()
6786 ioctlViewEntry.ve_all_targets = viewEntry->allTargets; in validateLunNumIoctl()
6789 bcopy(viewEntry->hostGroup, &ioctlViewEntry.ve_host_group.name, in validateLunNumIoctl()
6791 ioctlViewEntry.ve_host_group.name_size = in validateLunNumIoctl()
6796 &ioctlViewEntry.ve_target_group.name, in validateLunNumIoctl()
6798 ioctlViewEntry.ve_target_group.name_size = in validateLunNumIoctl()
6803 bcopy(viewEntry->luNbr, &ioctlViewEntry.ve_lu_nbr, in validateLunNumIoctl()
6804 sizeof (ioctlViewEntry.ve_lu_nbr)); in validateLunNumIoctl()
6812 stmfIoctl.stmf_ibuf_size = sizeof (ioctlViewEntry); in validateLunNumIoctl()
6813 stmfIoctl.stmf_ibuf = (uint64_t)(unsigned long)&ioctlViewEntry; in validateLunNumIoctl()
6814 stmfIoctl.stmf_obuf_size = sizeof (ioctlViewEntry); in validateLunNumIoctl()
6815 stmfIoctl.stmf_obuf = (uint64_t)(unsigned long)&ioctlViewEntry; in validateLunNumIoctl()
6820 bcopy(ioctlViewEntry.ve_lu_nbr, viewEntry->luNbr, in validateLunNumIoctl()
6821 sizeof (ioctlViewEntry.ve_lu_nbr)); in validateLunNumIoctl()