Searched refs:tocopy (Results 1 - 11 of 11) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/alpha/boot/tools/
H A Dobjstrip.c51 size_t nwritten, tocopy, n, mem_size, fil_size, pad = 0; local
233 tocopy = fil_size;
234 while (tocopy > 0) {
235 n = tocopy;
239 tocopy -= n;
258 tocopy = mem_size - fil_size;
259 if (tocopy > 0) {
262 prog_name, pad, (unsigned long) tocopy);
266 n = tocopy;
275 tocopy
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/s390/char/
H A Dvmcp.c62 size_t tocopy; local
76 tocopy = min(session->resp_size - (size_t) (*ppos), count);
77 tocopy = min(tocopy,session->bufsize - (size_t) (*ppos));
79 if (copy_to_user(buff, session->response + (*ppos), tocopy)) {
84 *ppos += tocopy;
85 return tocopy;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/jfs/
H A Dsuper.c625 int tocopy; local
637 tocopy = sb->s_blocksize - offset < toread ?
646 memset(data, 0, tocopy);
651 memcpy(data, bh->b_data+offset, tocopy);
655 toread -= tocopy;
656 data += tocopy;
670 int tocopy; local
677 tocopy = sb->s_blocksize - offset < towrite ?
685 if (offset || tocopy != sb->s_blocksize)
694 memcpy(bh->b_data+offset, data, tocopy);
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ext2/
H A Dsuper.c1172 int tocopy; local
1184 tocopy = sb->s_blocksize - offset < toread ?
1192 memset(data, 0, tocopy);
1197 memcpy(data, bh->b_data+offset, tocopy);
1201 toread -= tocopy;
1202 data += tocopy;
1216 int tocopy; local
1223 tocopy = sb->s_blocksize - offset < towrite ?
1230 if (offset || tocopy != EXT2_BLOCK_SIZE(sb))
1239 memcpy(bh->b_data+offset, data, tocopy);
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/reiserfs/
H A Dsuper.c2018 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; local
2029 tocopy =
2040 memset(data, 0, tocopy);
2045 memcpy(data, bh->b_data + offset, tocopy);
2049 toread -= tocopy;
2050 data += tocopy;
2063 int err = 0, offset = off & (sb->s_blocksize - 1), tocopy; local
2070 tocopy = sb->s_blocksize - offset < towrite ?
2076 if (offset || tocopy != sb->s_blocksize)
2085 memcpy(bh->b_data + offset, data, tocopy);
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ufs/
H A Dsuper.c1294 int tocopy; local
1305 tocopy = sb->s_blocksize - offset < toread ?
1312 memset(data, 0, tocopy);
1314 memcpy(data, bh->b_data+offset, tocopy);
1318 toread -= tocopy;
1319 data += tocopy;
1333 int tocopy; local
1339 tocopy = sb->s_blocksize - offset < towrite ?
1346 memcpy(bh->b_data+offset, data, tocopy);
1353 towrite -= tocopy;
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ext3/
H A Dsuper.c2637 int tocopy; local
2648 tocopy = sb->s_blocksize - offset < toread ?
2654 memset(data, 0, tocopy);
2656 memcpy(data, bh->b_data+offset, tocopy);
2659 toread -= tocopy;
2660 data += tocopy;
2675 int tocopy; local
2683 tocopy = sb->s_blocksize - offset < towrite ?
2696 memcpy(bh->b_data+offset, data, tocopy);
2710 towrite -= tocopy;
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ext4/
H A Dsuper.c2711 int tocopy; local
2722 tocopy = sb->s_blocksize - offset < toread ?
2728 memset(data, 0, tocopy);
2730 memcpy(data, bh->b_data+offset, tocopy);
2733 toread -= tocopy;
2734 data += tocopy;
2749 int tocopy; local
2757 tocopy = sb->s_blocksize - offset < towrite ?
2770 memcpy(bh->b_data+offset, data, tocopy);
2784 towrite -= tocopy;
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/wireless/
H A Dwl3501_cs.c1804 u8 implemented, restricted, keys[100], len_keys, tocopy; local
1829 tocopy = min_t(u8, len_keys, wrqu->encoding.length);
1830 tocopy = min_t(u8, tocopy, 100);
1831 wrqu->encoding.length = tocopy;
1832 memset(extra, 0, tocopy);
1833 memcpy(extra, keys, tocopy);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/kvm/
H A Dkvm_main.c1004 unsigned tocopy = min(bytes, (unsigned)PAGE_SIZE - offset); local
1017 memcpy(data, page_virt + offset, tocopy);
1021 bytes -= tocopy;
1022 data += tocopy;
1023 addr += tocopy;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/atm/
H A Dnicstar.c2414 int remaining, tocopy; local
2493 tocopy = min_t(int, remaining, iov->iov_len);
2494 skb_copy_from_linear_data(lb, skb_tail_pointer(hb), tocopy);
2495 skb_put(hb, tocopy);
2497 remaining -= tocopy;

Completed in 204 milliseconds