Home
last modified time | relevance | path

Searched refs:inq_buff (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/block/
Dcciss.c1554 InquiryData_struct *inq_buff; in register_new_disk() local
1592 inq_buff = kmalloc(sizeof( InquiryData_struct), GFP_KERNEL); in register_new_disk()
1593 if (inq_buff == NULL) { in register_new_disk()
1730 memset(inq_buff, 0, sizeof(InquiryData_struct)); in register_new_disk()
1731 return_code = sendcmd_withirq(CISS_INQUIRY, ctlr, inq_buff, in register_new_disk()
1734 if (inq_buff->data_byte[8] == 0xFF) { in register_new_disk()
1748 hba[ctlr]->drv[logvol].heads = inq_buff->data_byte[6]; in register_new_disk()
1749 hba[ctlr]->drv[logvol].sectors = inq_buff->data_byte[7]; in register_new_disk()
1751 (inq_buff->data_byte[4] & 0xff) << 8; in register_new_disk()
1753 inq_buff->data_byte[5]; in register_new_disk()
[all …]
Dcciss_scsi.c522 InquiryData_struct *inq_buff; in cciss_find_non_disk_devices() local
555 inq_buff = kmalloc(sizeof( InquiryData_struct), GFP_KERNEL); in cciss_find_non_disk_devices()
556 if (inq_buff == NULL) { in cciss_find_non_disk_devices()
594 memset(inq_buff, 0, sizeof(InquiryData_struct)); in cciss_find_non_disk_devices()
596 return_code = sendcmd(CISS_INQUIRY, cntl_num, inq_buff, in cciss_find_non_disk_devices()
599 if(inq_buff->data_byte[8] == 0xFF) in cciss_find_non_disk_devices()
607 devtype = (inq_buff->data_byte[0] & 0x1f); in cciss_find_non_disk_devices()
638 kfree(inq_buff); in cciss_find_non_disk_devices()
1105 InquiryData_struct *inq_buff; in cciss_update_non_disk_devices() local
1123 inq_buff = kmalloc(sizeof( InquiryData_struct), GFP_KERNEL); in cciss_update_non_disk_devices()
[all …]