Lines Matching refs:sg_entry_cnt
8011 ushort sg_entry_cnt; in AscPutReadySgListQueue() local
8026 sg_entry_cnt = sg_head->entry_cnt - 1; in AscPutReadySgListQueue()
8028 if (sg_entry_cnt != 0) { in AscPutReadySgListQueue()
8037 if (sg_entry_cnt > ASC_SG_LIST_PER_Q) { in AscPutReadySgListQueue()
8039 sg_entry_cnt -= ASC_SG_LIST_PER_Q; in AscPutReadySgListQueue()
8053 sg_list_dwords = sg_entry_cnt << 1; in AscPutReadySgListQueue()
8055 scsi_sg_q.sg_list_cnt = sg_entry_cnt; in AscPutReadySgListQueue()
8057 sg_entry_cnt; in AscPutReadySgListQueue()
8060 sg_entry_cnt - 1; in AscPutReadySgListQueue()
8062 sg_entry_cnt - 1; in AscPutReadySgListQueue()
8064 sg_entry_cnt = 0; in AscPutReadySgListQueue()
8160 ushort sg_entry_cnt = 0; in AscExeScsiQueue() local
8204 if ((sg_entry_cnt = sg_head->entry_cnt) == 0) { in AscExeScsiQueue()
8208 if (sg_entry_cnt > ASC_MAX_SG_LIST) { in AscExeScsiQueue()
8212 if (sg_entry_cnt == 1) { in AscExeScsiQueue()
8217 sg_entry_cnt_minus_one = sg_entry_cnt - 1; in AscExeScsiQueue()
8225 for (i = 0; i < sg_entry_cnt; i++) { in AscExeScsiQueue()
8300 n_q_required = AscSgListToQueue(sg_entry_cnt); in AscExeScsiQueue()