Lines Matching refs:sg_entry_cnt
7925 ushort sg_entry_cnt; in AscPutReadySgListQueue() local
7940 sg_entry_cnt = sg_head->entry_cnt - 1; in AscPutReadySgListQueue()
7942 if (sg_entry_cnt != 0) { in AscPutReadySgListQueue()
7951 if (sg_entry_cnt > ASC_SG_LIST_PER_Q) { in AscPutReadySgListQueue()
7953 sg_entry_cnt -= ASC_SG_LIST_PER_Q; in AscPutReadySgListQueue()
7967 sg_list_dwords = sg_entry_cnt << 1; in AscPutReadySgListQueue()
7969 scsi_sg_q.sg_list_cnt = sg_entry_cnt; in AscPutReadySgListQueue()
7971 sg_entry_cnt; in AscPutReadySgListQueue()
7974 sg_entry_cnt - 1; in AscPutReadySgListQueue()
7976 sg_entry_cnt - 1; in AscPutReadySgListQueue()
7978 sg_entry_cnt = 0; in AscPutReadySgListQueue()
8074 ushort sg_entry_cnt = 0; in AscExeScsiQueue() local
8118 if ((sg_entry_cnt = sg_head->entry_cnt) == 0) { in AscExeScsiQueue()
8122 if (sg_entry_cnt > ASC_MAX_SG_LIST) { in AscExeScsiQueue()
8126 if (sg_entry_cnt == 1) { in AscExeScsiQueue()
8131 sg_entry_cnt_minus_one = sg_entry_cnt - 1; in AscExeScsiQueue()
8139 for (i = 0; i < sg_entry_cnt; i++) { in AscExeScsiQueue()
8214 n_q_required = AscSgListToQueue(sg_entry_cnt); in AscExeScsiQueue()