Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 5 of 5) sorted by relevance

/lib/
Diovec.c15 int copy = min_t(unsigned int, len, iov->iov_len); in memcpy_fromiovec() local
16 if (copy_from_user(kdata, iov->iov_base, copy)) in memcpy_fromiovec()
18 len -= copy; in memcpy_fromiovec()
19 kdata += copy; in memcpy_fromiovec()
20 iov->iov_base += copy; in memcpy_fromiovec()
21 iov->iov_len -= copy; in memcpy_fromiovec()
40 int copy = min_t(unsigned int, iov->iov_len, len); in memcpy_toiovec() local
41 if (copy_to_user(iov->iov_base, kdata, copy)) in memcpy_toiovec()
43 kdata += copy; in memcpy_toiovec()
44 len -= copy; in memcpy_toiovec()
[all …]
Dvsprintf.c1751 int copy = read; in vsnprintf() local
1753 if (copy > end - str) in vsnprintf()
1754 copy = end - str; in vsnprintf()
1755 memcpy(str, old_fmt, copy); in vsnprintf()
2187 int copy = read; in bstr_printf() local
2189 if (copy > end - str) in bstr_printf()
2190 copy = end - str; in bstr_printf()
2191 memcpy(str, old_fmt, copy); in bstr_printf()
DKconfig.kmemcheck65 int "kmemcheck: shadow copy size (5 => 32 bytes, 6 => 64 bytes)"
DKconfig.debug1508 bool "Strict user copy size checks"
1513 copy operations into compile time failures.
1517 the copy operation, by having gcc prove that the argument is
/lib/zlib_inflate/
Dinflate.c104 unsigned copy, dist; in zlib_updatewindow() local
109 copy = out - strm->avail_out; in zlib_updatewindow()
110 if (copy >= state->wsize) { in zlib_updatewindow()
117 if (dist > copy) dist = copy; in zlib_updatewindow()
118 memcpy(state->window + state->write, strm->next_out - copy, dist); in zlib_updatewindow()
119 copy -= dist; in zlib_updatewindow()
120 if (copy) { in zlib_updatewindow()
121 memcpy(state->window, strm->next_out - copy, copy); in zlib_updatewindow()
122 state->write = copy; in zlib_updatewindow()
326 unsigned copy; /* number of stored or match bytes to copy */ in zlib_inflate() local
[all …]