Searched refs:copied (Results 1 - 200 of 1461) sorted by relevance

12345678

/linux-4.1.27/arch/x86/um/
H A Dbug.c9 * Mostly copied from i386/x86_86 - eliminated the eip < PAGE_OFFSET because
H A Ddelay.c3 * Mostly copied from arch/x86/lib/delay.c
H A Dsys_call_table_32.c2 * System call table for UML/i386, copied from arch/x86/kernel/syscall_*.c
H A Dsys_call_table_64.c2 * System call table for UML/x86-64, copied from arch/x86/kernel/syscall_*.c
/linux-4.1.27/arch/mips/include/asm/mach-ar7/
H A Dirq.h6 * Shamelessly copied from asm-mips/mach-emma2rh/
/linux-4.1.27/include/linux/mfd/
H A Dtc6387xb.h6 * May be copied or modified under the terms of the GNU General Public
/linux-4.1.27/arch/blackfin/kernel/
H A Dptrace.c262 int copied = 0, to_copy = sizeof(tmp); arch_ptrace() local
273 copied = access_process_vm(child, addr, &tmp, arch_ptrace()
275 if (copied) arch_ptrace()
282 copied = to_copy; arch_ptrace()
285 copied = to_copy; arch_ptrace()
291 copied = to_copy; arch_ptrace()
295 copied = to_copy; arch_ptrace()
298 copied = 0; arch_ptrace()
302 pr_debug("ptrace: copied size %d [0x%08lx]\n", copied, tmp); arch_ptrace()
303 if (copied == to_copy) arch_ptrace()
314 int copied = 0, to_copy = sizeof(data); arch_ptrace() local
326 copied = access_process_vm(child, addr, &data, arch_ptrace()
331 copied = to_copy; arch_ptrace()
335 copied = to_copy; arch_ptrace()
338 copied = 0; arch_ptrace()
342 pr_debug("ptrace: copied size %d\n", copied); arch_ptrace()
343 if (copied == to_copy) arch_ptrace()
H A Dstacktrace.c2 * Blackfin stacktrace code (mostly copied from avr32)
/linux-4.1.27/net/rxrpc/
H A Dar-recvmsg.c54 int copy, ret, ullen, offset, copied = 0; rxrpc_recvmsg() local
75 if (copied) rxrpc_recvmsg()
89 if (copied && rxrpc_recvmsg()
137 _leave(" = %d [noncont]", copied); rxrpc_recvmsg()
138 return copied; rxrpc_recvmsg()
180 if (copy > len - copied) rxrpc_recvmsg()
181 copy = len - copied; rxrpc_recvmsg()
189 _debug("copied %d+%d", copy, copied); rxrpc_recvmsg()
192 copied += copy; rxrpc_recvmsg()
199 ASSERTCMP(copied, ==, len); rxrpc_recvmsg()
208 ret = copied; rxrpc_recvmsg()
254 _leave(" = %d [data]", copied); rxrpc_recvmsg()
255 return copied; rxrpc_recvmsg()
348 if (copied) rxrpc_recvmsg()
349 copied = ret; rxrpc_recvmsg()
350 _leave(" = %d [waitfail %d]", copied, ret); rxrpc_recvmsg()
351 return copied; rxrpc_recvmsg()
/linux-4.1.27/samples/kfifo/
H A Dinttype-example.c112 unsigned int copied; fifo_write() local
117 ret = kfifo_from_user(&test, buf, count, &copied); fifo_write()
121 return ret ? ret : copied; fifo_write()
128 unsigned int copied; fifo_read() local
133 ret = kfifo_to_user(&test, buf, count, &copied); fifo_read()
137 return ret ? ret : copied; fifo_read()
H A Dbytestream-example.c119 unsigned int copied; fifo_write() local
124 ret = kfifo_from_user(&test, buf, count, &copied); fifo_write()
128 return ret ? ret : copied; fifo_write()
135 unsigned int copied; fifo_read() local
140 ret = kfifo_to_user(&test, buf, count, &copied); fifo_read()
144 return ret ? ret : copied; fifo_read()
H A Drecord-example.c126 unsigned int copied; fifo_write() local
131 ret = kfifo_from_user(&test, buf, count, &copied); fifo_write()
135 return ret ? ret : copied; fifo_write()
142 unsigned int copied; fifo_read() local
147 ret = kfifo_to_user(&test, buf, count, &copied); fifo_read()
151 return ret ? ret : copied; fifo_read()
/linux-4.1.27/net/rds/
H A Dinfo.h14 * should be copied using @iter. The caller will deduce if it was copied
H A Dmessage.c316 int copied; rds_message_inc_copy_to_user() local
325 copied = 0; rds_message_inc_copy_to_user()
327 while (iov_iter_count(to) && copied < len) { rds_message_inc_copy_to_user()
330 to_copy = min_t(unsigned long, to_copy, len - copied); rds_message_inc_copy_to_user()
339 copied += to_copy; rds_message_inc_copy_to_user()
347 return copied; rds_message_inc_copy_to_user()
/linux-4.1.27/include/uapi/linux/
H A Dcoda_psdev.h17 u_short uc_opcode; /* copied from data to save lookup */
/linux-4.1.27/arch/sh/include/cpu-sh4/cpu/
H A Dfpu.h7 * May be copied or modified under the terms of the GNU General Public
/linux-4.1.27/arch/powerpc/include/uapi/asm/
H A Dtm.h5 * convention, bit0 is copied to TEXASR[56] (IBM bit 7) which is set if
/linux-4.1.27/arch/arm/kernel/
H A Dcrash_dump.c23 * @pfn: page frame number to be copied
24 * @buf: buffer where the copied page is placed
31 * copied or negative error in case of failure.
/linux-4.1.27/lib/
H A Dkfifo.c159 * make sure that the data is copied before kfifo_copy_out()
190 unsigned int *copied) kfifo_copy_from_user()
218 *copied = len - ret * esize; kfifo_copy_from_user()
219 /* return the number of elements which are not copied */ kfifo_copy_from_user()
224 unsigned long len, unsigned int *copied) __kfifo_from_user()
238 ret = kfifo_copy_from_user(fifo, from, len, fifo->in, copied); __kfifo_from_user()
250 unsigned int len, unsigned int off, unsigned int *copied) kfifo_copy_to_user()
274 * make sure that the data is copied before kfifo_copy_to_user()
278 *copied = len - ret * esize; kfifo_copy_to_user()
279 /* return the number of elements which are not copied */ kfifo_copy_to_user()
284 unsigned long len, unsigned int *copied) __kfifo_to_user()
297 ret = kfifo_copy_to_user(fifo, to, len, fifo->out, copied); __kfifo_to_user()
513 unsigned long len, unsigned int *copied, size_t recsize) __kfifo_from_user_r()
520 *copied = 0; __kfifo_from_user_r()
526 ret = kfifo_copy_from_user(fifo, from, len, fifo->in + recsize, copied); __kfifo_from_user_r()
528 *copied = 0; __kfifo_from_user_r()
537 unsigned long len, unsigned int *copied, size_t recsize) __kfifo_to_user_r()
543 *copied = 0; __kfifo_to_user_r()
551 ret = kfifo_copy_to_user(fifo, to, len, fifo->out + recsize, copied); __kfifo_to_user_r()
553 *copied = 0; __kfifo_to_user_r()
188 kfifo_copy_from_user(struct __kfifo *fifo, const void __user *from, unsigned int len, unsigned int off, unsigned int *copied) kfifo_copy_from_user() argument
223 __kfifo_from_user(struct __kfifo *fifo, const void __user *from, unsigned long len, unsigned int *copied) __kfifo_from_user() argument
249 kfifo_copy_to_user(struct __kfifo *fifo, void __user *to, unsigned int len, unsigned int off, unsigned int *copied) kfifo_copy_to_user() argument
283 __kfifo_to_user(struct __kfifo *fifo, void __user *to, unsigned long len, unsigned int *copied) __kfifo_to_user() argument
512 __kfifo_from_user_r(struct __kfifo *fifo, const void __user *from, unsigned long len, unsigned int *copied, size_t recsize) __kfifo_from_user_r() argument
536 __kfifo_to_user_r(struct __kfifo *fifo, void __user *to, unsigned long len, unsigned int *copied, size_t recsize) __kfifo_to_user_r() argument
/linux-4.1.27/net/sunrpc/
H A Dsocklib.c76 ssize_t copied = 0; xdr_partial_copy_from_skb() local
83 copied += ret; xdr_partial_copy_from_skb()
110 if (copied == 0) xdr_partial_copy_from_skb()
111 copied = -ENOMEM; xdr_partial_copy_from_skb()
131 copied += ret; xdr_partial_copy_from_skb()
139 copied += copy_actor(desc, (char *)xdr->tail[0].iov_base + base, len - base); xdr_partial_copy_from_skb()
141 return copied; xdr_partial_copy_from_skb()
H A Dxdr.c1237 unsigned int copied = 0, todo, avail_here; xdr_xcode_array2() local
1286 copied = avail_here; xdr_xcode_array2()
1308 if (copied || avail_page < desc->elem_size) { xdr_xcode_array2()
1310 desc->elem_size - copied); xdr_xcode_array2()
1319 if (!copied) { xdr_xcode_array2()
1324 memcpy(c, elem + copied, l); xdr_xcode_array2()
1325 copied += l; xdr_xcode_array2()
1326 if (copied == desc->elem_size) xdr_xcode_array2()
1327 copied = 0; xdr_xcode_array2()
1329 memcpy(elem + copied, c, l); xdr_xcode_array2()
1330 copied += l; xdr_xcode_array2()
1331 if (copied == desc->elem_size) { xdr_xcode_array2()
1335 copied = 0; xdr_xcode_array2()
1350 desc->elem_size - copied); xdr_xcode_array2()
1359 if (!copied) { xdr_xcode_array2()
1364 memcpy(c, elem + copied, l); xdr_xcode_array2()
1365 copied += l; xdr_xcode_array2()
1366 if (copied == desc->elem_size) xdr_xcode_array2()
1367 copied = 0; xdr_xcode_array2()
1369 memcpy(elem + copied, c, l); xdr_xcode_array2()
1370 copied += l; xdr_xcode_array2()
1371 if (copied == desc->elem_size) { xdr_xcode_array2()
1375 copied = 0; xdr_xcode_array2()
1395 if (copied) { xdr_xcode_array2()
1396 unsigned int l = desc->elem_size - copied; xdr_xcode_array2()
1399 memcpy(c, elem + copied, l); xdr_xcode_array2()
1401 memcpy(elem + copied, c, l); xdr_xcode_array2()
/linux-4.1.27/arch/score/kernel/
H A Dptrace.c132 int copied; read_tsk_long() local
134 copied = access_process_vm(child, addr, res, sizeof(*res), 0); read_tsk_long()
136 return copied != sizeof(*res) ? -EIO : 0; read_tsk_long()
143 int copied; read_tsk_short() local
145 copied = access_process_vm(child, addr, res, sizeof(*res), 0); read_tsk_short()
147 return copied != sizeof(*res) ? -EIO : 0; read_tsk_short()
154 int copied; write_tsk_short() local
156 copied = access_process_vm(child, addr, &val, sizeof(val), 1); write_tsk_short()
158 return copied != sizeof(val) ? -EIO : 0; write_tsk_short()
165 int copied; write_tsk_long() local
167 copied = access_process_vm(child, addr, &val, sizeof(val), 1); write_tsk_long()
169 return copied != sizeof(val) ? -EIO : 0; write_tsk_long()
/linux-4.1.27/drivers/staging/android/ion/
H A Dcompat_ion.h9 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/staging/android/
H A Dtimed_gpio.h7 * may be copied, distributed, and modified under those terms.
H A Dtimed_output.h7 * may be copied, distributed, and modified under those terms.
H A Dsw_sync.h8 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/staging/android/uapi/
H A Dsw_sync.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/staging/gdm72xx/
H A Dsdio_boot.h6 * may be copied, distributed, and modified under those terms.
H A Dusb_boot.h6 * may be copied, distributed, and modified under those terms.
H A Dnetlink_k.h6 * may be copied, distributed, and modified under those terms.
H A Dgdm_qos.h6 * may be copied, distributed, and modified under those terms.
H A Dgdm_sdio.h6 * may be copied, distributed, and modified under those terms.
H A Dgdm_usb.h6 * may be copied, distributed, and modified under those terms.
H A Dgdm_wimax.h6 * may be copied, distributed, and modified under those terms.
H A Dwm_ioctl.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/gpu/drm/exynos/
H A Dexynos_mixer.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/clk/qcom/
H A Dclk-regmap-divider.h6 * may be copied, distributed, and modified under those terms.
H A Dclk-regmap-mux.h6 * may be copied, distributed, and modified under those terms.
H A Dreset.h6 * may be copied, distributed, and modified under those terms.
H A Dclk-branch.h6 * may be copied, distributed, and modified under those terms.
H A Dclk-pll.h6 * may be copied, distributed, and modified under those terms.
H A Dclk-regmap-divider.c6 * may be copied, distributed, and modified under those terms.
H A Dclk-regmap-mux.c6 * may be copied, distributed, and modified under those terms.
H A Dclk-regmap.h6 * may be copied, distributed, and modified under those terms.
H A Dcommon.h6 * may be copied, distributed, and modified under those terms.
H A Dreset.c6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/clock/
H A Dlsi,axm5516-clks.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-ipq806x.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-msm8960.h6 * may be copied, distributed, and modified under those terms.
H A Dalphascale,asm9260.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/gpu/drm/rockchip/
H A Drockchip_drm_fbdev.h7 * may be copied, distributed, and modified under those terms.
H A Drockchip_drm_fb.h7 * may be copied, distributed, and modified under those terms.
H A Drockchip_drm_drv.h9 * may be copied, distributed, and modified under those terms.
H A Drockchip_drm_gem.h7 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/fs/squashfs/
H A Dsymlink.c55 int bytes, copied; squashfs_symlink_readpage() local
83 for (bytes = 0; bytes < length; offset = 0, bytes += copied) { squashfs_symlink_readpage()
94 copied = squashfs_copy_data(pageaddr + bytes, entry, offset, squashfs_symlink_readpage()
96 if (copied == length - bytes) squashfs_symlink_readpage()
/linux-4.1.27/drivers/video/fbdev/
H A Dvt8500lcdfb.h8 * may be copied, distributed, and modified under those terms.
H A Dwm8505fb_regs.h11 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/include/linux/platform_data/
H A Dshtc1.h7 * may be copied, distributed, and modified under those terms.
H A Dzforce_ts.h7 * may be copied, distributed, and modified under those terms.
H A Dinvensense_mpu6050.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/sh/include/asm/
H A Dmachvec.h6 * May be copied or modified under the terms of the GNU General Public
/linux-4.1.27/arch/powerpc/boot/dts/include/dt-bindings/clock/
H A Dlsi,axm5516-clks.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-ipq806x.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-msm8960.h6 * may be copied, distributed, and modified under those terms.
H A Dalphascale,asm9260.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/arm64/boot/dts/include/dt-bindings/clock/
H A Dlsi,axm5516-clks.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-ipq806x.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-msm8960.h6 * may be copied, distributed, and modified under those terms.
H A Dalphascale,asm9260.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/metag/boot/dts/include/dt-bindings/clock/
H A Dlsi,axm5516-clks.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-ipq806x.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-msm8960.h6 * may be copied, distributed, and modified under those terms.
H A Dalphascale,asm9260.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/arm/boot/dts/include/dt-bindings/clock/
H A Dlsi,axm5516-clks.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-ipq806x.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-msm8960.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/tools/include/asm-generic/
H A Dbitops.h5 * tools/ copied this from include/asm-generic/bitops.h, bit by bit as it needed
/linux-4.1.27/include/dt-bindings/clock/
H A Dlsi,axm5516-clks.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-ipq806x.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,lcc-msm8960.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/scsi/
H A Dlibiscsi_tcp.c93 * data is copied to the indicated sg entry, at the given
171 segment->copied = 0; iscsi_tcp_segment_splice_digest()
181 * @copied: number of bytes copied
194 unsigned copied) iscsi_tcp_segment_done()
199 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "copied %u %u size %u %s\n", iscsi_tcp_segment_done()
200 segment->copied, copied, segment->size, iscsi_tcp_segment_done()
202 if (segment->hash && copied) { iscsi_tcp_segment_done()
211 sg_set_page(&sg, sg_page(segment->sg), copied, iscsi_tcp_segment_done()
212 segment->copied + segment->sg_offset + iscsi_tcp_segment_done()
215 sg_init_one(&sg, segment->data + segment->copied, iscsi_tcp_segment_done()
216 copied); iscsi_tcp_segment_done()
217 crypto_hash_update(segment->hash, &sg, copied); iscsi_tcp_segment_done()
220 segment->copied += copied; iscsi_tcp_segment_done()
221 if (segment->copied < segment->size) { iscsi_tcp_segment_done()
226 segment->total_copied += segment->copied; iscsi_tcp_segment_done()
227 segment->copied = 0; iscsi_tcp_segment_done()
234 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "total copied %u total size %u\n", iscsi_tcp_segment_done()
295 unsigned int copy = 0, copied = 0; iscsi_tcp_segment_recv() local
298 if (copied == len) { iscsi_tcp_segment_recv()
300 "copied %d bytes\n", len); iscsi_tcp_segment_recv()
304 copy = min(len - copied, segment->size - segment->copied); iscsi_tcp_segment_recv()
306 memcpy(segment->data + segment->copied, ptr + copied, copy); iscsi_tcp_segment_recv()
307 copied += copy; iscsi_tcp_segment_recv()
309 return copied; iscsi_tcp_segment_recv()
813 if (segment->copied == sizeof(struct iscsi_hdr) && hdr->hlength) { iscsi_tcp_hdr_recv_done()
877 * number of bytes copied.
919 BUG_ON(segment->copied >= segment->size); iscsi_tcp_recv_skb()
192 iscsi_tcp_segment_done(struct iscsi_tcp_conn *tcp_conn, struct iscsi_segment *segment, int recv, unsigned copied) iscsi_tcp_segment_done() argument
/linux-4.1.27/arch/avr32/oprofile/
H A Dbacktrace.c27 /* copied from arch/avr32/kernel/process.c */ valid_stack_ptr()
34 /* copied from arch/x86/oprofile/backtrace.c */ dump_user_backtrace()
/linux-4.1.27/arch/ia64/kernel/
H A Dcrash_dump.c6 * Original code comment copied from the i386 version of this file
18 * @pfn: page frame number to be copied
/linux-4.1.27/arch/s390/mm/
H A Dmaccess.c60 long copied; s390_kernel_write() local
63 copied = s390_kernel_write_odd(dst, src, size); s390_kernel_write()
64 dst += copied; s390_kernel_write()
65 src += copied; s390_kernel_write()
66 size -= copied; s390_kernel_write()
/linux-4.1.27/block/partitions/
H A Daix.c104 int copied = 512; read_lba() local
109 if (copied > count) read_lba()
110 copied = count; read_lba()
111 memcpy(buffer, data, copied); read_lba()
113 buffer += copied; read_lba()
114 totalreadcount += copied; read_lba()
115 count -= copied; read_lba()
/linux-4.1.27/arch/alpha/kernel/
H A Dptrace.c160 int copied = access_process_vm(task, addr, data, sizeof(int), 0); read_int() local
161 return (copied == sizeof(int)) ? 0 : -EIO; read_int()
167 int copied = access_process_vm(task, addr, &data, sizeof(int), 1); write_int() local
168 return (copied == sizeof(int)) ? 0 : -EIO; write_int()
277 size_t copied; arch_ptrace() local
284 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); arch_ptrace()
286 if (copied != sizeof(tmp)) arch_ptrace()
/linux-4.1.27/arch/xtensa/lib/
H A Dusercopy.S26 * The returned value is the number of bytes not copied. Implies zero
146 movi a2, 0 # return success for len bytes copied
206 movi a2, 0 # return success for len bytes copied
283 movi a2, 0 # return success for len bytes copied
304 sub a2, a5, a2 /* a2 <-- bytes copied */
305 sub a2, a11, a2 /* a2 <-- bytes not copied */
309 sub a2, a5, a2 /* a2 <-- bytes copied */
310 sub a2, a11, a2 /* a2 <-- bytes not copied == return value */
319 /* a2 still contains bytes not copied. */
/linux-4.1.27/arch/s390/kvm/
H A Dgaccess.h179 * If DAT is off data will be copied to guest real or absolute memory.
180 * If DAT is on data will be copied to the address space as specified by
185 * if the to be copied data crosses page boundaries in guest address space.
199 * undefined. Also parts of @data may have been copied to guest
204 * guest. No data has been copied to guest space.
206 * Note: in case an access exception is recognized no data has been copied to
207 * guest space (this is also true, if the to be copied data would cross
232 * data will be copied from guest space to kernel space.
255 * If an error occurs data may have been copied partially to guest memory.
278 * If an error occurs data may have been copied partially to kernel space.
301 * If an error occurs data may have been copied partially to guest memory.
324 * If an error occurs data may have been copied partially to kernel space.
/linux-4.1.27/arch/arm/include/asm/
H A Dfncpy.h27 * NOTE: that the copied function body must be entirely self-contained and
35 * function to be copied is defined, and ensure that your allocator for the
51 * The size of the function to be copied can't be determined from C:
/linux-4.1.27/net/bluetooth/
H A Daf_bluetooth.c219 size_t copied; bt_sock_recvmsg() local
235 copied = skb->len; bt_sock_recvmsg()
236 if (len < copied) { bt_sock_recvmsg()
238 copied = len; bt_sock_recvmsg()
242 err = skb_copy_datagram_msg(skb, 0, msg, copied); bt_sock_recvmsg()
253 return err ? : copied; bt_sock_recvmsg()
291 size_t target, copied = 0; bt_sock_stream_recvmsg() local
310 if (copied >= target) bt_sock_stream_recvmsg()
335 if (!copied) bt_sock_stream_recvmsg()
336 copied = -EFAULT; bt_sock_stream_recvmsg()
339 copied += chunk; bt_sock_stream_recvmsg()
387 return copied ? : err;
/linux-4.1.27/drivers/staging/vme/devices/
H A Dvme_user.c234 ssize_t copied = 0; resource_to_user() local
238 copied = vme_master_read(image[minor].resource, resource_to_user()
240 if (copied < 0) resource_to_user()
241 return (int)copied; resource_to_user()
244 (unsigned long)copied); resource_to_user()
246 copied = (copied - retval); resource_to_user()
260 return copied; resource_to_user()
273 ssize_t copied = 0; resource_from_user() local
279 copied = (copied - retval); resource_from_user()
281 copied = count; resource_from_user()
283 copied = vme_master_write(image[minor].resource, resource_from_user()
284 image[minor].kern_buf, copied, *ppos); resource_from_user()
294 return copied; resource_from_user()
460 unsigned long copied; vme_user_ioctl() local
472 copied = copy_from_user(&irq_req, argp, vme_user_ioctl()
474 if (copied != 0) { vme_user_ioctl()
497 copied = copy_to_user(argp, &master, vme_user_ioctl()
499 if (copied != 0) { vme_user_ioctl()
513 copied = copy_from_user(&master, argp, sizeof(master)); vme_user_ioctl()
514 if (copied != 0) { vme_user_ioctl()
542 copied = copy_to_user(argp, &slave, vme_user_ioctl()
544 if (copied != 0) { vme_user_ioctl()
553 copied = copy_from_user(&slave, argp, sizeof(slave)); vme_user_ioctl()
554 if (copied != 0) { vme_user_ioctl()
/linux-4.1.27/drivers/staging/gdm724x/
H A Dgdm_endian.h6 * may be copied, distributed, and modified under those terms.
H A Dnetlink_k.h6 * may be copied, distributed, and modified under those terms.
H A Dgdm_endian.c6 * may be copied, distributed, and modified under those terms.
H A Dgdm_lte.h6 * may be copied, distributed, and modified under those terms.
H A Dgdm_mux.h6 * may be copied, distributed, and modified under those terms.
H A Dgdm_tty.h6 * may be copied, distributed, and modified under those terms.
H A Dhci.h6 * may be copied, distributed, and modified under those terms.
H A Dhci_packet.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/x86/platform/goldfish/
H A Dgoldfish.c8 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/xtensa/include/uapi/asm/
H A Dposix_types.h8 * Largely copied from include/asm-ppc/posix_types.h
/linux-4.1.27/drivers/video/fbdev/msm/
H A Dmdp_scale_tables.h8 * may be copied, distributed, and modified under those terms.
H A Dmddi_client_dummy.c10 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/sh/drivers/pci/
H A Dfixups-snapgear.c10 * May be copied or modified under the terms of the GNU General Public
H A Dfixups-titan.c9 * May be copied or modified under the terms of the GNU General Public
H A Dfixups-landisk.c9 * May be copied or modified under the terms of the GNU General Public
H A Dops-sh5.c8 * May be copied or modified under the terms of the GNU General Public
H A Dpci-sh7780.h7 * May be copied or modified under the terms of the GNU General Public
/linux-4.1.27/arch/sh/include/mach-common/mach/
H A Dsecureedge5410.h6 * May be copied or modified under the terms of the GNU General Public
/linux-4.1.27/arch/parisc/include/uapi/asm/
H A Dmsgbuf.h7 * The msqid64_ds structure for parisc architecture, copied from sparc.
/linux-4.1.27/arch/hexagon/kernel/
H A Dtrampoline.S20 * Trampoline sequences to be copied onto user stack.
/linux-4.1.27/arch/arm/mach-tegra/
H A Dboard-paz00.c11 * may be copied, distributed, and modified under those terms.
H A Dboard.h13 * may be copied, distributed, and modified under those terms.
H A Dio.c12 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/arm/plat-samsung/include/plat/
H A Dfb.h22 * @pd: The platform data to set. The data is copied from the passed structure
/linux-4.1.27/include/drm/bridge/
H A Dptn3460.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/include/linux/input/
H A Dauo-pixcir-ts.h14 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/iio/
H A Dindustrialio-event.c59 int copied; iio_push_event() local
67 copied = kfifo_put(&ev_int->det_events, ev); iio_push_event()
68 if (copied != 0) iio_push_event()
104 unsigned int copied; iio_event_chrdev_read() local
129 ret = kfifo_to_user(&ev_int->det_events, buf, count, &copied); iio_event_chrdev_read()
141 if (copied == 0 && (filep->f_flags & O_NONBLOCK)) iio_event_chrdev_read()
144 } while (copied == 0); iio_event_chrdev_read()
146 return copied; iio_event_chrdev_read()
H A Dkfifo_buf.c93 int ret, copied; iio_read_first_n_kfifo() local
102 ret = kfifo_to_user(&kf->kf, buf, n, &copied); iio_read_first_n_kfifo()
107 return copied; iio_read_first_n_kfifo()
/linux-4.1.27/arch/x86/include/asm/
H A Dlguest.h63 /* The GDT entries copied into lguest_ro_state when running. */
66 /* The IDT entries: some copied into lguest_ro_state when running. */
H A Duaccess_32.h78 * Returns number of bytes that could not be copied.
125 * Returns number of bytes that could not be copied.
128 * If some data could not be copied, this function will pad the copied
H A Dbootparam_utils.h29 * should be copied in. sanitize_boot_params()
/linux-4.1.27/arch/s390/include/asm/
H A Duaccess.h106 * Returns number of bytes that could not be copied.
109 * If some data could not be copied, this function will pad the copied
126 * Returns number of bytes that could not be copied.
271 * Returns number of bytes that could not be copied.
297 * Returns number of bytes that could not be copied.
300 * If some data could not be copied, this function will pad the copied
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_virtio.h75 * @out_bytes - Debug stats for number of bytes copied from host to card.
76 * @in_bytes - Debug stats for number of bytes copied from card to host.
77 * @out_bytes_dma - Debug stats for number of bytes copied from host to card
79 * @in_bytes_dma - Debug stats for number of bytes copied from card to host
81 * @tx_len_unaligned - Debug stats for number of bytes copied to the card where
83 * @tx_dst_unaligned - Debug stats for number of bytes copied where the
/linux-4.1.27/fs/logfs/
H A Dfile.c39 loff_t pos, unsigned len, unsigned copied, struct page *page, logfs_write_end()
45 unsigned end = start + copied; logfs_write_end()
51 if (copied < len) { logfs_write_end()
57 copied = 0; logfs_write_end()
61 if (copied == 0) logfs_write_end()
79 return ret ? ret : copied; logfs_write_end()
38 logfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) logfs_write_end() argument
/linux-4.1.27/net/nfc/
H A Drawsock.c256 int copied; rawsock_recvmsg() local
265 copied = skb->len; rawsock_recvmsg()
266 if (len < copied) { rawsock_recvmsg()
268 copied = len; rawsock_recvmsg()
271 rc = skb_copy_datagram_msg(skb, 0, msg, copied); rawsock_recvmsg()
275 return rc ? : copied; rawsock_recvmsg()
/linux-4.1.27/fs/9p/
H A Dvfs_addr.c304 loff_t pos, unsigned len, unsigned copied, v9fs_write_end()
307 loff_t last_pos = pos + copied; v9fs_write_end()
312 if (unlikely(copied < len)) { v9fs_write_end()
318 zero_user(page, from + copied, len - copied); v9fs_write_end()
336 return copied; v9fs_write_end()
303 v9fs_write_end(struct file *filp, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) v9fs_write_end() argument
/linux-4.1.27/net/ipv4/
H A Dtcp.c60 * Michael O'Reilly : ack < copied bug fix.
880 ssize_t copied; do_tcp_sendpages() local
896 copied = 0; do_tcp_sendpages()
950 if (!copied) do_tcp_sendpages()
953 copied += copy; do_tcp_sendpages()
983 if (copied && !(flags & MSG_SENDPAGE_NOTLAST)) do_tcp_sendpages()
985 return copied; do_tcp_sendpages()
988 if (copied) do_tcp_sendpages()
1043 int *copied, size_t size) tcp_sendmsg_fastopen()
1063 *copied = tp->fastopen_req->copied; tcp_sendmsg_fastopen()
1072 int flags, err, copied = 0; tcp_sendmsg() local
1102 copied = tcp_send_rcvq(sk, msg, size); tcp_sendmsg()
1119 copied = 0; tcp_sendmsg()
1221 if (!copied) tcp_sendmsg()
1228 copied += copy; tcp_sendmsg()
1247 if (copied) tcp_sendmsg()
1258 if (copied) tcp_sendmsg()
1262 return copied + copied_syn; tcp_sendmsg()
1275 if (copied + copied_syn) tcp_sendmsg()
1336 int copied = 0, err = 0; tcp_peek_sndq() local
1345 copied += skb->len; tcp_peek_sndq()
1348 return err ?: copied; tcp_peek_sndq()
1357 static void tcp_cleanup_rbuf(struct sock *sk, int copied) tcp_cleanup_rbuf() argument
1365 "cleanup rbuf bug: copied %X seq %X rcvnxt %X\n", tcp_cleanup_rbuf()
1381 (copied > 0 && tcp_cleanup_rbuf()
1395 if (copied > 0 && !time_to_ack && !(sk->sk_shutdown & RCV_SHUTDOWN)) { tcp_cleanup_rbuf()
1473 int copied = 0; tcp_read_sock() local
1493 if (!copied) tcp_read_sock()
1494 copied = used; tcp_read_sock()
1498 copied += used; tcp_read_sock()
1530 if (copied > 0) { tcp_read_sock()
1532 tcp_cleanup_rbuf(sk, copied); tcp_read_sock()
1534 return copied; tcp_read_sock()
1550 int copied = 0; tcp_recvmsg() local
1608 if (copied) tcp_recvmsg()
1611 copied = timeo ? sock_intr_errno(timeo) : -EAGAIN; tcp_recvmsg()
1623 "recvmsg bug: copied %X seq %X rcvnxt %X fl %X\n", tcp_recvmsg()
1636 "recvmsg bug 2: copied %X seq %X rcvnxt %X fl %X\n", tcp_recvmsg()
1642 if (copied >= target && !sk->sk_backlog.tail) tcp_recvmsg()
1645 if (copied) { tcp_recvmsg()
1657 copied = sock_error(sk); tcp_recvmsg()
1669 copied = -ENOTCONN; tcp_recvmsg()
1676 copied = -EAGAIN; tcp_recvmsg()
1681 copied = sock_intr_errno(timeo); tcp_recvmsg()
1686 tcp_cleanup_rbuf(sk, copied); tcp_recvmsg()
1733 if (copied >= target) { tcp_recvmsg()
1748 copied += chunk; tcp_recvmsg()
1759 copied += chunk; tcp_recvmsg()
1764 (peek_seq - copied - urg_hole != tp->copied_seq)) { tcp_recvmsg()
1800 if (!copied) tcp_recvmsg()
1801 copied = -EFAULT; tcp_recvmsg()
1807 copied += used; tcp_recvmsg()
1838 tp->ucopy.len = copied > 0 ? len : 0; tcp_recvmsg()
1842 if (copied > 0 && (chunk = len - tp->ucopy.len) != 0) { tcp_recvmsg()
1845 copied += chunk; tcp_recvmsg()
1858 tcp_cleanup_rbuf(sk, copied); tcp_recvmsg()
1861 return copied; tcp_recvmsg()
1042 tcp_sendmsg_fastopen(struct sock *sk, struct msghdr *msg, int *copied, size_t size) tcp_sendmsg_fastopen() argument
/linux-4.1.27/drivers/isdn/pcbit/
H A Dlayer2.c93 frame->copied = 0; pcbit_l2_write()
174 if (frame->copied == 0) { pcbit_transmit()
228 flen = 2 + (frame->skb->len - frame->copied); pcbit_transmit()
241 cp_len = frame->skb->len - frame->copied; pcbit_transmit()
245 memcpy_topcbit(dev, frame->skb->data + frame->copied, pcbit_transmit()
247 frame->copied += cp_len; pcbit_transmit()
255 if (frame->skb == NULL || frame->copied == frame->skb->len) { pcbit_transmit()
437 frame->copied += tt; pcbit_receive()
439 if (frame->copied == frame->hdr_len + frame->dt_len) { pcbit_receive()
616 frame->copied = 0; pcbit_l2_err_recover()
/linux-4.1.27/drivers/tty/
H A Dtty_buffer.c302 int copied = 0; tty_insert_flip_string_fixed_flag() local
304 int goal = min_t(size_t, size - copied, TTY_BUFFER_PAGE); tty_insert_flip_string_fixed_flag()
314 copied += space; tty_insert_flip_string_fixed_flag()
318 } while (unlikely(size > copied)); tty_insert_flip_string_fixed_flag()
319 return copied; tty_insert_flip_string_fixed_flag()
338 int copied = 0; tty_insert_flip_string_flags() local
340 int goal = min_t(size_t, size - copied, TTY_BUFFER_PAGE); tty_insert_flip_string_flags()
348 copied += space; tty_insert_flip_string_flags()
353 } while (unlikely(size > copied)); tty_insert_flip_string_flags()
354 return copied; tty_insert_flip_string_flags()
/linux-4.1.27/net/ieee802154/
H A Dsocket.c332 size_t copied = 0; raw_recvmsg() local
340 copied = skb->len; raw_recvmsg()
341 if (len < copied) { raw_recvmsg()
343 copied = len; raw_recvmsg()
346 err = skb_copy_datagram_msg(skb, 0, msg, copied); raw_recvmsg()
353 copied = skb->len; raw_recvmsg()
359 return copied; raw_recvmsg()
719 size_t copied = 0; dgram_recvmsg() local
728 copied = skb->len; dgram_recvmsg()
729 if (len < copied) { dgram_recvmsg()
731 copied = len; dgram_recvmsg()
735 err = skb_copy_datagram_msg(skb, 0, msg, copied); dgram_recvmsg()
754 copied = skb->len; dgram_recvmsg()
760 return copied; dgram_recvmsg()
/linux-4.1.27/mm/
H A Dprocess_vm_access.c43 size_t copied; process_vm_rw_pages() local
49 copied = copy_page_from_iter(page, offset, copy, iter); process_vm_rw_pages()
52 copied = copy_page_to_iter(page, offset, copy, iter); process_vm_rw_pages()
54 len -= copied; process_vm_rw_pages()
55 if (copied < copy && iov_iter_count(iter)) process_vm_rw_pages()
214 /* copied = space before - space after */ process_vm_rw_core()
218 we return the number of bytes copied. Otherwise process_vm_rw_core()
/linux-4.1.27/include/trace/events/
H A Dext3.h183 unsigned int copied),
185 TP_ARGS(inode, pos, len, copied),
192 __field( unsigned int, copied )
200 __entry->copied = copied;
203 TP_printk("dev %d,%d ino %lu pos %llu len %u copied %u",
207 __entry->copied)
213 unsigned int copied),
215 TP_ARGS(inode, pos, len, copied)
221 unsigned int copied),
223 TP_ARGS(inode, pos, len, copied)
229 unsigned int copied),
231 TP_ARGS(inode, pos, len, copied)
/linux-4.1.27/net/core/
H A Ddatagram.c471 size_t copied; skb_copy_datagram_from_iter() local
475 copied = copy_page_from_iter(skb_frag_page(frag), skb_copy_datagram_from_iter()
478 if (copied != copy) skb_copy_datagram_from_iter()
538 ssize_t copied; zerocopy_sg_from_iter() local
545 copied = iov_iter_get_pages(from, pages, ~0U, zerocopy_sg_from_iter()
547 if (copied < 0) zerocopy_sg_from_iter()
550 iov_iter_advance(from, copied); zerocopy_sg_from_iter()
552 truesize = PAGE_ALIGN(copied + start); zerocopy_sg_from_iter()
553 skb->data_len += copied; zerocopy_sg_from_iter()
554 skb->len += copied; zerocopy_sg_from_iter()
557 while (copied) { zerocopy_sg_from_iter()
558 int size = min_t(int, copied, PAGE_SIZE - start); zerocopy_sg_from_iter()
561 copied -= size; zerocopy_sg_from_iter()
/linux-4.1.27/arch/s390/kernel/
H A Dcrash_dump.c117 * For pages below HSA size memory from the HSA is copied. Otherwise
250 unsigned long copied = 0; copy_from_oldmem() local
255 copied = min(count, OLDMEM_SIZE - (unsigned long) src); copy_from_oldmem()
256 rc = copy_from_realmem(dest, src + OLDMEM_BASE, copied); copy_from_oldmem()
263 copied = min(count, hsa_end - (unsigned long) src); copy_from_oldmem()
264 rc = memcpy_hsa(dest, (unsigned long) src, copied, 0); copy_from_oldmem()
269 return copy_from_realmem(dest + copied, src + copied, count - copied); copy_from_oldmem()
/linux-4.1.27/fs/ecryptfs/
H A Dmmap.c474 * @copied: The amount of data copied
480 loff_t pos, unsigned len, unsigned copied, ecryptfs_write_end()
485 unsigned to = from + copied; ecryptfs_write_end()
497 rc = copied; ecryptfs_write_end()
504 if (copied < PAGE_CACHE_SIZE) { ecryptfs_write_end()
523 if (pos + copied > i_size_read(ecryptfs_inode)) { ecryptfs_write_end()
524 i_size_write(ecryptfs_inode, pos + copied); ecryptfs_write_end()
534 rc = copied; ecryptfs_write_end()
478 ecryptfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) ecryptfs_write_end() argument
/linux-4.1.27/net/llc/
H A Daf_llc.c716 size_t copied = 0; llc_ui_recvmsg() local
724 copied = -ENOTCONN; llc_ui_recvmsg()
737 copied = 0; llc_ui_recvmsg()
748 if (copied) llc_ui_recvmsg()
750 copied = timeo ? sock_intr_errno(timeo) : -EAGAIN; llc_ui_recvmsg()
763 if (copied >= target && !sk->sk_backlog.tail) llc_ui_recvmsg()
766 if (copied) { llc_ui_recvmsg()
778 copied = sock_error(sk); llc_ui_recvmsg()
790 copied = -ENOTCONN; llc_ui_recvmsg()
796 copied = -EAGAIN; llc_ui_recvmsg()
801 if (copied >= target) { /* Do not sleep, just process backlog. */ llc_ui_recvmsg()
825 if (!copied) llc_ui_recvmsg()
826 copied = -EFAULT; llc_ui_recvmsg()
832 copied += used; llc_ui_recvmsg()
853 return copied; llc_ui_recvmsg()
890 int rc = -EINVAL, copied = 0, hdrlen; llc_ui_sendmsg() local
914 copied = size - hdrlen; llc_ui_sendmsg()
923 rc = memcpy_from_msg(skb_put(skb, copied), msg, copied); llc_ui_sendmsg()
953 return rc ? : copied; llc_ui_sendmsg()
/linux-4.1.27/arch/x86/lib/
H A Dcsum-wrappers_64.c15 * @len: number of bytes to be copied.
76 * @len: number of bytes to be copied.
124 * @len: number of bytes to be copied.
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Ddrm_buffer.c94 * user_data: A pointer the data that is copied to the buffer.
146 * case of split object data is copied to given stack object that is suplied
153 * stack_obj: A pointer to a memory location where object can be copied.
H A Ddrm_buffer.h89 * user_data: A pointer the data that is copied to the buffer.
103 * case of split object data is copied to given stack object that is suplied
110 * stack_obj: A pointer to a memory location where object can be copied.
/linux-4.1.27/include/scsi/
H A Dlibiscsi_tcp.h37 unsigned int copied; member in struct:iscsi_segment
63 /* copied and flipped values */
108 unsigned copied);
/linux-4.1.27/net/ipv6/
H A Ddatagram.c397 int copied; ipv6_recv_error() local
404 copied = skb->len; ipv6_recv_error()
405 if (copied > len) { ipv6_recv_error()
407 copied = len; ipv6_recv_error()
409 err = skb_copy_datagram_msg(skb, 0, msg, copied); ipv6_recv_error()
467 err = copied; ipv6_recv_error()
487 int copied; ipv6_recv_rxpmtu() local
494 copied = skb->len; ipv6_recv_rxpmtu()
495 if (copied > len) { ipv6_recv_rxpmtu()
497 copied = len; ipv6_recv_rxpmtu()
499 err = skb_copy_datagram_msg(skb, 0, msg, copied); ipv6_recv_rxpmtu()
518 err = copied; ipv6_recv_rxpmtu()
/linux-4.1.27/arch/cris/arch-v32/kernel/
H A Dptrace.c138 int copied; arch_ptrace() local
150 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); arch_ptrace()
152 if (copied != sizeof(tmp)) arch_ptrace()
278 int copied; insn_size() local
282 copied = access_process_vm(child, pc, &opcode, sizeof(opcode), 0); insn_size()
283 if (copied != sizeof(opcode)) insn_size()
/linux-4.1.27/drivers/isdn/hysdn/
H A Dboardergo.h24 /* following DPRAM layout copied from OS2-driver boarderg.h */
83 /* copied from boarderg.c */
/linux-4.1.27/arch/powerpc/include/asm/
H A Dpte-8xx.h17 * set these at the page level since they get copied from the Mx_TWC
21 * copied to the MD_TWC before it gets loaded.
/linux-4.1.27/arch/powerpc/lib/
H A Dcopypage_64.S41 srdi r8,r5,7 /* page is copied in 128 byte strides */
42 addi r8,r8,-1 /* one stride copied outside loop */
/linux-4.1.27/arch/arm64/kernel/
H A Defi-entry.S57 * efi_entry() will have copied the kernel image if necessary and we
77 * Flush the copied Image to the PoC, and ensure it is not shadowed by
/linux-4.1.27/tools/power/cpupower/debug/kernel/
H A Dcpufreq-test_tsc.c8 * code written by John Stultz. The read_pmtmr function was copied verbatim
59 /* the following code snipped is copied from arch/x86/kernel/acpi/boot.c cpufreq_test_tsc()
/linux-4.1.27/fs/gfs2/
H A Daops.c565 unsigned copied = 0; gfs2_internal_read() local
571 amt = size - copied; gfs2_internal_read()
578 memcpy(buf + copied, p + offset, amt); gfs2_internal_read()
581 copied += amt; gfs2_internal_read()
584 } while(copied < size); gfs2_internal_read()
797 * @copied: How much was actually copied by the VFS
806 loff_t pos, unsigned len, unsigned copied, gfs2_stuffed_write_end()
812 u64 to = pos + copied; gfs2_stuffed_write_end()
818 memcpy(buf + pos, kaddr + pos, copied); gfs2_stuffed_write_end()
819 memset(kaddr + pos + copied, 0, len - copied); gfs2_stuffed_write_end()
828 if (copied) { gfs2_stuffed_write_end()
847 return copied; gfs2_stuffed_write_end()
856 * @copied:
868 loff_t pos, unsigned len, unsigned copied, gfs2_write_end()
892 return gfs2_stuffed_write_end(inode, dibh, pos, len, copied, page); gfs2_write_end()
897 ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata); gfs2_write_end()
805 gfs2_stuffed_write_end(struct inode *inode, struct buffer_head *dibh, loff_t pos, unsigned len, unsigned copied, struct page *page) gfs2_stuffed_write_end() argument
867 gfs2_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) gfs2_write_end() argument
/linux-4.1.27/include/linux/
H A Dkfifo.h496 * number of copied elements.
521 * number of copied elements.
544 * copied.
571 * copied.
594 * @copied: pointer to output variable to store the number of copied bytes
602 #define kfifo_from_user(fifo, from, len, copied) \
608 unsigned int *__copied = (copied); \
620 * @to: where the data must be copied
622 * @copied: pointer to output variable to store the number of copied bytes
630 #define kfifo_to_user(fifo, to, len, copied) \
636 unsigned int *__copied = (copied); \
752 * copied. The data is not removed from the fifo.
786 const void __user *from, unsigned long len, unsigned int *copied);
789 void __user *to, unsigned long len, unsigned int *copied);
807 const void __user *from, unsigned long len, unsigned int *copied,
811 unsigned long len, unsigned int *copied, size_t recsize);
/linux-4.1.27/kernel/
H A Dsysctl_binary.c931 ssize_t result, copied = 0; bin_string() local
942 copied = result; bin_string()
943 lastp = oldval + copied - 1; bin_string()
954 copied -= 1; bin_string()
966 result = copied; bin_string()
974 ssize_t copied = 0; bin_intvec() local
1007 copied += sizeof(*vec); bin_intvec()
1035 result = copied; bin_intvec()
1045 ssize_t copied = 0; bin_ulongvec() local
1078 copied += sizeof(*vec); bin_ulongvec()
1106 result = copied; bin_ulongvec()
1116 ssize_t result, copied = 0; bin_uuid() local
1150 copied = oldlen; bin_uuid()
1152 result = copied; bin_uuid()
1160 ssize_t result, copied = 0; bin_dn_node_address() local
1193 copied = sizeof(dnaddr); bin_dn_node_address()
1218 result = copied; bin_dn_node_address()
/linux-4.1.27/drivers/mmc/host/
H A Dsdhci-pci-o2micro.h9 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/mtd/devices/
H A Dsst25l.c260 int i, j, ret, bytes, copied = 0; sst25l_write() local
286 copied++; sst25l_write()
293 for (j = 1; j < bytes; j++, copied++) { sst25l_write()
309 *retlen = copied; sst25l_write()
/linux-4.1.27/drivers/soc/tegra/fuse/
H A Dfuse.h10 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/staging/android/ion/tegra/
H A Dtegra_ion.c8 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/staging/goldfish/
H A Dgoldfish_nand_reg.h8 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/staging/unisys/uislib/
H A Duisqueue.c102 * pSignal: (IN) pointer to where the signals are to be copied
151 * pSignal. Returns the # of signals copied as the value of the routine.
156 * pSignal: (IN) pointer to where the signals are to be copied
164 * # of signals copied.
/linux-4.1.27/arch/x86/kernel/
H A Dcrash_dump_64.c15 * @pfn: page frame number to be copied
/linux-4.1.27/arch/sh/kernel/
H A Dcrash_dump.c14 * @pfn: page frame number to be copied
/linux-4.1.27/arch/sh/math-emu/
H A Dsfp-util.h2 * These are copied from glibc/stdlib/longlong.h
/linux-4.1.27/arch/tile/lib/
H A Dstring-endian.h38 * byte. With all indices of zero, the first byte is copied into all
/linux-4.1.27/arch/um/include/shared/
H A Duser.h12 * The usual definition - copied here because the kernel provides its own,
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/reset/
H A Daltr,rst-mgr.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,gcc-msm8916.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,gcc-msm8974.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-apq8084.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-msm8960.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-msm8974.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/drivers/usb/phy/
H A Dphy-ulpi-viewport.c6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/include/linux/spi/
H A Dpxa2xx_spi.h40 * copied to spi_device.platform_data ... mostly for dma tuning
/linux-4.1.27/include/linux/usb/
H A Dmsm_hsusb_hw.h7 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/powerpc/platforms/pasemi/
H A Dmisc.c21 /* The below is from fsl_soc.c. It's copied because since there are no
/linux-4.1.27/arch/sh/boards/mach-kfr2r09/
H A Dsdram.S19 * this code will be copied to on-chip memory and executed from there.
/linux-4.1.27/arch/mips/kernel/
H A Dcrash_dump.c11 * @pfn: page frame number to be copied
H A Dptrace32.c54 * 4 bytes copied into compat_arch_ptrace()
63 int copied; compat_arch_ptrace() local
72 copied = access_process_vm(child, (u64)addrOthers, &tmp, compat_arch_ptrace()
74 if (copied != sizeof(tmp)) compat_arch_ptrace()
/linux-4.1.27/arch/mips/lib/
H A Dstrncpy_user.S28 * it happens at most some bytes of the exceptions handlers will be copied.
/linux-4.1.27/arch/openrisc/include/asm/
H A Dunaligned.h23 * This is copied from the generic implementation and the C-struct
/linux-4.1.27/arch/powerpc/boot/dts/include/dt-bindings/reset/
H A Daltr,rst-mgr.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,gcc-msm8916.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,gcc-msm8974.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-apq8084.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-msm8960.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-msm8974.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/powerpc/boot/
H A Dns16550.c4 * Original copied from <file:arch/ppc/boot/common/ns16550.c>
/linux-4.1.27/arch/arm64/boot/dts/include/dt-bindings/reset/
H A Daltr,rst-mgr.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,gcc-msm8916.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,gcc-msm8974.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-apq8084.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-msm8960.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-msm8974.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/blackfin/include/asm/
H A Dbfin5xx_spi.h75 * copied to spi_device.platform_data ... mostly for dma tuning
/linux-4.1.27/arch/ia64/lib/
H A Dcopy_page_mck.S30 * cache-lines, the last K stages are used to copy the cache-line words not copied by
34 * into L1D and p[D] is TRUE if a cacheline needs to be copied.
58 * Here, v[x] is copied by the (memory) prefetch. n[y] is loaded at p[C]
59 * to fetch the second-half of the L2 cache line into L1, and the tX words are copied in
/linux-4.1.27/arch/metag/boot/dts/include/dt-bindings/reset/
H A Daltr,rst-mgr.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,gcc-msm8916.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,gcc-msm8974.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-apq8084.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-msm8960.h6 * may be copied, distributed, and modified under those terms.
H A Dqcom,mmcc-msm8974.h6 * may be copied, distributed, and modified under those terms.
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
H A Dpoodle.h4 * May be copied or modified under the terms of the GNU General Public
/linux-4.1.27/arch/arm/mach-rockchip/
H A Dsleep.S22 * this code will be copied from

Completed in 8513 milliseconds

12345678