Lines Matching defs:sg_head
2252 ASC_SG_HEAD *sg_head = scsiq->sg_head;
2292 sg_entry_cnt = sg_head->entry_cnt;
2302 scsiq->q1.data_addr = sg_head->sg_list[0].addr;
2303 scsiq->q1.data_cnt = sg_head->sg_list[0].bytes;
2315 data_cnt += sg_head->sg_list[i].bytes;
2349 addr = sg_head->sg_list[sg_entry_cnt_minus_one].addr +
2350 sg_head->sg_list[sg_entry_cnt_minus_one].bytes;
2356 sg_head->sg_list[sg_entry_cnt_minus_one].bytes -=
2362 sg_head->entry_to_copy = sg_head->entry_cnt;
2417 scsiq->sg_head->queue_cnt = n_q_required - 1;
2438 ASC_SG_HEAD *sg_head;
2452 if ((sg_head = scsiq->sg_head) != 0) {
2453 scsiq->q1.data_addr = sg_head->sg_list[0].addr;
2454 scsiq->q1.data_cnt = sg_head->sg_list[0].bytes;
2455 sg_entry_cnt = sg_head->entry_cnt - 1;
2459 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt;
2463 for (i = 0; i < sg_head->queue_cnt; i++) {
2503 (u_int32_t *) & sg_head->sg_list[sg_index],