Searched refs:lundata (Results 1 – 5 of 5) sorted by relevance
7280 struct scsi_report_luns_data *lundata; in scsireportluns() 7287 lundata = NULL; in scsireportluns() 7336 alloc_len = sizeof(*lundata) + 8; in scsireportluns() 7340 lundata = malloc(alloc_len); in scsireportluns() 7342 if (lundata == NULL) { in scsireportluns() 7353 /*rpl_buf*/ lundata, in scsireportluns() 7377 list_len = scsi_4btoul(lundata->length); in scsireportluns() 7384 && (list_len > (alloc_len - sizeof(*lundata)))) { in scsireportluns() 7385 alloc_len = list_len + sizeof(*lundata); in scsireportluns() 7386 free(lundata); in scsireportluns() 7278 struct scsi_report_luns_data *lundata; scsireportluns() local [all...]
83 ((((x)->luns[i].lundata[0] & RPL_LUNDATA_ATYP_MASK) == \85 (((x)->luns[i].lundata[0] & RPL_LUNDATA_ATYP_MASK) == \88 if (((lp)->luns[(i)].lundata[0] & RPL_LUNDATA_ATYP_MASK) == \90 (lval) = (lp)->luns[(i)].lundata[1]; \92 (lval) = (lp)->luns[(i)].lundata[0]; \95 (lval) |= (lp)->luns[(i)].lundata[1]; \98 (lval) = scsi_8btou64((lp)->luns[(i)].lundata); \1365 lp->luns[0].lundata, 8); in probedone()1366 memcpy(lp->luns[0].lundata, in probedone()1367 lp->luns[idx].lundata, 8); in probedone()[all …]
3044 uint8_t lundata[8]; member
1104 switch (lun_data->luns[i].lundata[0] & RPL_LUNDATA_ATYP_MASK) { in cctl_lunlist() 1106 lun_val = lun_data->luns[i].lundata[1]; in cctl_lunlist() 1109 lun_val = (lun_data->luns[i].lundata[0] & in cctl_lunlist() 1111 (lun_data->luns[i].lundata[1] << in cctl_lunlist() 1118 lun_data->luns[i].lundata[0] & in cctl_lunlist() 1902 switch (lun_data->luns[i].lundata[0] & RPL_LUNDATA_ATYP_MASK) { in cctl_report_luns() 1904 lun_val = lun_data->luns[i].lundata[1]; in cctl_report_luns() 1907 lun_val = (lun_data->luns[i].lundata[0] & in cctl_report_luns() 1909 (lun_data->luns[i].lundata[1] << in cctl_report_luns() 1916 lun_data->luns[i].lundata[ in cctl_report_luns() [all...]
9224 be64enc(lun_data->luns[num_filled++].lundata, in ctl_report_luns()