Searched refs:bootProp (Results 1 – 2 of 2) sorted by relevance
3046 iscsi_boot_property_t bootProp; in SUN_IMA_GetBootTargetName() local3048 bootProp.tgt_name.n_name[0] = '\0'; in SUN_IMA_GetBootTargetName()3049 bootProp.tgt_chap.c_user[0] = '\0'; in SUN_IMA_GetBootTargetName()3058 if (ioctl(fd, ISCSI_BOOTPROP_GET, &bootProp) != 0) { in SUN_IMA_GetBootTargetName()3066 if ((bootProp.tgt_name.n_name[0] != '\0') && (tgtName != NULL)) { in SUN_IMA_GetBootTargetName()3067 if (mbstowcs(tgtName, (const char *)bootProp.tgt_name.n_name, in SUN_IMA_GetBootTargetName()3086 iscsi_boot_property_t bootProp; in SUN_IMA_GetBootTargetAuthParams() local3088 bootProp.tgt_name.n_name[0] = '\0'; in SUN_IMA_GetBootTargetAuthParams()3089 bootProp.tgt_chap.c_user[0] = '\0'; in SUN_IMA_GetBootTargetAuthParams()3090 bootProp.tgt_chap.c_secret[0] = '\0'; in SUN_IMA_GetBootTargetAuthParams()[all …]
1511 iscsi_boot_property_t *bootProp; in iscsi_ioctl() local4402 size = sizeof (*bootProp); in iscsi_ioctl()4403 bootProp = iscsi_ioctl_copyin((caddr_t)arg, mode, size); in iscsi_ioctl()4404 if (bootProp == NULL) { in iscsi_ioctl()4408 bootProp->hba_mpxio_enabled = in iscsi_ioctl()4411 bootProp->iscsiboot = 0; in iscsi_ioctl()4412 rtn = iscsi_ioctl_copyout(bootProp, size, in iscsi_ioctl()4416 bootProp->iscsiboot = 1; in iscsi_ioctl()4420 (void) strncpy((char *)bootProp->ini_name.n_name, in iscsi_ioctl()4425 bootProp->auth.a_auth_method = authMethodCHAP; in iscsi_ioctl()[all …]