Searched refs:remain_bytes (Results 1 – 3 of 3) sorted by relevance
151 u32 remain_bytes; in cppi41_trans_done() local155 remain_bytes = cppi41_channel->total_len; in cppi41_trans_done()156 remain_bytes -= cppi41_channel->transferred; in cppi41_trans_done()157 remain_bytes = min(remain_bytes, cppi41_channel->packet_sz); in cppi41_trans_done()158 cppi41_channel->prog_len = remain_bytes; in cppi41_trans_done()164 remain_bytes, in cppi41_trans_done()
297 u32 remain_bytes; member6651 scsiq->remain_bytes = (((u32)AscReadLramWord(iop_base, in _AscCopyLramScsiDoneQ()6659 scsiq->remain_bytes += AscReadLramWord(iop_base, in _AscCopyLramScsiDoneQ()6663 scsiq->remain_bytes &= max_dma_count; in _AscCopyLramScsiDoneQ()6709 if (scsi_bufflen(scp) != 0 && qdonep->remain_bytes != 0 && in asc_isr_callback()6710 qdonep->remain_bytes <= scsi_bufflen(scp)) { in asc_isr_callback()6712 (unsigned)qdonep->remain_bytes); in asc_isr_callback()6713 scsi_set_resid(scp, qdonep->remain_bytes); in asc_isr_callback()6865 scsiq->remain_bytes += scsiq->extra_bytes; in AscIsrQDone()
6228 ssize_t nbytes = 0, remain_bytes = 0; in smb2_read() local6315 remain_bytes = smb2_read_rdma_channel(work, req, in smb2_read()6322 if (remain_bytes < 0) { in smb2_read()6323 err = (int)remain_bytes; in smb2_read()6332 rsp->DataRemaining = cpu_to_le32(remain_bytes); in smb2_read()