Searched defs:copy (Results 1 - 3 of 3) sorted by relevance

/lib/
H A Diovec.c15 int copy = min_t(unsigned int, len, iov->iov_len); local
16 if (copy_from_user(kdata, iov->iov_base, copy))
18 len -= copy;
19 kdata += copy;
20 iov->iov_base += copy;
21 iov->iov_len -= copy;
40 int copy = min_t(unsigned int, iov->iov_len, len); local
41 if (copy_to_user(iov->iov_base, kdata, copy))
43 kdata += copy;
44 len -= copy;
62 int copy; local
100 int copy = min_t(unsigned int, len, iov->iov_len - offset); local
[all...]
H A Dvsprintf.c1751 int copy = read; local
1753 if (copy > end - str)
1754 copy = end - str;
1755 memcpy(str, old_fmt, copy);
2187 int copy = read; local
2189 if (copy > end - str)
2190 copy = end - str;
2191 memcpy(str, old_fmt, copy);
2443 /* now copy until next white space */
/lib/zlib_inflate/
H A Dinflate.c104 unsigned copy, dist; local
108 /* copy state->wsize or less output bytes into the circular window */
109 copy = out - strm->avail_out;
110 if (copy >= state->wsize) {
117 if (dist > copy) dist = copy;
118 memcpy(state->window + state->write, strm->next_out - copy, dist);
119 copy -= dist;
120 if (copy) {
121 memcpy(state->window, strm->next_out - copy, cop
326 unsigned copy; /* number of stored or match bytes to copy */ local
[all...]

Completed in 542 milliseconds