Home | History | Annotate | Download | only in ic

Lines Matching defs:sg_entry_cnt

2258 	u_int16_t       sg_entry_cnt = 0;
2292 sg_entry_cnt = sg_head->entry_cnt;
2294 if (sg_entry_cnt < 1)
2296 sg_entry_cnt);
2298 if (sg_entry_cnt > ASC_MAX_SG_LIST)
2301 if (sg_entry_cnt == 1) {
2306 sg_entry_cnt_minus_one = sg_entry_cnt - 1;
2314 for (i = 0; i < sg_entry_cnt; i++)
2363 n_q_required = AscSgListToQueue(sg_entry_cnt);
2444 u_int16_t sg_entry_cnt;
2455 sg_entry_cnt = sg_head->entry_cnt - 1;
2456 if (sg_entry_cnt != 0) {
2465 if (sg_entry_cnt > ASC_SG_LIST_PER_Q) {
2467 sg_entry_cnt -= ASC_SG_LIST_PER_Q;
2477 sg_list_dwords = sg_entry_cnt << 1;
2479 scsi_sg_q.sg_list_cnt = sg_entry_cnt;
2480 scsi_sg_q.sg_cur_list_cnt = sg_entry_cnt;
2482 scsi_sg_q.sg_list_cnt = sg_entry_cnt - 1;
2483 scsi_sg_q.sg_cur_list_cnt = sg_entry_cnt - 1;
2486 sg_entry_cnt = 0;