Home
last modified time | relevance | path

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

123456

/linux-4.4.14/net/core/
Ddatagram.c359 int i, copy = start - offset; in skb_copy_datagram_iter() local
365 if (copy > 0) { in skb_copy_datagram_iter()
366 if (copy > len) in skb_copy_datagram_iter()
367 copy = len; in skb_copy_datagram_iter()
368 if (copy_to_iter(skb->data + offset, copy, to) != copy) in skb_copy_datagram_iter()
370 if ((len -= copy) == 0) in skb_copy_datagram_iter()
372 offset += copy; in skb_copy_datagram_iter()
383 if ((copy = end - offset) > 0) { in skb_copy_datagram_iter()
384 if (copy > len) in skb_copy_datagram_iter()
385 copy = len; in skb_copy_datagram_iter()
[all …]
Dskbuff.c1664 int i, copy; in skb_copy_bits() local
1670 if ((copy = start - offset) > 0) { in skb_copy_bits()
1671 if (copy > len) in skb_copy_bits()
1672 copy = len; in skb_copy_bits()
1673 skb_copy_from_linear_data_offset(skb, offset, to, copy); in skb_copy_bits()
1674 if ((len -= copy) == 0) in skb_copy_bits()
1676 offset += copy; in skb_copy_bits()
1677 to += copy; in skb_copy_bits()
1687 if ((copy = end - offset) > 0) { in skb_copy_bits()
1690 if (copy > len) in skb_copy_bits()
[all …]
/linux-4.4.14/include/linux/
Dregset.h229 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyout() local
233 memcpy(*kbuf, data, copy); in user_regset_copyout()
234 *kbuf += copy; in user_regset_copyout()
235 } else if (__copy_to_user(*ubuf, data, copy)) in user_regset_copyout()
238 *ubuf += copy; in user_regset_copyout()
239 *pos += copy; in user_regset_copyout()
240 *count -= copy; in user_regset_copyout()
254 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin() local
258 memcpy(data, *kbuf, copy); in user_regset_copyin()
259 *kbuf += copy; in user_regset_copyin()
[all …]
Drbtree_augmented.h40 void (*copy)(struct rb_node *old, struct rb_node *new); member
186 augment->copy(node, successor); in __rb_erase_augmented()
212 augment->copy(node, successor); in __rb_erase_augmented()
/linux-4.4.14/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 …]
/linux-4.4.14/Documentation/mic/mpssd/
Dmpssd.c349 sum_iovec_len(struct mic_copy_desc *copy) in sum_iovec_len() argument
354 for (i = 0; i < copy->iovcnt; i++) in sum_iovec_len()
355 sum += copy->iov[i].iov_len; in sum_iovec_len()
360 struct mic_copy_desc *copy) in verify_out_len() argument
362 if (copy->out_len != sum_iovec_len(copy)) { in verify_out_len()
365 copy->out_len, sum_iovec_len(copy)); in verify_out_len()
366 assert(copy->out_len == sum_iovec_len(copy)); in verify_out_len()
372 disp_iovec(struct mic_info *mic, struct mic_copy_desc *copy, in disp_iovec() argument
377 for (i = 0; i < copy->iovcnt; i++) in disp_iovec()
380 copy->iov[i].iov_base, copy->iov[i].iov_len); in disp_iovec()
[all …]
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_fd.c356 struct scifioctl_copy copy; in scif_fdioctl() local
358 if (copy_from_user(&copy, argp, sizeof(copy))) { in scif_fdioctl()
362 err = scif_readfrom(priv, copy.loffset, copy.len, copy.roffset, in scif_fdioctl()
363 copy.flags); in scif_fdioctl()
371 struct scifioctl_copy copy; in scif_fdioctl() local
373 if (copy_from_user(&copy, argp, sizeof(copy))) { in scif_fdioctl()
377 err = scif_writeto(priv, copy.loffset, copy.len, copy.roffset, in scif_fdioctl()
378 copy.flags); in scif_fdioctl()
386 struct scifioctl_copy copy; in scif_fdioctl() local
388 if (copy_from_user(&copy, argp, sizeof(copy))) { in scif_fdioctl()
[all …]
/linux-4.4.14/lib/
Diov_iter.c141 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local
156 copy = min(bytes, iov->iov_len - skip); in copy_page_to_iter_iovec()
158 if (!fault_in_pages_writeable(buf, copy)) { in copy_page_to_iter_iovec()
163 left = __copy_to_user_inatomic(buf, from, copy); in copy_page_to_iter_iovec()
164 copy -= left; in copy_page_to_iter_iovec()
165 skip += copy; in copy_page_to_iter_iovec()
166 from += copy; in copy_page_to_iter_iovec()
167 bytes -= copy; in copy_page_to_iter_iovec()
172 copy = min(bytes, iov->iov_len); in copy_page_to_iter_iovec()
173 left = __copy_to_user_inatomic(buf, from, copy); in copy_page_to_iter_iovec()
[all …]
/linux-4.4.14/arch/parisc/kernel/
Dentry.S118 copy %r30, %r17
131 copy %r9,%r29
139 copy %r30,%r1
145 copy %r9,%r29
389 copy \spc,\tmp
415 copy %r0,\pte
419 copy \pmd,%r9
441 copy %r0,\pte
449 copy \index,\pgd
517 copy \pte,\tmp
[all …]
Dreal2.S73 copy %arg0, %sp /* adopt the real-mode SP */
76 copy %arg2, %r31
244 copy %arg0, %sp /* adopt the real-mode SP */
247 copy %arg2, %r31
302 copy %r26,%r28
Dsyscall.S197 copy %r19,%r2 /* W bit back to r2 */
315 copy %r2,%r26
326 copy %ret0,%r20
641 copy %r0, %r21
800 copy %r0, %r28
810 copy %r0, %r28
820 copy %r0, %r28
830 copy %r0, %r28
842 copy %r0, %r28
852 copy %r0, %r21
Dhead.S120 copy %r0,%r2
203 copy %r0,%arg3
332 copy %arg0,%r3
Dpacache.S90 copy %arg0, %r28 /* Init base addr */
95 copy %arg2, %r29 /* Init middle loop count */
102 copy %arg3, %r31 /* Re-init inner loop count */
109 copy %arg0, %r28 /* init base addr */
110 copy %arg2, %r29 /* init middle loop count */
133 copy %arg0, %r28 /* Init base addr */
138 copy %arg2, %r29 /* Init middle loop count */
145 copy %arg3, %r31 /* Re-init inner loop count */
152 copy %arg0, %r28 /* init base addr */
153 copy %arg2, %r29 /* init middle loop count */
[all …]
/linux-4.4.14/Documentation/device-mapper/
Dkcopyd.txt4 Kcopyd provides the ability to copy a range of sectors from one block-device
9 to set aside for their copy jobs. This is done with a call to
15 To start a copy job, the user must set up io_region structures to describe
16 the source and destinations of the copy. Each io_region indicates a
18 of the copy is given as one io_region structure, and the destinations of the
19 copy are given as an array of io_region structures.
27 To start the copy, the user calls kcopyd_copy(), passing in the client
29 completion callback routine, and a pointer to some context data for the copy.
38 When the copy completes, kcopyd will call the user's completion routine,
40 write error occurred during the copy.
[all …]
/linux-4.4.14/drivers/block/
Dbrd.c199 size_t copy; in copy_to_brd_setup() local
201 copy = min_t(size_t, n, PAGE_SIZE - offset); in copy_to_brd_setup()
204 if (copy < n) { in copy_to_brd_setup()
205 sector += copy >> SECTOR_SHIFT; in copy_to_brd_setup()
239 size_t copy; in copy_to_brd() local
241 copy = min_t(size_t, n, PAGE_SIZE - offset); in copy_to_brd()
246 memcpy(dst + offset, src, copy); in copy_to_brd()
249 if (copy < n) { in copy_to_brd()
250 src += copy; in copy_to_brd()
251 sector += copy >> SECTOR_SHIFT; in copy_to_brd()
[all …]
/linux-4.4.14/Documentation/
Dlzo.txt25 - a length (number of bytes to copy from dictionary)
26 - the number of literals to copy, which is retained in variable "state"
53 ranges, resulting in multiple copy instructions using different encodings.
57 After any instruction except the large literal copy, 0, 1, 2 or 3 literals
66 End of stream is declared when a block copy of distance 0 is seen. Only one
81 noting that codes 16 and 17 will represent a block copy from
85 18..21 : copy 0..3 literals
86 state = (byte - 17) = 0..3 [ copy <state> literals ]
89 22..255 : copy literal string
91 state = 4 [ don't copy extra literals ]
[all …]
Dgcov.txt121 coverage data for such code by keeping a copy of the data associated
197 may not correctly copy files from sysfs.
198 Solution: Use 'cat' to read .gcda files and 'cp -d' to copy links.
225 echo "$DEST successfully created, copy to test system and unpack with:"
256 echo "$DEST successfully created, copy to build system and unpack with:"
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_draw.c230 drawable->u.copy.src_area.top = 0; in qxl_draw_opaque_fb()
231 drawable->u.copy.src_area.bottom = height; in qxl_draw_opaque_fb()
232 drawable->u.copy.src_area.left = 0; in qxl_draw_opaque_fb()
233 drawable->u.copy.src_area.right = width; in qxl_draw_opaque_fb()
235 drawable->u.copy.rop_descriptor = SPICE_ROPD_OP_PUT; in qxl_draw_opaque_fb()
236 drawable->u.copy.scale_mode = 0; in qxl_draw_opaque_fb()
237 drawable->u.copy.mask.flags = 0; in qxl_draw_opaque_fb()
238 drawable->u.copy.mask.pos.x = 0; in qxl_draw_opaque_fb()
239 drawable->u.copy.mask.pos.y = 0; in qxl_draw_opaque_fb()
240 drawable->u.copy.mask.bitmap = 0; in qxl_draw_opaque_fb()
[all …]
/linux-4.4.14/drivers/misc/mic/host/
Dmic_fops.c80 struct mic_copy_desc copy; in mic_ioctl() local
86 if (copy_from_user(&copy, argp, sizeof(copy))) in mic_ioctl()
91 __func__, __LINE__, copy.iovcnt, copy.vr_idx, in mic_ioctl()
92 copy.update_used); in mic_ioctl()
94 ret = mic_virtio_copy_desc(mvdev, &copy); in mic_ioctl()
103 &copy.out_len, sizeof(copy.out_len))) { in mic_ioctl()
Dmic_virtio.c256 struct mic_copy_desc *copy) in _mic_virtio_copy() argument
259 u32 iovcnt = copy->iovcnt; in _mic_virtio_copy()
261 struct iovec __user *u_iov = copy->iov; in _mic_virtio_copy()
263 struct mic_vringh *mvr = &mvdev->mvr[copy->vr_idx]; in _mic_virtio_copy()
271 copy->out_len = 0; in _mic_virtio_copy()
295 copy->vr_idx, &out_len); in _mic_virtio_copy()
303 copy->out_len += out_len; in _mic_virtio_copy()
306 copy->vr_idx, &out_len); in _mic_virtio_copy()
314 copy->out_len += out_len; in _mic_virtio_copy()
328 if (*head != USHRT_MAX && copy->out_len && copy->update_used) { in _mic_virtio_copy()
[all …]
/linux-4.4.14/arch/xtensa/lib/
Dmemcopy.S106 # copy 1 byte
115 # copy 2 bytes
133 mov a5, a2 # copy dst so that a2 is return value
141 _bany a3, a8, .Lsrcunaligned # then use shifting copy
145 # copy 16 bytes per iteration for word-aligned dst and word-aligned src
169 # copy 8 bytes
182 # copy 4 bytes
191 # copy 2 bytes
199 # copy 1 byte
211 # copy 16 bytes per iteration for word-aligned dst and unaligned src
[all …]
Dusercopy.S82 mov a5, a2 # copy dst so that a2 is return value
91 bnone a3, a8, .Laligned # then use word copy
104 # copy 1 byte
113 # copy 2 bytes
152 # copy 16 bytes per iteration for word-aligned dst and word-aligned src
179 # copy 8 bytes
188 # copy 4 bytes
195 # copy 2 bytes
202 # copy 1 byte
217 # copy 16 bytes per iteration for word-aligned dst and unaligned src
[all …]
/linux-4.4.14/drivers/w1/slaves/
Dw1_ds2431.c211 int copy; in eeprom_write() local
236 copy = W1_F2D_SCRATCH_SIZE - in eeprom_write()
239 if (copy > len) in eeprom_write()
240 copy = len; in eeprom_write()
242 memcpy(&tmp[addr & W1_F2D_SCRATCH_MASK], buf, copy); in eeprom_write()
250 copy = W1_F2D_SCRATCH_SIZE; in eeprom_write()
251 if (w1_f2d_write(sl, addr, copy, buf) < 0) { in eeprom_write()
256 buf += copy; in eeprom_write()
257 addr += copy; in eeprom_write()
258 len -= copy; in eeprom_write()
/linux-4.4.14/fs/dlm/
Dmidcomms.c37 unsigned copy = len; in copy_from_cb() local
39 if ((copy + offset) > limit) in copy_from_cb()
40 copy = limit - offset; in copy_from_cb()
41 memcpy(dst, base + offset, copy); in copy_from_cb()
42 len -= copy; in copy_from_cb()
44 memcpy(dst + copy, base, len); in copy_from_cb()
/linux-4.4.14/net/sunrpc/
Dxdr.c177 size_t copy; in _shift_data_right_pages() local
201 copy = len; in _shift_data_right_pages()
202 if (copy > pgto_base) in _shift_data_right_pages()
203 copy = pgto_base; in _shift_data_right_pages()
204 if (copy > pgfrom_base) in _shift_data_right_pages()
205 copy = pgfrom_base; in _shift_data_right_pages()
206 pgto_base -= copy; in _shift_data_right_pages()
207 pgfrom_base -= copy; in _shift_data_right_pages()
212 memcpy(vto + pgto_base, vfrom + pgfrom_base, copy); in _shift_data_right_pages()
215 memmove(vto + pgto_base, vto + pgfrom_base, copy); in _shift_data_right_pages()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Ddir.c895 static int ll_ioc_copy_start(struct super_block *sb, struct hsm_copy *copy) in ll_ioc_copy_start() argument
902 hpk.hpk_fid = copy->hc_hai.hai_fid; in ll_ioc_copy_start()
903 hpk.hpk_cookie = copy->hc_hai.hai_cookie; in ll_ioc_copy_start()
904 hpk.hpk_extent.offset = copy->hc_hai.hai_extent.offset; in ll_ioc_copy_start()
911 if (copy->hc_hai.hai_action == HSMA_ARCHIVE) { in ll_ioc_copy_start()
916 inode = search_inode_for_lustre(sb, &copy->hc_hai.hai_fid); in ll_ioc_copy_start()
931 PFID(&copy->hc_hai.hai_fid), rc, in ll_ioc_copy_start()
932 copy->hc_hai.hai_cookie); in ll_ioc_copy_start()
941 copy->hc_data_version = data_version; in ll_ioc_copy_start()
966 static int ll_ioc_copy_end(struct super_block *sb, struct hsm_copy *copy) in ll_ioc_copy_end() argument
[all …]
/linux-4.4.14/drivers/net/ethernet/sfc/
Dsiena_sriov.c406 struct efx_memcpy_req copy[4]; in __efx_siena_sriov_push_vf_status() local
418 memset(copy, '\0', sizeof(copy)); in __efx_siena_sriov_push_vf_status()
420 copy[0].from_buf = &status->generation_start; in __efx_siena_sriov_push_vf_status()
421 copy[0].to_rid = vf->pci_rid; in __efx_siena_sriov_push_vf_status()
422 copy[0].to_addr = vf->status_addr + offsetof(struct vfdi_status, in __efx_siena_sriov_push_vf_status()
424 copy[0].length = sizeof(status->generation_start); in __efx_siena_sriov_push_vf_status()
430 copy[1].from_rid = efx->pci_dev->devfn; in __efx_siena_sriov_push_vf_status()
431 copy[1].from_addr = nic_data->vfdi_status.dma_addr + data_offset; in __efx_siena_sriov_push_vf_status()
432 copy[1].to_rid = vf->pci_rid; in __efx_siena_sriov_push_vf_status()
433 copy[1].to_addr = vf->status_addr + data_offset; in __efx_siena_sriov_push_vf_status()
[all …]
/linux-4.4.14/arch/metag/lib/
Dmemcpy.S15 ! If there are less than 16 bytes to copy use the byte copy loop
19 ! Simply copy a byte at a time
36 ! The destination address is not 8 byte aligned. We will copy bytes from
38 ! destination address alignment (i.e we should never copy more than 7
48 ! We have at least (16 - 7) = 9 bytes to copy - calculate the number of 8 byte
49 ! blocks, then jump to the unaligned copy loop or fall through to the aligned
50 ! copy loop as appropriate.
55 BNZ $Lunaligned_copy ! if unaligned, use unaligned copy loop
74 ! If there are any remaining bytes use the byte copy loop, otherwise we are done
91 ! if there is no mis-alignment after all, use the aligned copy loop
[all …]
/linux-4.4.14/drivers/staging/goldfish/
Dgoldfish_audio.c153 ssize_t copy = count; in goldfish_audio_write() local
155 if (copy > WRITE_BUFFER_SIZE) in goldfish_audio_write()
156 copy = WRITE_BUFFER_SIZE; in goldfish_audio_write()
167 if (copy_from_user(kbuf, buf, copy)) { in goldfish_audio_write()
179 AUDIO_WRITE(data, AUDIO_WRITE_BUFFER_1, copy); in goldfish_audio_write()
182 AUDIO_WRITE(data, AUDIO_WRITE_BUFFER_2, copy); in goldfish_audio_write()
186 buf += copy; in goldfish_audio_write()
187 result += copy; in goldfish_audio_write()
188 count -= copy; in goldfish_audio_write()
/linux-4.4.14/arch/parisc/lib/
Dlusercopy.S53 copy %r0,%r1
82 copy %r25,%r28
108 copy %r26,%r24
127 copy %r24,%r26 /* reset r26 so 0 is returned on fault */
Dfixup.S73 copy %r0, %r9
81 copy %r0, %r9
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_asic.c226 .copy = {
231 .copy = &r100_copy_blit,
294 .copy = {
299 .copy = &r100_copy_blit,
390 .copy = {
395 .copy = &r100_copy_blit,
458 .copy = {
463 .copy = &r100_copy_blit,
526 .copy = {
531 .copy = &r100_copy_blit,
[all …]
Dni_dma.c161 if ((rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) || in cayman_dma_stop()
162 (rdev->asic->copy.copy_ring_index == CAYMAN_RING_TYPE_DMA1_INDEX)) in cayman_dma_stop()
257 if ((rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) || in cayman_dma_resume()
258 (rdev->asic->copy.copy_ring_index == CAYMAN_RING_TYPE_DMA1_INDEX)) in cayman_dma_resume()
Dradeon_benchmark.c122 if (rdev->asic->copy.dma) { in radeon_benchmark_move()
133 if (rdev->asic->copy.blit) { in radeon_benchmark_move()
Dr600_dma.c103 if (rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) in r600_dma_stop()
180 if (rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) in r600_dma_resume()
446 int ring_index = rdev->asic->copy.dma_ring_index; in r600_copy_dma()
/linux-4.4.14/Documentation/dvb/
Dget_dvb_firmware74 copy("$tmpdir/software/OEM/HE/App/boot/SC_MAIN.MC", $outfile);
94 copy("$tmpdir/ZEnglish/sc_main.mc", $outfile);
112 copy("$tmpdir/fwtmp", $outfile);
130 copy("$tmpdir/fwtmp", $outfile);
148 copy("$tmpdir/fwtmp", $outfile);
163 copy($sourcefile, $outfile);
180 copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_T.bin", $outfile);
197 copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_X.bin", $outfile);
214 copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_S.bin", $outfile);
252 copy ("$tmpdir/opera1-fpga.fw",$fwfile1);
[all …]
/linux-4.4.14/net/rxrpc/
Dar-recvmsg.c54 int copy, ret, ullen, offset, copied = 0; in rxrpc_recvmsg() local
179 copy = skb->len - offset; in rxrpc_recvmsg()
180 if (copy > len - copied) in rxrpc_recvmsg()
181 copy = len - copied; in rxrpc_recvmsg()
183 ret = skb_copy_datagram_msg(skb, offset, msg, copy); in rxrpc_recvmsg()
189 _debug("copied %d+%d", copy, copied); in rxrpc_recvmsg()
191 offset += copy; in rxrpc_recvmsg()
192 copied += copy; in rxrpc_recvmsg()
Dar-output.c612 int copy = skb_tailroom(skb); in rxrpc_send_data() local
613 ASSERTCMP(copy, >, 0); in rxrpc_send_data()
614 if (copy > msg_data_left(msg)) in rxrpc_send_data()
615 copy = msg_data_left(msg); in rxrpc_send_data()
616 if (copy > sp->remain) in rxrpc_send_data()
617 copy = sp->remain; in rxrpc_send_data()
620 ret = skb_add_data(skb, &msg->msg_iter, copy); in rxrpc_send_data()
624 sp->remain -= copy; in rxrpc_send_data()
625 skb->mark += copy; in rxrpc_send_data()
626 copied += copy; in rxrpc_send_data()
/linux-4.4.14/arch/arm/boot/dts/
Dkirkwood-nsa310a.dts105 green-copy {
106 label = "nsa310:green:copy";
109 red-copy {
110 label = "nsa310:red:copy";
Dkirkwood-nsa310.dts131 green-copy {
132 label = "nsa310:green:copy";
135 red-copy {
136 label = "nsa310:red:copy";
Dkirkwood-nsa3x0-common.dtsi35 pmx_btn_copy: pmx-btn-copy {
45 pmx_led_copy_green: pmx-led-copy-green {
50 pmx_led_copy_red: pmx-led-copy-red {
Dkirkwood-nsa320.dts186 green-copy {
187 label = "nsa320:green:copy";
190 red-copy {
191 label = "nsa320:red:copy";
Dimx6q-apf6dev.dts19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dstm32429i-eval.dts19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dmeson8b-mxq.dts20 * You should have received a copy of the GNU General Public License
26 * obtaining a copy of this software and associated documentation
29 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6q-gw551x.dts19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6dl-apf6dev.dts19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dstm32f429-disco.dts19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dmeson8b-odroidc1.dts20 * You should have received a copy of the GNU General Public License
26 * obtaining a copy of this software and associated documentation
29 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6dl-gw551x.dts19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dmeson6-atv1200.dts19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dmeson6.dtsi19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dsun7i-a20-mk808c.dts21 * You should have received a copy of the GNU General Public
29 * obtaining a copy of this software and associated documentation
32 * copy, modify, merge, publish, distribute, sublicense, and/or
Dkirkwood-ib62x0.dts42 pmx_button_usb_copy: pmx-button-usb-copy {
92 usb-copy {
Dmeson8.dtsi19 * You should have received a copy of the GNU General Public License
25 * obtaining a copy of this software and associated documentation
28 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6qdl-apf6.dtsi19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6dl-hummingboard.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6dl-cubox-i.dts21 * obtaining a copy of this software and associated documentation
24 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6q-sabrelite.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Dvf610m4.dtsi24 * obtaining a copy of this software and associated documentation
27 * copy, modify, merge, publish, distribute, sublicense, and/or
Duniphier-ref-daughter.dtsi24 * obtaining a copy of this software and associated documentation
27 * copy, modify, merge, publish, distribute, sublicense, and/or
Daxp152.dtsi24 * obtaining a copy of this software and associated documentation
27 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6dl-nitrogen6x.dts23 * obtaining a copy of this software and associated documentation
26 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6q-nitrogen6x.dts23 * obtaining a copy of this software and associated documentation
26 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6dl-nit6xlite.dts21 * obtaining a copy of this software and associated documentation
24 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6dl-sabrelite.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6q-nitrogen6_max.dts21 * obtaining a copy of this software and associated documentation
24 * copy, modify, merge, publish, distribute, sublicense, and/or
Dmeson.dtsi19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dmeson8b.dtsi20 * You should have received a copy of the GNU General Public License
26 * obtaining a copy of this software and associated documentation
29 * copy, modify, merge, publish, distribute, sublicense, and/or
Dstm32f429.dtsi19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dberlin2-sony-nsz-gs7.dts18 * obtaining a copy of this software and associated documentation
21 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6q-hummingboard.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Darmada-388.dtsi20 * obtaining a copy of this software and associated documentation
23 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6q-cubox-i.dts21 * obtaining a copy of this software and associated documentation
24 * copy, modify, merge, publish, distribute, sublicense, and/or
Drk3288-firefly.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Dsun5i-r8.dtsi25 * obtaining a copy of this software and associated documentation
28 * copy, modify, merge, publish, distribute, sublicense, and/or
Dberlin2cd-google-chromecast.dts18 * obtaining a copy of this software and associated documentation
21 * copy, modify, merge, publish, distribute, sublicense, and/or
Dsun6i-a31s.dtsi22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Dcros-ec-sbs.dtsi24 * obtaining a copy of this software and associated documentation
27 * copy, modify, merge, publish, distribute, sublicense, and/or
Darmada-390.dtsi26 * obtaining a copy of this software and associated documentation
29 * copy, modify, merge, publish, distribute, sublicense, and/or
Darmada-398.dtsi26 * obtaining a copy of this software and associated documentation
29 * copy, modify, merge, publish, distribute, sublicense, and/or
Dsun5i-a13-q8-tablet.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Duniphier-support-card.dtsi24 * obtaining a copy of this software and associated documentation
27 * copy, modify, merge, publish, distribute, sublicense, and/or
Dat91sam9xe.dtsi25 * obtaining a copy of this software and associated documentation
28 * copy, modify, merge, publish, distribute, sublicense, and/or
Drk3288-firefly-beta.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Dls1021a-twr.dts19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6sl-warp.dts19 * You should have received a copy of the GNU General Public
27 * obtaining a copy of this software and associated documentation
30 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6dl-gw54xx.dts5 * License. You may obtain a copy of the GNU General Public License
Dimx6dl-gw51xx.dts5 * License. You may obtain a copy of the GNU General Public License
Dimx6dl-gw52xx.dts5 * License. You may obtain a copy of the GNU General Public License
Dimx6dl-gw53xx.dts5 * License. You may obtain a copy of the GNU General Public License
Dimx6dl-gw552x.dts5 * License. You may obtain a copy of the GNU General Public License
Dimx6q-gw51xx.dts5 * License. You may obtain a copy of the GNU General Public License
Dimx6q-phytec-pfla02.dtsi5 * License. You may obtain a copy of the GNU General Public License
Duniphier-proxstream2-gentil.dts24 * obtaining a copy of this software and associated documentation
27 * copy, modify, merge, publish, distribute, sublicense, and/or
Dsun8i-a23-ippo-q8h-v1.2.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Dsun8i-a33-q8-tablet.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Darmada-385-linksys-cobra.dts19 * obtaining a copy of this software and associated documentation
22 * copy, modify, merge, publish, distribute, sublicense, and/or
Dsunxi-q8-common.dtsi22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Dsun8i-a23-q8-tablet.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Darmada-385-linksys-caiman.dts19 * obtaining a copy of this software and associated documentation
22 * copy, modify, merge, publish, distribute, sublicense, and/or
Dsun8i-a23-ippo-q8h-v5.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Dimx6dl-aristainetos2_7.dts23 * obtaining a copy of this software and associated documentation
26 * copy, modify, merge, publish, distribute, sublicense, and/or
Dsun8i-a33-ippo-q8h-v1.2.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Dcx92755_equinox.dts26 * obtaining a copy of this software and associated documentation
29 * copy, modify, merge, publish, distribute, sublicense, and/or
Dsun8i-a33-et-q8-v1.6.dts22 * obtaining a copy of this software and associated documentation
25 * copy, modify, merge, publish, distribute, sublicense, and/or
Dvf610m4-colibri.dts24 * obtaining a copy of this software and associated documentation
27 * copy, modify, merge, publish, distribute, sublicense, and/or
/linux-4.4.14/net/ipv4/
Dip_output.c803 csum_page(struct page *page, int offset, int copy) in csum_page() argument
808 csum = csum_partial(kaddr + offset, copy, 0); in csum_page()
882 int copy; in __ip_append_data() local
946 copy = mtu - skb->len; in __ip_append_data()
947 if (copy < length) in __ip_append_data()
948 copy = maxfraglen - skb->len; in __ip_append_data()
949 if (copy <= 0) { in __ip_append_data()
1037 copy = datalen - transhdrlen - fraggap; in __ip_append_data()
1038 if (copy > 0 && getfrag(from, data + transhdrlen, offset, copy, fraggap, skb) < 0) { in __ip_append_data()
1044 offset += copy; in __ip_append_data()
[all …]
Dtcp.c920 int copy, i; in do_tcp_sendpages() local
923 if (!tcp_send_head(sk) || (copy = size_goal - skb->len) <= 0) { in do_tcp_sendpages()
934 copy = size_goal; in do_tcp_sendpages()
937 if (copy > size) in do_tcp_sendpages()
938 copy = size; in do_tcp_sendpages()
946 if (!sk_wmem_schedule(sk, copy)) in do_tcp_sendpages()
950 skb_frag_size_add(&skb_shinfo(skb)->frags[i - 1], copy); in do_tcp_sendpages()
953 skb_fill_page_desc(skb, i, page, offset, copy); in do_tcp_sendpages()
957 skb->len += copy; in do_tcp_sendpages()
958 skb->data_len += copy; in do_tcp_sendpages()
[all …]
/linux-4.4.14/ipc/
Dmsg.c774 struct msg_msg *copy; in prepare_copy() local
779 copy = load_msg(buf, bufsz); in prepare_copy()
780 if (!IS_ERR(copy)) in prepare_copy()
781 copy->m_ts = bufsz; in prepare_copy()
782 return copy; in prepare_copy()
785 static inline void free_copy(struct msg_msg *copy) in free_copy() argument
787 if (copy) in free_copy()
788 free_msg(copy); in free_copy()
796 static inline void free_copy(struct msg_msg *copy) in free_copy() argument
831 struct msg_msg *msg, *copy = NULL; in do_msgrcv() local
[all …]
/linux-4.4.14/sound/drivers/
Dpcm-indirect2.c247 snd_pcm_indirect2_copy_t copy, in snd_pcm_indirect2_playback_transfer() argument
335 bytes = copy(substream, rec, bytes); in snd_pcm_indirect2_playback_transfer()
376 snd_pcm_indirect2_copy_t copy, in snd_pcm_indirect2_playback_interrupt() argument
388 snd_pcm_indirect2_playback_transfer(substream, rec, copy, zero); in snd_pcm_indirect2_playback_interrupt()
415 snd_pcm_indirect2_copy_t copy, in snd_pcm_indirect2_capture_transfer() argument
503 bytes = copy(substream, rec, bytes); in snd_pcm_indirect2_capture_transfer()
539 snd_pcm_indirect2_copy_t copy, in snd_pcm_indirect2_capture_interrupt() argument
553 snd_pcm_indirect2_capture_transfer(substream, rec, copy, null); in snd_pcm_indirect2_capture_interrupt()
Dpcm-indirect2.h132 snd_pcm_indirect2_copy_t copy,
137 snd_pcm_indirect2_copy_t copy,
/linux-4.4.14/mm/
Dprocess_vm_access.c42 size_t copy = PAGE_SIZE - offset; in process_vm_rw_pages() local
45 if (copy > len) in process_vm_rw_pages()
46 copy = len; in process_vm_rw_pages()
49 copied = copy_page_from_iter(page, offset, copy, iter); in process_vm_rw_pages()
52 copied = copy_page_to_iter(page, offset, copy, iter); in process_vm_rw_pages()
55 if (copied < copy && iov_iter_count(iter)) in process_vm_rw_pages()
/linux-4.4.14/Documentation/DocBook/
Dnetworking.xml.db105 API-skb-copy-ubufs
107 API-skb-copy
108 API---pskb-copy-fclone
110 API-skb-copy-expand
118 API-skb-copy-bits
159 API-skb-copy-datagram-iter
160 API-skb-copy-datagram-from-iter
162 API-skb-copy-and-csum-datagram-msg
176 API-gnet-stats-start-copy-compat
177 API-gnet-stats-start-copy
[all …]
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c851 int copy; in mlx5_copy_to_msg() local
856 copy = min_t(int, size, sizeof(to->first.data)); in mlx5_copy_to_msg()
857 memcpy(to->first.data, from, copy); in mlx5_copy_to_msg()
858 size -= copy; in mlx5_copy_to_msg()
859 from += copy; in mlx5_copy_to_msg()
868 copy = min_t(int, size, MLX5_CMD_DATA_BLOCK_SIZE); in mlx5_copy_to_msg()
870 memcpy(block->data, from, copy); in mlx5_copy_to_msg()
871 from += copy; in mlx5_copy_to_msg()
872 size -= copy; in mlx5_copy_to_msg()
883 int copy; in mlx5_copy_from_msg() local
[all …]
/linux-4.4.14/drivers/nvdimm/
Dbus.c530 u32 in_size, copy; in __nd_ioctl() local
539 copy = min_t(u32, sizeof(in_env) - in_len, in_size); in __nd_ioctl()
541 copy = 0; in __nd_ioctl()
542 if (copy && copy_from_user(&in_env[in_len], p + in_len, copy)) in __nd_ioctl()
551 u32 copy; in __nd_ioctl() local
559 copy = min_t(u32, sizeof(out_env) - out_len, out_size); in __nd_ioctl()
561 copy = 0; in __nd_ioctl()
562 if (copy && copy_from_user(&out_env[out_len], in __nd_ioctl()
563 p + in_len + out_len, copy)) in __nd_ioctl()
/linux-4.4.14/net/wireless/
Dutil.c1205 unsigned int copy; in cfg80211_get_p2p_attr() local
1231 copy = min_t(unsigned int, attr_remaining, iedatalen); in cfg80211_get_p2p_attr()
1232 if (copy && desired_attr) { in cfg80211_get_p2p_attr()
1233 desired_len += copy; in cfg80211_get_p2p_attr()
1235 memcpy(out, iedata, min(bufsize, copy)); in cfg80211_get_p2p_attr()
1236 out += min(bufsize, copy); in cfg80211_get_p2p_attr()
1237 bufsize -= min(bufsize, copy); in cfg80211_get_p2p_attr()
1241 if (copy == attr_remaining) in cfg80211_get_p2p_attr()
1245 attr_remaining -= copy; in cfg80211_get_p2p_attr()
1249 iedatalen -= copy; in cfg80211_get_p2p_attr()
[all …]
/linux-4.4.14/include/sound/
Dpcm-indirect.h49 snd_pcm_indirect_copy_t copy) in snd_pcm_indirect_playback_transfer() argument
75 copy(substream, rec, bytes); in snd_pcm_indirect_playback_transfer()
115 snd_pcm_indirect_copy_t copy) in snd_pcm_indirect_capture_transfer() argument
140 copy(substream, rec, bytes); in snd_pcm_indirect_capture_transfer()
/linux-4.4.14/net/ipv6/
Dip6_output.c1264 int copy; in __ip6_append_data() local
1369 copy = (cork->length <= mtu && !(cork->flags & IPCORK_ALLFRAG) ? mtu : maxfraglen) - skb->len; in __ip6_append_data()
1370 if (copy < length) in __ip6_append_data()
1371 copy = maxfraglen - skb->len; in __ip6_append_data()
1373 if (copy <= 0) { in __ip6_append_data()
1476 copy = datalen - transhdrlen - fraggap; in __ip6_append_data()
1478 if (copy < 0) { in __ip6_append_data()
1482 } else if (copy > 0 && getfrag(from, data + transhdrlen, offset, copy, fraggap, skb) < 0) { in __ip6_append_data()
1488 offset += copy; in __ip6_append_data()
1501 if (copy > length) in __ip6_append_data()
[all …]
/linux-4.4.14/Documentation/networking/
DLICENSE.qlcnic5 GNU General Public License (a copy of which is attached hereto as
16 Everyone is permitted to copy and distribute verbatim copies
50 (2) offer you this license which gives you legal permission to copy,
89 1. You may copy and distribute verbatim copies of the Program's
91 conspicuously and appropriately publish on each copy an appropriate
94 and give any other recipients of the Program a copy of this License
97 You may charge a fee for the physical act of transferring a copy, and
100 2. You may modify your copy or copies of the Program or any portion
101 of it, thus forming a work based on the Program, and copy and
119 these conditions, and telling the user how to view a copy of this
[all …]
DLICENSE.qlge5 GNU General Public License (a copy of which is attached hereto as
16 Everyone is permitted to copy and distribute verbatim copies
50 (2) offer you this license which gives you legal permission to copy,
89 1. You may copy and distribute verbatim copies of the Program's
91 conspicuously and appropriately publish on each copy an appropriate
94 and give any other recipients of the Program a copy of this License
97 You may charge a fee for the physical act of transferring a copy, and
100 2. You may modify your copy or copies of the Program or any portion
101 of it, thus forming a work based on the Program, and copy and
119 these conditions, and telling the user how to view a copy of this
[all …]
/linux-4.4.14/Documentation/scsi/
DLICENSE.qla4xxx6 GNU General Public License (a copy of which is attached hereto as
17 Everyone is permitted to copy and distribute verbatim copies
51 (2) offer you this license which gives you legal permission to copy,
90 1. You may copy and distribute verbatim copies of the Program's
92 conspicuously and appropriately publish on each copy an appropriate
95 and give any other recipients of the Program a copy of this License
98 You may charge a fee for the physical act of transferring a copy, and
101 2. You may modify your copy or copies of the Program or any portion
102 of it, thus forming a work based on the Program, and copy and
120 these conditions, and telling the user how to view a copy of this
[all …]
DLICENSE.qla2xxx6 GNU General Public License (a copy of which is attached hereto as
18 Everyone is permitted to copy and distribute verbatim copies
52 (2) offer you this license which gives you legal permission to copy,
91 1. You may copy and distribute verbatim copies of the Program's
93 conspicuously and appropriately publish on each copy an appropriate
96 and give any other recipients of the Program a copy of this License
99 You may charge a fee for the physical act of transferring a copy, and
102 2. You may modify your copy or copies of the Program or any portion
103 of it, thus forming a work based on the Program, and copy and
121 these conditions, and telling the user how to view a copy of this
[all …]
/linux-4.4.14/tools/perf/util/
Dordered-events.h60 void ordered_events__set_copy_on_queue(struct ordered_events *oe, bool copy) in ordered_events__set_copy_on_queue() argument
62 oe->copy_on_queue = copy; in ordered_events__set_copy_on_queue()
/linux-4.4.14/drivers/staging/media/davinci_vpfe/
DTODO30 - copy vpfe.h from drivers/staging/media/davinci_vpfe/ to
32 - copy davinci_vpfe_user.h from drivers/staging/media/davinci_vpfe/ to
35 - copy dm365_ipipeif_user.h from drivers/staging/media/davinci_vpfe/ to
/linux-4.4.14/arch/x86/tools/
Dtest_get_len.c122 char copy[BUFSIZE], *s, *tab1, *tab2; in main() local
134 strcpy(copy, line); in main()
135 tab1 = strchr(copy, '\t'); in main()
/linux-4.4.14/arch/arc/kernel/
Dmcip.c74 unsigned int __maybe_unused copy; in mcip_ipi_clear() local
86 copy = cpu = read_aux_reg(ARC_REG_MCIP_READBACK); /* 1,2,4,8... */ in mcip_ipi_clear()
102 if (c != __ffs(copy)) in mcip_ipi_clear()
104 copy, raw_smp_processor_id()); in mcip_ipi_clear()
Dsmp.c320 unsigned long __maybe_unused copy; in do_IPI() local
332 copy = pending = xchg(this_cpu_ptr(&ipi_data), 0); in do_IPI()
342 pr_info("IPI with bogus msg %ld in %ld\n", msg, copy); in do_IPI()
/linux-4.4.14/include/trace/events/
Di2c.h177 goto copy;
181 goto copy;
186 copy:
286 goto copy;
290 goto copy;
295 copy:
/linux-4.4.14/net/appletalk/
Dddp.c936 int i, copy; in atalk_sum_skb() local
939 if ((copy = start - offset) > 0) { in atalk_sum_skb()
940 if (copy > len) in atalk_sum_skb()
941 copy = len; in atalk_sum_skb()
942 sum = atalk_sum_partial(skb->data + offset, copy, sum); in atalk_sum_skb()
943 if ((len -= copy) == 0) in atalk_sum_skb()
946 offset += copy; in atalk_sum_skb()
956 if ((copy = end - offset) > 0) { in atalk_sum_skb()
959 if (copy > len) in atalk_sum_skb()
960 copy = len; in atalk_sum_skb()
[all …]
/linux-4.4.14/drivers/block/paride/
Dpg.c629 int copy; in pg_read() local
645 copy = 0; in pg_read()
649 copy = hdr.dlen; in pg_read()
650 if (copy > (count - hs)) in pg_read()
651 copy = count - hs; in pg_read()
659 if (copy > 0) in pg_read()
660 if (copy_to_user(buf + hs, dev->bufptr, copy)) in pg_read()
662 return copy + hs; in pg_read()
/linux-4.4.14/arch/cris/arch-v32/lib/
Dchecksumcopy.S29 ;; do a movem copy and checksum
70 ;; copy and checksum the rest of the words
86 ;; copy and checksum the last byte
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_plane.c251 struct omap_plane_state *copy; in omap_plane_atomic_duplicate_state() local
257 copy = kmemdup(state, sizeof(*state), GFP_KERNEL); in omap_plane_atomic_duplicate_state()
258 if (copy == NULL) in omap_plane_atomic_duplicate_state()
261 __drm_atomic_helper_plane_duplicate_state(plane, &copy->base); in omap_plane_atomic_duplicate_state()
263 return &copy->base; in omap_plane_atomic_duplicate_state()
/linux-4.4.14/drivers/net/wireless/hostap/
Dhostap_proc.c308 int start_bytes, left, copy, copied; in prism2_io_debug_proc_read() local
322 copy = start_bytes - off; in prism2_io_debug_proc_read()
323 if (copy > count) in prism2_io_debug_proc_read()
324 copy = count; in prism2_io_debug_proc_read()
325 memcpy(page, ((u8 *) &local->io_debug[head]) + off, copy); in prism2_io_debug_proc_read()
326 left -= copy; in prism2_io_debug_proc_read()
328 memcpy(&page[copy], local->io_debug, left); in prism2_io_debug_proc_read()
/linux-4.4.14/kernel/gcov/
Dfs.c307 char *copy; in link_target() local
309 copy = kstrdup(path, GFP_KERNEL); in link_target()
310 if (!copy) in link_target()
312 old_ext = strrchr(copy, '.'); in link_target()
316 target = kasprintf(GFP_KERNEL, "%s/%s.%s", dir, copy, ext); in link_target()
318 target = kasprintf(GFP_KERNEL, "%s.%s", copy, ext); in link_target()
319 kfree(copy); in link_target()
/linux-4.4.14/sound/core/
Dcompress_offload.c245 size_t copy; in snd_compr_write_data() local
260 copy = runtime->buffer_size - app_pointer; in snd_compr_write_data()
261 if (copy_from_user(dstn, buf, copy)) in snd_compr_write_data()
263 if (copy_from_user(runtime->buffer, buf + copy, count - copy)) in snd_compr_write_data()
298 if (stream->ops->copy) { in snd_compr_write()
300 retval = stream->ops->copy(stream, cbuf, avail); in snd_compr_write()
353 if (stream->ops->copy) { in snd_compr_read()
354 retval = stream->ops->copy(stream, buf, avail); in snd_compr_read()
482 if (stream->ops->copy) { in snd_compr_allocate_buffer()
/linux-4.4.14/net/rds/
Drecv.c302 LIST_HEAD(copy); in rds_notify_queue_get()
323 list_move(&notifier->n_list, &copy); in rds_notify_queue_get()
331 while (!list_empty(&copy)) { in rds_notify_queue_get()
332 notifier = list_entry(copy.next, struct rds_notifier, n_list); in rds_notify_queue_get()
351 if (!list_empty(&copy)) { in rds_notify_queue_get()
353 list_splice(&copy, &rs->rs_notify_queue); in rds_notify_queue_get()
/linux-4.4.14/fs/fat/
Ddir.c1203 unsigned long size, copy; in fat_add_new_entries() local
1224 i = n = copy = 0; in fat_add_new_entries()
1236 copy = min(size, sb->s_blocksize); in fat_add_new_entries()
1237 memcpy(bhs[n]->b_data, slots, copy); in fat_add_new_entries()
1238 slots += copy; in fat_add_new_entries()
1239 size -= copy; in fat_add_new_entries()
1249 memset(bhs[n]->b_data + copy, 0, sb->s_blocksize - copy); in fat_add_new_entries()
1250 offset = copy - sizeof(struct msdos_dir_entry); in fat_add_new_entries()
1339 int copy = min_t(int, sb->s_blocksize - offset, size); in fat_add_entries() local
1340 memcpy(bhs[i]->b_data + offset, slots, copy); in fat_add_entries()
[all …]
/linux-4.4.14/drivers/staging/rtl8192u/
Dcopying6 Everyone is permitted to copy and distribute verbatim copies
40 (2) offer you this license which gives you legal permission to copy,
79 1. You may copy and distribute verbatim copies of the Program's
81 conspicuously and appropriately publish on each copy an appropriate
84 and give any other recipients of the Program a copy of this License
87 You may charge a fee for the physical act of transferring a copy, and
90 2. You may modify your copy or copies of the Program or any portion
91 of it, thus forming a work based on the Program, and copy and
109 these conditions, and telling the user how to view a copy of this
134 3. You may copy and distribute the Program (or a work based on it,
[all …]
/linux-4.4.14/tools/usb/usbip/
DCOPYING6 Everyone is permitted to copy and distribute verbatim copies
40 (2) offer you this license which gives you legal permission to copy,
79 1. You may copy and distribute verbatim copies of the Program's
81 conspicuously and appropriately publish on each copy an appropriate
84 and give any other recipients of the Program a copy of this License
87 You may charge a fee for the physical act of transferring a copy, and
90 2. You may modify your copy or copies of the Program or any portion
91 of it, thus forming a work based on the Program, and copy and
109 these conditions, and telling the user how to view a copy of this
134 3. You may copy and distribute the Program (or a work based on it,
[all …]
/linux-4.4.14/drivers/staging/rtl8192e/
Dlicense13 Everyone is permitted to copy and distribute verbatim copies of this license
45 offer you this license which gives you legal permission to copy, distribute
83 1. You may copy and distribute verbatim copies of the Program's source code
85 appropriately publish on each copy an appropriate copyright notice and
88 of the Program a copy of this License along with the Program.
90 You may charge a fee for the physical act of transferring a copy, and you
93 2. You may modify your copy or copies of the Program or any portion of it,
94 thus forming a work based on the Program, and copy and distribute such
112 telling the user how to view a copy of this License. (Exception: if
137 3. You may copy and distribute the Program (or a work based on it, under
[all …]
/linux-4.4.14/
DCOPYING22 Everyone is permitted to copy and distribute verbatim copies
56 (2) offer you this license which gives you legal permission to copy,
95 1. You may copy and distribute verbatim copies of the Program's
97 conspicuously and appropriately publish on each copy an appropriate
100 and give any other recipients of the Program a copy of this License
103 You may charge a fee for the physical act of transferring a copy, and
106 2. You may modify your copy or copies of the Program or any portion
107 of it, thus forming a work based on the Program, and copy and
125 these conditions, and telling the user how to view a copy of this
150 3. You may copy and distribute the Program (or a work based on it,
[all …]
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddc.c452 struct tegra_plane_state *copy; in tegra_plane_atomic_duplicate_state() local
454 copy = kmalloc(sizeof(*copy), GFP_KERNEL); in tegra_plane_atomic_duplicate_state()
455 if (!copy) in tegra_plane_atomic_duplicate_state()
458 __drm_atomic_helper_plane_duplicate_state(plane, &copy->base); in tegra_plane_atomic_duplicate_state()
459 copy->tiling = state->tiling; in tegra_plane_atomic_duplicate_state()
460 copy->format = state->format; in tegra_plane_atomic_duplicate_state()
461 copy->swap = state->swap; in tegra_plane_atomic_duplicate_state()
463 return &copy->base; in tegra_plane_atomic_duplicate_state()
1033 struct tegra_dc_state *copy; in tegra_crtc_atomic_duplicate_state() local
1035 copy = kmalloc(sizeof(*copy), GFP_KERNEL); in tegra_crtc_atomic_duplicate_state()
[all …]
/linux-4.4.14/include/net/
Dsock.h1803 int copy, int offset) in skb_do_copy_data_nocache() argument
1807 if (csum_and_copy_from_iter(to, copy, &csum, from) != copy) in skb_do_copy_data_nocache()
1811 if (copy_from_iter_nocache(to, copy, from) != copy) in skb_do_copy_data_nocache()
1813 } else if (copy_from_iter(to, copy, from) != copy) in skb_do_copy_data_nocache()
1820 struct iov_iter *from, int copy) in skb_add_data_nocache() argument
1824 err = skb_do_copy_data_nocache(sk, skb, from, skb_put(skb, copy), in skb_add_data_nocache()
1825 copy, offset); in skb_add_data_nocache()
1835 int off, int copy) in skb_copy_to_page_nocache() argument
1840 copy, skb->len); in skb_copy_to_page_nocache()
1844 skb->len += copy; in skb_copy_to_page_nocache()
[all …]
/linux-4.4.14/Documentation/filesystems/
Decryptfs.txt14 maintain a backup copy of any data you write into eCryptfs.
31 eCryptfs, you should copy the files to an unencrypted location and
32 then copy the files back into the new eCryptfs mount to migrate the
/linux-4.4.14/arch/arm64/boot/dts/cavium/
Dthunder-88xx.dts21 * You should have received a copy of the GNU General Public
29 * obtaining a copy of this software and associated documentation
32 * copy, modify, merge, publish, distribute, sublicense, and/or
/linux-4.4.14/arch/cris/arch-v10/lib/
Dchecksumcopy.S35 ;; do a movem copy and checksum
98 ;; copy and checksum the rest of the words
120 ;; copy and checksum the last byte
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/
Dtx.c1363 int copy = IWL_HCMD_SCRATCHBUF_SIZE - copy_size; in iwl_pcie_enqueue_hcmd() local
1365 if (copy > cmdlen[i]) in iwl_pcie_enqueue_hcmd()
1366 copy = cmdlen[i]; in iwl_pcie_enqueue_hcmd()
1367 cmdlen[i] -= copy; in iwl_pcie_enqueue_hcmd()
1368 cmddata[i] += copy; in iwl_pcie_enqueue_hcmd()
1369 copy_size += copy; in iwl_pcie_enqueue_hcmd()
1466 int copy; in iwl_pcie_enqueue_hcmd() local
1474 copy = cmd->len[i]; in iwl_pcie_enqueue_hcmd()
1476 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1477 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()
[all …]
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c280 struct rcar_du_plane_state *copy; in rcar_du_plane_atomic_duplicate_state() local
286 copy = kmemdup(state, sizeof(*state), GFP_KERNEL); in rcar_du_plane_atomic_duplicate_state()
287 if (copy == NULL) in rcar_du_plane_atomic_duplicate_state()
290 __drm_atomic_helper_plane_duplicate_state(plane, &copy->state); in rcar_du_plane_atomic_duplicate_state()
292 return &copy->state; in rcar_du_plane_atomic_duplicate_state()
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Ddma.c40 u32 true_len, hdr_len = 0, copy, frag; in mt7601u_rx_skb_from_seg() local
63 copy = (true_len <= skb_tailroom(skb)) ? true_len : hdr_len + 8; in mt7601u_rx_skb_from_seg()
64 frag = true_len - copy; in mt7601u_rx_skb_from_seg()
66 memcpy(skb_put(skb, copy), data, copy); in mt7601u_rx_skb_from_seg()
67 data += copy; in mt7601u_rx_skb_from_seg()
/linux-4.4.14/arch/arm/nwfpe/
Dentry.S108 str r5, [sp, #S_PC] @ update PC copy in regs
110 mov r0, r6 @ save a copy
/linux-4.4.14/tools/include/linux/
Drbtree_augmented.h43 void (*copy)(struct rb_node *old, struct rb_node *new); member
186 augment->copy(node, successor); in __rb_erase_augmented()
210 augment->copy(node, successor); in __rb_erase_augmented()
/linux-4.4.14/drivers/atm/
Dnicstarmac.copyright24 * Implementing minimal-copy of received data:
30 * copy small buffer contents to head of large buffer.
54 * You should have received a copy of the GNU General Public License
/linux-4.4.14/tools/testing/selftests/vm/
Duserfaultfd.c231 uffdio_copy.copy = 0; in copy_page()
234 if (uffdio_copy.copy != -EEXIST) in copy_page()
236 uffdio_copy.copy), exit(1); in copy_page()
237 } else if (uffdio_copy.copy != page_size) { in copy_page()
239 uffdio_copy.copy), exit(1); in copy_page()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dgpcgk208.fuc55 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dgpcgk110.fuc35 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dgpcgf100.fuc35 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dhubgf117.fuc35 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dhubgf100.fuc35 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dgpcgm107.fuc55 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dhubgk104.fuc35 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dhubgk208.fuc55 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dgpcgf117.fuc35 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dhubgk110.fuc35 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dgpcgk104.fuc35 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dhubgm107.fuc55 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
/linux-4.4.14/Documentation/filesystems/cifs/
DTODO14 - T10 copy offload (copy chunk is only mechanism supported)
29 extra copy in/out of the socket buffers in some cases.
67 such as "CopyChunk" (fast server side file copy)
/linux-4.4.14/arch/x86/boot/
Dvideo.c281 int copy = (xs < saved.x) ? xs : saved.x; in restore_screen() local
282 copy_to_fs(dst, src, copy*sizeof(u16)); in restore_screen()
283 dst += copy*sizeof(u16); in restore_screen()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dperf.fuc5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dtest.fuc5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dgf119.fuc45 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dgk208.fuc55 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Didle.fuc5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dgt215.fuc35 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Dgf100.fuc35 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Darith.fuc5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
/linux-4.4.14/arch/alpha/lib/
Dstrcpy.S21 br __stxcpy # do the copy
Dev6-memcpy.S33 mov $16, $0 # E : copy dest to return
34 ble $18, $nomoredata # U : done with the copy?
57 ble $18, $nomoredata # U : done with the copy?
/linux-4.4.14/arch/m68k/ifpsp060/
Dos.S70 | statements instead of (more expensive) copy{in,out} calls, if
92 move.b (%a0)+,(%a1)+ | copy 1 byte
97 move.b (%a0)+,%d1 | copy 1 byte
125 move.b (%a0)+,(%a1)+ | copy 1 byte
132 move.b %d1,(%a1)+ | copy 1 byte
/linux-4.4.14/Documentation/RCU/
DlistRCU.txt187 The RCU version creates a copy, updates the copy, then replaces the old
189 concurrent reads while doing a copy to perform an update, is what gives
190 RCU ("read-copy update") its name. The RCU code is as follows:
300 a copy, updating the copy, then replacing the original with the copy.
/linux-4.4.14/tools/perf/Documentation/
Dperf-bench.txt137 Suite for evaluating performance of simple memory copy in various ways.
143 Specify size of memory to copy (default: 1MB).
148 Specify function to copy (default: default).
Dperf-kvm.txt89 Guest os /proc/kallsyms file copy. 'perf' kvm' reads it to get guest
90 kernel symbols. Users copy it out from guest os.
92 Guest os /proc/modules file copy. 'perf' kvm' reads it to get guest
93 kernel module information. Users copy it out from guest os.
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-firmware-log6 read-only copy of the firmware's log if one is
/linux-4.4.14/drivers/dma/
Dk3dma.c420 size_t copy = 0; in k3_dma_prep_memcpy() local
445 copy = min_t(size_t, len, DMA_MAX_SIZE); in k3_dma_prep_memcpy()
446 k3_dma_fill_desc(ds, dst, src, copy, num++, c->ccfg); in k3_dma_prep_memcpy()
449 src += copy; in k3_dma_prep_memcpy()
451 dst += copy; in k3_dma_prep_memcpy()
453 src += copy; in k3_dma_prep_memcpy()
454 dst += copy; in k3_dma_prep_memcpy()
456 len -= copy; in k3_dma_prep_memcpy()
Dmmp_pdma.c450 size_t copy = 0; in mmp_pdma_prep_memcpy() local
475 copy = min_t(size_t, len, PDMA_MAX_DESC_BYTES); in mmp_pdma_prep_memcpy()
479 new->desc.dcmd = chan->dcmd | (DCMD_LENGTH & copy); in mmp_pdma_prep_memcpy()
492 len -= copy; in mmp_pdma_prep_memcpy()
495 dma_src += copy; in mmp_pdma_prep_memcpy()
497 dma_dst += copy; in mmp_pdma_prep_memcpy()
499 dma_src += copy; in mmp_pdma_prep_memcpy()
500 dma_dst += copy; in mmp_pdma_prep_memcpy()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_file_ops.c2067 size_t consumed, copy = 0; in qib_write() local
2092 copy = sizeof(cmd.cmd.user_info); in qib_write()
2098 copy = sizeof(cmd.cmd.recv_ctrl); in qib_write()
2104 copy = sizeof(cmd.cmd.ctxt_info); in qib_write()
2111 copy = sizeof(cmd.cmd.tid_info); in qib_write()
2117 copy = sizeof(cmd.cmd.part_key); in qib_write()
2124 copy = 0; in qib_write()
2130 copy = sizeof(cmd.cmd.poll_type); in qib_write()
2136 copy = sizeof(cmd.cmd.armlaunch_ctrl); in qib_write()
2142 copy = sizeof(cmd.cmd.sdma_inflight); in qib_write()
[all …]
/linux-4.4.14/sound/core/oss/
DMakefile10 io.o copy.o linear.o mulaw.o route.o rate.o
/linux-4.4.14/arch/mn10300/lib/
Dmemcpy.S33 beq memcpy_done # return if zero-length copy
89 # copy the remaining 1, 2 or 3 words
/linux-4.4.14/drivers/crypto/
Dhifn_795x.c1461 unsigned int copy, drest = *drestp, nbytes = *nbytesp; in ablkcipher_add() local
1468 copy = min3(drest, size, dst->length); in ablkcipher_add()
1470 size -= copy; in ablkcipher_add()
1471 drest -= copy; in ablkcipher_add()
1472 nbytes -= copy; in ablkcipher_add()
1475 __func__, copy, size, drest, nbytes); in ablkcipher_add()
1491 unsigned int nbytes = req->nbytes, offset, copy, diff; in hifn_cipher_walk() local
1519 copy = slen & ~(HIFN_D_DST_DALIGN - 1); in hifn_cipher_walk()
1549 copy += diff + nbytes; in hifn_cipher_walk()
1560 t->length = copy; in hifn_cipher_walk()
[all …]
/linux-4.4.14/drivers/staging/comedi/
DTODO9 copy:
/linux-4.4.14/drivers/staging/olpc_dcon/
DTODO7 copy:
/linux-4.4.14/drivers/s390/block/
Ddasd_fba.c329 char *copy = kmem_cache_alloc(dasd_page_cache, in dasd_fba_build_cp() local
331 if (copy && rq_data_dir(req) == WRITE) in dasd_fba_build_cp()
332 memcpy(copy + bv.bv_offset, dst, bv.bv_len); in dasd_fba_build_cp()
333 if (copy) in dasd_fba_build_cp()
334 dst = copy + bv.bv_offset; in dasd_fba_build_cp()
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c879 struct atmel_hlcdc_plane_state *copy; in atmel_hlcdc_plane_atomic_duplicate_state() local
881 copy = kmemdup(state, sizeof(*state), GFP_KERNEL); in atmel_hlcdc_plane_atomic_duplicate_state()
882 if (!copy) in atmel_hlcdc_plane_atomic_duplicate_state()
885 copy->disc_updated = false; in atmel_hlcdc_plane_atomic_duplicate_state()
887 if (copy->base.fb) in atmel_hlcdc_plane_atomic_duplicate_state()
888 drm_framebuffer_reference(copy->base.fb); in atmel_hlcdc_plane_atomic_duplicate_state()
890 return &copy->base; in atmel_hlcdc_plane_atomic_duplicate_state()
/linux-4.4.14/Documentation/ABI/removed/
Dnet_dma6 that will be offloaded to a DMA copy engine. Removed due to
/linux-4.4.14/arch/arm64/boot/dts/marvell/
Dberlin4ct-stb.dts24 * obtaining a copy of this software and associated documentation
27 * copy, modify, merge, publish, distribute, sublicense, and/or
Dberlin4ct-dmp.dts24 * obtaining a copy of this software and associated documentation
27 * copy, modify, merge, publish, distribute, sublicense, and/or
/linux-4.4.14/arch/arm64/boot/dts/freescale/
Dfsl-ls2080a-simu.dts26 * obtaining a copy of this software and associated documentation
29 * copy, modify, merge, publish, distribute, sublicense, and/or
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_file_ops.c2241 size_t consumed, copy; in ipath_write() local
2264 copy = sizeof(cmd.cmd.user_info); in ipath_write()
2269 copy = sizeof(cmd.cmd.recv_ctrl); in ipath_write()
2274 copy = sizeof(cmd.cmd.port_info); in ipath_write()
2280 copy = sizeof(cmd.cmd.tid_info); in ipath_write()
2285 copy = sizeof(cmd.cmd.part_key); in ipath_write()
2290 copy = sizeof(cmd.cmd.slave_mask_addr); in ipath_write()
2295 copy = 0; in ipath_write()
2300 copy = sizeof(cmd.cmd.poll_type); in ipath_write()
2305 copy = sizeof(cmd.cmd.armlaunch_ctrl); in ipath_write()
[all …]
/linux-4.4.14/arch/s390/kernel/
Drelocate_kernel.S82 0: mvcle %r6,%r8,0x0 # copy PAGE_SIZE bytes from r8 to r6 - pad with 0
90 mvc 0(8,%r0),0(%r4) # copy psw to absolute address 0
/linux-4.4.14/arch/m32r/boot/compressed/
Dhead.S138 ldi r1, 0xd0 ; invalidate i-cache, copy back d-cache
148 ldi r1, 0x0700 ; invalidate i-cache, copy back d-cache

123456