Lines Matching refs:sg_entry_cnt
8018 ushort sg_entry_cnt; in AscPutReadySgListQueue() local
8033 sg_entry_cnt = sg_head->entry_cnt - 1; in AscPutReadySgListQueue()
8035 if (sg_entry_cnt != 0) { in AscPutReadySgListQueue()
8044 if (sg_entry_cnt > ASC_SG_LIST_PER_Q) { in AscPutReadySgListQueue()
8046 sg_entry_cnt -= ASC_SG_LIST_PER_Q; in AscPutReadySgListQueue()
8060 sg_list_dwords = sg_entry_cnt << 1; in AscPutReadySgListQueue()
8062 scsi_sg_q.sg_list_cnt = sg_entry_cnt; in AscPutReadySgListQueue()
8064 sg_entry_cnt; in AscPutReadySgListQueue()
8067 sg_entry_cnt - 1; in AscPutReadySgListQueue()
8069 sg_entry_cnt - 1; in AscPutReadySgListQueue()
8071 sg_entry_cnt = 0; in AscPutReadySgListQueue()
8167 ushort sg_entry_cnt = 0; in AscExeScsiQueue() local
8211 if ((sg_entry_cnt = sg_head->entry_cnt) == 0) { in AscExeScsiQueue()
8215 if (sg_entry_cnt > ASC_MAX_SG_LIST) { in AscExeScsiQueue()
8219 if (sg_entry_cnt == 1) { in AscExeScsiQueue()
8224 sg_entry_cnt_minus_one = sg_entry_cnt - 1; in AscExeScsiQueue()
8232 for (i = 0; i < sg_entry_cnt; i++) { in AscExeScsiQueue()
8307 n_q_required = AscSgListToQueue(sg_entry_cnt); in AscExeScsiQueue()