Searched defs:ld_buff (Results 1 - 2 of 2) sorted by relevance
/drivers/block/ |
H A D | cciss_scsi.c | 1174 ReportLunData_struct *ld_buff; local 1181 int reportlunsize = sizeof(*ld_buff) + CISS_MAX_PHYS_LUN * 8; 1184 ld_buff = kzalloc(reportlunsize, GFP_KERNEL); 1188 if (ld_buff == NULL || inq_buff == NULL || currentsd == NULL) { 1193 if (cciss_scsi_do_report_phys_luns(h, ld_buff, reportlunsize) == 0) { 1194 ch = &ld_buff->LUNListLength[0]; 1213 if (ld_buff->LUN[i][3] & 0xC0) continue; 1215 memcpy(&scsi3addr[0], &ld_buff->LUN[i][0], 8); 1277 kfree(ld_buff);
|
H A D | cciss.c | 2281 ReportLunData_struct *ld_buff = NULL; local 2302 ld_buff = kzalloc(sizeof(ReportLunData_struct), GFP_KERNEL); 2303 if (ld_buff == NULL) 2306 return_code = sendcmd_withirq(h, CISS_REPORT_LOG, ld_buff, 2311 listlength = be32_to_cpu(*(__be32 *) ld_buff->LUNListLength); 2344 memcpy(lunid, &ld_buff->LUN[j][0], sizeof(lunid)); 2372 memcpy(lunid, &ld_buff->LUN[i][0], sizeof(lunid)); 2398 kfree(ld_buff);
|
Completed in 87 milliseconds