Lines Matching defs:LUN

506     uint64_t            LUN;
622 /** Default LUN. */
641 /* LUN is defined of string type to handle the "enc" prefix. */
642 { "LUN", s_iscsiConfigDefaultLUN, VDCFGVALUETYPE_STRING, VD_CFGKEY_MANDATORY },
1869 aReqBHS[2] = RT_H2N_U32(pImage->LUN >> 32);
1870 aReqBHS[3] = RT_H2N_U32(pImage->LUN & 0xffffffff);
2261 aReqBHS[2] = pcvResSeg[2]; /* copy LUN from NOP-In */
2262 aReqBHS[3] = pcvResSeg[3]; /* copy LUN from NOP-In */
2555 paReqBHS[2] = pcvResSeg[2]; /* copy LUN from NOP-In */
2556 paReqBHS[3] = pcvResSeg[3]; /* copy LUN from NOP-In */
2736 paReqBHS[2] = RT_H2N_U32(pImage->LUN >> 32);
2737 paReqBHS[3] = RT_H2N_U32(pImage->LUN & 0xffffffff);
3894 "LUN\0"
3931 "LUN", &pszLUN, s_iscsiConfigDefaultLUN);
3934 rc = vdIfError(pImage->pIfError, rc, RT_SRC_POS, N_("iSCSI: configuration error: failed to read LUN as string"));
3943 rc = RTStrToUInt64Full(pszLUN, 0, &pImage->LUN);
3946 rc = vdIfError(pImage->pIfError, rc, RT_SRC_POS, N_("iSCSI: configuration error: failed to convert LUN to integer"));
3951 if (pImage->LUN <= 255)
3953 pImage->LUN = pImage->LUN << 48; /* uses peripheral device addressing method */
3955 else if (pImage->LUN <= 16383)
3957 pImage->LUN = (pImage->LUN << 48) | RT_BIT_64(62); /* uses flat space addressing method */
3962 rc = vdIfError(pImage->pIfError, rc, RT_SRC_POS, N_("iSCSI: configuration error: LUN number out of range (0-16383)"));
4178 LogRel(("iSCSI: Could not get LUN info for target %s, rc=%Rrc\n", pImage->pszTargetName, rc));
4212 RT_SRC_POS, N_("iSCSI: target address %s, target name %s, SCSI LUN %lld reports device type=%u"),
4214 pImage->LUN, devType);
4317 RT_SRC_POS, N_("iSCSI: target address %s, target name %s, SCSI LUN %lld reports media sector count=%llu sector size=%u"),
4319 pImage->LUN, pImage->cVolume, pImage->cbSector);
4400 RT_SRC_POS, N_("iSCSI: fallback capacity detection for target address %s, target name %s, SCSI LUN %lld reports media sector count=%llu sector size=%u"),
4402 pImage->LUN, pImage->cVolume, pImage->cbSector);
4617 LogRel(("iSCSI: target address %s, target name %s, SCSI LUN %lld\n", pImage->pszTargetAddress, pImage->pszTargetName, pImage->LUN));
5418 rc = VDCFGQueryStringAlloc(VDIfConfigGet(pConfig), "LUN", &pszLUN);
5445 rc = VDCFGQueryStringAlloc(VDIfConfigGet(pConfig), "LUN", &pszLUN);