Lines Matching refs:inq_buff

1554 	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()
1755 inq_buff->data_byte[8]; in register_new_disk()
1806 kfree(inq_buff); in register_new_disk()
1816 InquiryData_struct *inq_buff; in cciss_rescan_disk() local
1832 inq_buff = kmalloc(sizeof( InquiryData_struct), GFP_KERNEL); in cciss_rescan_disk()
1833 if (inq_buff == NULL) { in cciss_rescan_disk()
1868 memset(inq_buff, 0, sizeof(InquiryData_struct)); in cciss_rescan_disk()
1869 return_code = sendcmd_withirq(CISS_INQUIRY, ctlr, inq_buff, in cciss_rescan_disk()
1872 if (inq_buff->data_byte[8] == 0xFF) { in cciss_rescan_disk()
1882 hba[ctlr]->drv[logvol].heads = inq_buff->data_byte[6]; in cciss_rescan_disk()
1883 hba[ctlr]->drv[logvol].sectors = inq_buff->data_byte[7]; in cciss_rescan_disk()
1885 (inq_buff->data_byte[4] & 0xff) << 8; in cciss_rescan_disk()
1887 inq_buff->data_byte[5]; in cciss_rescan_disk()
1923 kfree(inq_buff); in cciss_rescan_disk()
2913 InquiryData_struct *inq_buff; in cciss_getgeometry() local
2933 inq_buff = kmalloc(sizeof( InquiryData_struct), GFP_KERNEL); in cciss_getgeometry()
2934 if (inq_buff == NULL) { in cciss_getgeometry()
2941 return_code = sendcmd(CISS_INQUIRY, cntl_num, inq_buff, in cciss_getgeometry()
2944 hba[cntl_num]->firm_ver[0] = inq_buff->data_byte[32]; in cciss_getgeometry()
2945 hba[cntl_num]->firm_ver[1] = inq_buff->data_byte[33]; in cciss_getgeometry()
2946 hba[cntl_num]->firm_ver[2] = inq_buff->data_byte[34]; in cciss_getgeometry()
2947 hba[cntl_num]->firm_ver[3] = inq_buff->data_byte[35]; in cciss_getgeometry()
3024 memset(inq_buff, 0, sizeof(InquiryData_struct)); in cciss_getgeometry()
3025 return_code = sendcmd(CISS_INQUIRY, cntl_num, inq_buff, in cciss_getgeometry()
3028 if (inq_buff->data_byte[8] == 0xFF) { in cciss_getgeometry()
3043 inq_buff->data_byte[6]; in cciss_getgeometry()
3045 inq_buff->data_byte[7]; in cciss_getgeometry()
3047 (inq_buff->data_byte[4] & 0xff) << 8; in cciss_getgeometry()
3049 inq_buff->data_byte[5]; in cciss_getgeometry()
3051 inq_buff->data_byte[8]; in cciss_getgeometry()
3074 kfree(inq_buff); in cciss_getgeometry()