Searched refs:to_copy (Results 1 - 15 of 15) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/rds/
H A Dtcp_recv.c68 unsigned long to_copy, skb_off; local
86 to_copy = min(tmp.iov_len, size);
87 to_copy = min(to_copy, skb->len - skb_off);
92 tmp.iov_base, tmp.iov_len, to_copy);
96 to_copy)) {
101 rds_stats_add(s_copy_to_user, to_copy);
102 size -= to_copy;
103 ret += to_copy;
104 skb_off += to_copy;
129 unsigned int to_copy, skb_off; local
183 size_t left = len, to_copy; local
[all...]
H A Dmessage.c261 unsigned long to_copy; local
300 to_copy = min(iov->iov_len - iov_off, sg->length - sg_off);
301 to_copy = min_t(size_t, to_copy, total_len);
305 to_copy, iov->iov_base, iov->iov_len, iov_off,
310 to_copy);
314 iov_off += to_copy;
315 total_len -= to_copy;
316 sg_off += to_copy;
338 unsigned long to_copy; local
[all...]
H A Dib_recv.c311 unsigned long to_copy; local
333 to_copy = min(iov->iov_len - iov_off, RDS_FRAG_SIZE - frag_off);
334 to_copy = min_t(size_t, to_copy, size - copied);
335 to_copy = min_t(unsigned long, to_copy, len - copied);
339 to_copy, iov->iov_base, iov->iov_len, iov_off,
345 to_copy);
351 iov_off += to_copy;
352 frag_off += to_copy;
615 unsigned long to_copy; local
[all...]
H A Diw_recv.c311 unsigned long to_copy; local
333 to_copy = min(iov->iov_len - iov_off, RDS_FRAG_SIZE - frag_off);
334 to_copy = min_t(size_t, to_copy, size - copied);
335 to_copy = min_t(unsigned long, to_copy, len - copied);
339 to_copy, iov->iov_base, iov->iov_len, iov_off,
345 to_copy);
351 iov_off += to_copy;
352 frag_off += to_copy;
574 unsigned long to_copy; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/blackfin/kernel/
H A Dptrace.c249 int copied = 0, to_copy = sizeof(tmp); local
252 pr_debug("ptrace: PEEKTEXT at addr 0x%08lx + %i\n", addr, to_copy);
253 if (is_user_addr_valid(child, addr, to_copy) < 0)
257 switch (bfin_mem_access_type(addr, to_copy)) {
261 to_copy, 0);
267 addr + to_copy <= FIXED_CODE_END) {
268 copy_from_user_page(0, 0, 0, &tmp, paddr, to_copy);
269 copied = to_copy;
271 memcpy(&tmp, paddr, to_copy);
272 copied = to_copy;
301 int copied = 0, to_copy = sizeof(data); local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/src/mmedia/
H A Dsndwin.cpp571 wxUint32 to_copy; local
576 to_copy = (len > header->m_size) ? header->m_size : len;
577 memcpy(header->m_data + header->m_position, buffer, to_copy);
579 header->m_position += to_copy;
580 header->m_size -= to_copy;
581 buffer = (((const char *)buffer) + to_copy);
582 len -= to_copy;
583 m_lastcount += to_copy;
624 wxUint32 to_copy; local
633 to_copy
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Drtpdec_qdm2.c156 unsigned int id, len, type, to_copy; local
174 to_copy = FFMIN(len + (p - &buf[1]), 0x800 - qdm->len[id]);
175 memcpy(&qdm->buf[id][qdm->len[id]], buf + 1, to_copy);
176 qdm->len[id] += to_copy;
188 int to_copy, n, res, include_csum; local
219 to_copy = FFMIN(qdm->len[n], pkt->size - (p - pkt->data));
220 memcpy(p, qdm->buf[n], to_copy);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Drtpdec_qdm2.c156 unsigned int id, len, type, to_copy; local
174 to_copy = FFMIN(len + (p - &buf[1]), 0x800 - qdm->len[id]);
175 memcpy(&qdm->buf[id][qdm->len[id]], buf + 1, to_copy);
176 qdm->len[id] += to_copy;
188 int to_copy, n, res, include_csum; local
219 to_copy = FFMIN(qdm->len[n], pkt->size - (p - pkt->data));
220 memcpy(p, qdm->buf[n], to_copy);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/hardware/eicon/
H A Ddebug.c736 int to_copy; local
759 if ((to_copy = min(strlen(clients[id].drvName), (size_t)(data_length-1)))) {
760 memcpy (p, clients[id].drvName, to_copy);
761 p += to_copy;
762 data_length -= to_copy;
766 if ((to_copy = min(strlen(clients[id].hDbg->drvTag), (size_t)(data_length-2)))) {
767 memcpy (p, clients[id].hDbg->drvTag, to_copy);
768 p += to_copy;
769 data_length -= to_copy;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/bnx2x/
H A Dbnx2x_cmn.c1721 int to_copy = 0; local
1756 to_copy = 1;
1770 to_copy = 1;
1779 to_copy = 1;
1784 if (unlikely(to_copy))
1791 return to_copy;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/zlib-1.2.3/contrib/minizip/
H A Dzip.c225 unsigned char* to_copy; local
241 to_copy = &(ldi->data[ldi->filled_in_this_block]);
244 *(to_copy+i)=*(from_copy+i);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/zlib-1.2.3/contrib/minizip/
H A Dzip.c225 unsigned char* to_copy; local
241 to_copy = &(ldi->data[ldi->filled_in_this_block]);
244 *(to_copy+i)=*(from_copy+i);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/gadget/
H A Dinode.c552 void *to_copy; local
560 to_copy = priv->buf;
564 if (copy_to_user(priv->iv[i].iov_base, to_copy, this)) {
572 to_copy += this;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/zlib-1.2.8/contrib/minizip/
H A Dzip.c247 unsigned char* to_copy; local
263 to_copy = &(ldi->data[ldi->filled_in_this_block]);
266 *(to_copy+i)=*(from_copy+i);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/zlib-1.2.7/contrib/minizip/
H A Dzip.c247 unsigned char* to_copy; local
263 to_copy = &(ldi->data[ldi->filled_in_this_block]);
266 *(to_copy+i)=*(from_copy+i);

Completed in 136 milliseconds