Home
last modified time | relevance | path

Searched refs:bytes_to_copy (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/sbus/audio/
Daudio.c234 int bytes_to_copy, bytes_read = 0, err; in sparcaudio_read() local
254 bytes_to_copy = drv->input_buffer_size - drv->input_offset; in sparcaudio_read()
255 if (bytes_to_copy > count) in sparcaudio_read()
256 bytes_to_copy = count; in sparcaudio_read()
258 err = verify_area(VERIFY_WRITE, buf, bytes_to_copy); in sparcaudio_read()
263 bytes_to_copy); in sparcaudio_read()
265 drv->input_offset += bytes_to_copy; in sparcaudio_read()
266 drv->input_size -= bytes_to_copy; in sparcaudio_read()
267 buf += bytes_to_copy; in sparcaudio_read()
268 count -= bytes_to_copy; in sparcaudio_read()
[all …]
/linux-2.4.37.9/fs/
Dexec.c216 int offset, bytes_to_copy; in copy_strings() local
241 bytes_to_copy = PAGE_SIZE - offset; in copy_strings()
242 if (bytes_to_copy > len) { in copy_strings()
243 bytes_to_copy = len; in copy_strings()
248 err = copy_from_user(kaddr+offset, str, bytes_to_copy); in copy_strings()
254 pos += bytes_to_copy; in copy_strings()
255 str += bytes_to_copy; in copy_strings()
256 len -= bytes_to_copy; in copy_strings()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c129 int offset, bytes_to_copy; in copy_strings32() local
146 bytes_to_copy = PAGE_SIZE - offset; in copy_strings32()
147 if (bytes_to_copy > len) { in copy_strings32()
148 bytes_to_copy = len; in copy_strings32()
152 err = copy_from_user(kaddr + offset, (char *)A(str), bytes_to_copy); in copy_strings32()
160 pos += bytes_to_copy; in copy_strings32()
161 str += bytes_to_copy; in copy_strings32()
162 len -= bytes_to_copy; in copy_strings32()
/linux-2.4.37.9/arch/mips64/kernel/
Dlinux32.c343 int offset, bytes_to_copy;
360 bytes_to_copy = PAGE_SIZE - offset;
361 if (bytes_to_copy > len) {
362 bytes_to_copy = len;
368 bytes_to_copy);
374 pos += bytes_to_copy;
375 str += bytes_to_copy;
376 len -= bytes_to_copy;
/linux-2.4.37.9/arch/ppc64/kernel/
Dsys_ppc32.c3892 int offset, bytes_to_copy, new, err; in copy_strings32() local
3908 bytes_to_copy = PAGE_SIZE - offset; in copy_strings32()
3909 if (bytes_to_copy > len) { in copy_strings32()
3910 bytes_to_copy = len; in copy_strings32()
3917 bytes_to_copy); in copy_strings32()
3924 pos += bytes_to_copy; in copy_strings32()
3925 str += bytes_to_copy; in copy_strings32()
3926 len -= bytes_to_copy; in copy_strings32()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c3228 int offset, bytes_to_copy, new, err; in copy_strings32() local
3244 bytes_to_copy = PAGE_SIZE - offset; in copy_strings32()
3245 if (bytes_to_copy > len) { in copy_strings32()
3246 bytes_to_copy = len; in copy_strings32()
3253 bytes_to_copy); in copy_strings32()
3259 pos += bytes_to_copy; in copy_strings32()
3260 str += bytes_to_copy; in copy_strings32()
3261 len -= bytes_to_copy; in copy_strings32()
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c3180 int offset, bytes_to_copy, new, err; in copy_strings32() local
3196 bytes_to_copy = PAGE_SIZE - offset; in copy_strings32()
3197 if (bytes_to_copy > len) { in copy_strings32()
3198 bytes_to_copy = len; in copy_strings32()
3205 bytes_to_copy); in copy_strings32()
3212 pos += bytes_to_copy; in copy_strings32()
3213 str += bytes_to_copy; in copy_strings32()
3214 len -= bytes_to_copy; in copy_strings32()