Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dsg.c251 static Sg_device ** sg_dev_arr = NULL; variable
1212 if (sg_dev_arr && (dev >= 0)) { in sg_cmd_done_bh()
1214 sdp = sg_dev_arr[dev]; in sg_cmd_done_bh()
1349 if ((sg_template.dev_noticed == 0) || sg_dev_arr) in sg_init()
1367 sg_dev_arr = (Sg_device **)kmalloc(sg_template.dev_max * in sg_init()
1369 if (NULL == sg_dev_arr) { in sg_init()
1375 memset(sg_dev_arr, 0, sg_template.dev_max * sizeof(Sg_device *)); in sg_init()
1424 memcpy(tmp_da, sg_dev_arr, sg_template.dev_max * sizeof(Sg_device *)); in sg_attach()
1425 kfree((char *)sg_dev_arr); in sg_attach()
1426 sg_dev_arr = tmp_da; in sg_attach()
[all …]