Lines Matching defs:prop
1082 iscsi_static_property_t prop;
1092 (void) memset(&prop, 0, sizeof (iscsi_static_property_t));
1093 prop.p_vers = ISCSI_INTERFACE_VERSION;
1094 prop.p_oid = (uint32_t)staticTargetOid.objectSequenceNumber;
1095 if (ioctl(fd, ISCSI_STATIC_GET, &prop) != 0) {
1109 (void) mbstowcs(pProps->staticTarget.targetName, (char *)prop.p_name,
1112 if (prop.p_addr_list.al_addrs[0].a_addr.i_insize ==
1118 bcopy(&prop.p_addr_list.al_addrs[0].a_addr.i_addr,
1122 } else if (prop.p_addr_list.al_addrs[0].a_addr.i_insize ==
1128 bcopy(&prop.p_addr_list.al_addrs[0].a_addr.i_addr,
1142 (IMA_UINT16)prop.p_addr_list.al_addrs[0].a_port;
1445 iscsi_property_t prop;
1453 (void) memset(&prop, 0, sizeof (iscsi_property_t));
1454 prop.p_vers = ISCSI_INTERFACE_VERSION;
1455 prop.p_oid = (uint32_t)targetId.objectSequenceNumber;
1457 if (ioctl(fd, ISCSI_TARGET_PROPS_GET, &prop) != 0) {
1464 (void) mbstowcs(pProps->name, (char *)prop.p_name, IMA_NODE_NAME_LEN);
1467 if (prop.p_alias_len > 0) {
1468 (void) mbstowcs(pProps->alias, (char *)prop.p_alias,
1474 if (!((prop.p_discovery & iSCSIDiscoveryMethodStatic) ^
1480 if (!((prop.p_discovery & iSCSIDiscoveryMethodSLP) ^
1485 if (!((prop.p_discovery & iSCSIDiscoveryMethodISNS) ^
1490 if (!((prop.p_discovery & iSCSIDiscoveryMethodSendTargets) ^