Lines Matching refs:ncopy
106 long nleft, ncopy; in async_send() local
138 ncopy = (long) ((nleft <= SHMEM_BUF_SIZE) ? nleft : SHMEM_BUF_SIZE); in async_send()
140 if (ncopy&7) { in async_send()
143 TCGMSG_nodeid, ncopy, ncopy + 8 - (ncopy&7)); in async_send()
146 ncopy = ncopy + 8 - (ncopy&7); in async_send()
149 if (ncopy) { in async_send()
150 COPY_TO_REMOTE(entry->buf+entry->written, sendbuf->buf, ncopy, node); in async_send()
157 ncopy = (long) ((nleft <= SHMEM_BUF_SIZE) ? nleft : SHMEM_BUF_SIZE); in async_send()
158 entry->written += ncopy; in async_send()
248 long ncopy = (long) ((nleft <= SHMEM_BUF_SIZE) ? nleft : SHMEM_BUF_SIZE); in msg_rcv() local
251 if(ncopy < 321) in msg_rcv()
252 for(line = 0; line < ncopy; line+=32) in msg_rcv()
259 COPY_FROM_LOCAL(recvbuf->buf, buf, ncopy); in msg_rcv()
263 nleft -= ncopy; in msg_rcv()
264 buf += ncopy; in msg_rcv()