Searched defs:ld_buff (Results 1 - 2 of 2) sorted by relevance

/drivers/block/
H A Dcciss_scsi.c1182 ReportLunData_struct *ld_buff; local
1189 int reportlunsize = sizeof(*ld_buff) + CISS_MAX_PHYS_LUN * 8;
1192 ld_buff = kzalloc(reportlunsize, GFP_KERNEL);
1196 if (ld_buff == NULL || inq_buff == NULL || currentsd == NULL) {
1201 if (cciss_scsi_do_report_phys_luns(h, ld_buff, reportlunsize) == 0) {
1202 ch = &ld_buff->LUNListLength[0];
1221 if (ld_buff->LUN[i][3] & 0xC0) continue;
1223 memcpy(&scsi3addr[0], &ld_buff->LUN[i][0], 8);
1285 kfree(ld_buff);
H A Dcciss.c2280 ReportLunData_struct *ld_buff = NULL; local
2301 ld_buff = kzalloc(sizeof(ReportLunData_struct), GFP_KERNEL);
2302 if (ld_buff == NULL)
2305 return_code = sendcmd_withirq(h, CISS_REPORT_LOG, ld_buff,
2310 listlength = be32_to_cpu(*(__be32 *) ld_buff->LUNListLength);
2343 memcpy(lunid, &ld_buff->LUN[j][0], sizeof(lunid));
2371 memcpy(lunid, &ld_buff->LUN[i][0], sizeof(lunid));
2397 kfree(ld_buff);

Completed in 82 milliseconds