Lines Matching defs:isp
240 const struct smb_infospec *isp;
246 for (isp = _smb_infospecs; isp->is_type != SMB_TYPE_EOT; isp++) {
247 if (isp->is_type == stp->smbst_hdr->smbh_type)
251 ip->smbi_manufacturer = smb_info_strptr(stp, isp->is_manu, &n);
252 ip->smbi_product = smb_info_strptr(stp, isp->is_product, &n);
253 ip->smbi_version = smb_info_strptr(stp, isp->is_version, &n);
254 ip->smbi_serial = smb_info_strptr(stp, isp->is_serial, &n);
255 ip->smbi_asset = smb_info_strptr(stp, isp->is_asset, &n);
256 ip->smbi_location = smb_info_strptr(stp, isp->is_location, &n);
257 ip->smbi_part = smb_info_strptr(stp, isp->is_part, &n);
265 if (isp->is_type == SMB_TYPE_SYSTEM) {
285 if (isp->is_type == SMB_TYPE_PORT && ip->smbi_location[0] == '\0') {
303 const struct smb_infospec *isp;
313 for (isp = _smb_infospecs; isp->is_type != SMB_TYPE_EOT; isp++) {
314 if (isp->is_type == stp->smbst_hdr->smbh_type)
317 if (isp->is_type == SMB_TYPE_EOT)
320 size = isp->is_contsz;
321 cnt = *((uint8_t *)(uintptr_t)stp->smbst_hdr + isp->is_contc);
322 cp = (id_t *)((uintptr_t)stp->smbst_hdr + isp->is_contv);