Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/block/
Dcciss.c1872 InquiryData_struct *inq_buf; in cciss_get_device_descr() local
1879 inq_buf = kzalloc(sizeof(InquiryData_struct), GFP_KERNEL); in cciss_get_device_descr()
1880 if (!inq_buf) in cciss_get_device_descr()
1884 rc = sendcmd_withirq(h, CISS_INQUIRY, inq_buf, sizeof(*inq_buf), 0, in cciss_get_device_descr()
1887 memcpy(vendor, &inq_buf->data_byte[8], VENDOR_LEN); in cciss_get_device_descr()
1889 memcpy(model, &inq_buf->data_byte[16], MODEL_LEN); in cciss_get_device_descr()
1891 memcpy(rev, &inq_buf->data_byte[32], REV_LEN); in cciss_get_device_descr()
1895 kfree(inq_buf); in cciss_get_device_descr()