Home
last modified time | relevance | path

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

12345678910>>...46

/linux/net/core/
A Ddatagram.c422 if (copy > 0) { in __skb_datagram_iter()
423 if (copy > len) in __skb_datagram_iter()
424 copy = len; in __skb_datagram_iter()
428 if (n != copy) in __skb_datagram_iter()
447 copy = len; in __skb_datagram_iter()
469 copy = len; in __skb_datagram_iter()
556 if (copy > 0) { in skb_copy_datagram_from_iter()
558 copy = len; in skb_copy_datagram_from_iter()
559 if (copy_from_iter(skb->data + offset, copy, from) != copy) in skb_copy_datagram_from_iter()
578 copy = len; in skb_copy_datagram_from_iter()
[all …]
A Dskbuff.c2322 int i, copy; in skb_copy_bits() local
2330 copy = len; in skb_copy_bits()
2351 copy = len; in skb_copy_bits()
2725 int i, copy; in skb_store_bits() local
2732 copy = len; in skb_store_bits()
2810 copy = len; in __skb_checksum()
2816 pos = copy; in __skb_checksum()
2909 copy = len; in skb_copy_and_csum_bits()
2911 copy); in skb_copy_and_csum_bits()
2916 pos = copy; in skb_copy_and_csum_bits()
[all …]
/linux/lib/zlib_inflate/
A Dinflate.c123 unsigned copy, dist; in zlib_updatewindow() local
136 if (dist > copy) dist = copy; in zlib_updatewindow()
138 copy -= dist; in zlib_updatewindow()
139 if (copy) { in zlib_updatewindow()
140 memcpy(state->window, strm->next_out - copy, copy); in zlib_updatewindow()
452 if (copy) { in zlib_inflate()
453 if (copy > have) copy = have; in zlib_inflate()
454 if (copy > left) copy = left; in zlib_inflate()
677 copy = state->offset - copy; in zlib_inflate()
684 if (copy > state->length) copy = state->length; in zlib_inflate()
[all …]
/linux/drivers/block/
A Dbrd.c176 size_t copy; in copy_to_brd_setup() local
181 if (copy < n) { in copy_to_brd_setup()
198 size_t copy; in copy_to_brd() local
208 if (copy < n) { in copy_to_brd()
209 src += copy; in copy_to_brd()
211 copy = n - copy; in copy_to_brd()
230 size_t copy; in copy_from_brd() local
239 memset(dst, 0, copy); in copy_from_brd()
241 if (copy < n) { in copy_from_brd()
242 dst += copy; in copy_from_brd()
[all …]
/linux/fs/nfsd/
A Dnfs4proc.c1118 kfree(copy); in nfs4_put_copy()
1153 return copy; in nfsd4_get_copy()
1474 &copy->nf_src, &copy->cp_dst_stateid, in nfsd4_setup_intra_ssc()
1565 nfsd4_cleanup_inter_ssc(copy->ss_mnt, copy->nf_src, in nfsd4_do_copy()
1568 nfsd4_cleanup_intra_ssc(copy->nf_src, copy->nf_dst); in nfsd4_do_copy()
1618 copy->nf_src->nf_file = nfs42_ssc_open(copy->ss_mnt, &copy->c_fh, in nfsd4_do_async_copy()
1627 copy->nfserr = nfsd4_do_copy(copy, 0); in nfsd4_do_async_copy()
1636 memcpy(&cb_copy->fh, &copy->fh, sizeof(copy->fh)); in nfsd4_do_async_copy()
1640 &copy->fh, copy->cp_count, copy->nfserr); in nfsd4_do_async_copy()
1653 struct nfsd4_copy *copy = &u->copy; in nfsd4_copy() local
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/pcie/
A Dtx-gen2.c59 if (copy > cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd()
60 copy = cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd()
61 cmdlen[i] -= copy; in iwl_pcie_gen2_enqueue_hcmd()
62 cmddata[i] += copy; in iwl_pcie_gen2_enqueue_hcmd()
63 copy_size += copy; in iwl_pcie_gen2_enqueue_hcmd()
151 int copy; in iwl_pcie_gen2_enqueue_hcmd() local
159 copy = cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd()
162 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd()
163 copy_size += copy; in iwl_pcie_gen2_enqueue_hcmd()
175 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd()
[all …]
/linux/arch/parisc/kernel/
A Dentry.S85 copy %r30, %r17
97 copy %r9,%r29
105 copy %r30,%r1
111 copy %r9,%r29
356 copy \spc,\tmp
375 copy %r0,\pte
389 copy %r0,\pte
732 copy %r31, %r2
1709 copy %r0,%r28
2141 copy %r3,%r1
[all …]
/linux/include/linux/
A Dregset.h262 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin() local
266 memcpy(data, *kbuf, copy); in user_regset_copyin()
267 *kbuf += copy; in user_regset_copyin()
271 *ubuf += copy; in user_regset_copyin()
272 *pos += copy; in user_regset_copyin()
273 *count -= copy; in user_regset_copyin()
289 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin_ignore() local
292 *kbuf += copy; in user_regset_copyin_ignore()
294 *ubuf += copy; in user_regset_copyin_ignore()
295 *pos += copy; in user_regset_copyin_ignore()
[all …]
/linux/lib/kunit/
A Dexecutor.c62 struct kunit_suite *copy; in kunit_filter_tests() local
73 copy = kmalloc(sizeof(*copy), GFP_KERNEL); in kunit_filter_tests()
74 memcpy(copy, suite, sizeof(*copy)); in kunit_filter_tests()
84 copy->test_cases = filtered; in kunit_filter_tests()
85 return copy; in kunit_filter_tests()
152 struct kunit_suite * const **copy, * const *filtered_subsuite; in kunit_filter_suites() local
158 copy = kmalloc_array(max, sizeof(*filtered.start), GFP_KERNEL); in kunit_filter_suites()
159 filtered.start = copy; in kunit_filter_suites()
161 filtered.end = copy; in kunit_filter_suites()
170 *copy++ = filtered_subsuite; in kunit_filter_suites()
[all …]
/linux/Documentation/admin-guide/device-mapper/
A Dkcopyd.rst5 Kcopyd provides the ability to copy a range of sectors from one block-device
10 to set aside for their copy jobs. This is done with a call to
16 To start a copy job, the user must set up io_region structures to describe
17 the source and destinations of the copy. Each io_region indicates a
19 of the copy is given as one io_region structure, and the destinations of the
20 copy are given as an array of io_region structures::
28 To start the copy, the user calls kcopyd_copy(), passing in the client
30 completion callback routine, and a pointer to some context data for the copy::
39 When the copy completes, kcopyd will call the user's completion routine,
41 write error occurred during the copy.
[all …]
/linux/arch/xtensa/lib/
A Dmemcopy.S92 # copy 1 byte
101 # copy 2 bytes
153 # copy 8 bytes
166 # copy 4 bytes
175 # copy 2 bytes
183 # copy 1 byte
233 # copy 8 bytes
245 # copy 4 bytes
270 # copy 1 byte
359 # copy 1 byte
[all …]
A Dusercopy.S79 bnone a3, a8, .Laligned # then use word copy
92 # copy 1 byte
101 # copy 2 bytes
167 # copy 8 bytes
176 # copy 4 bytes
183 # copy 2 bytes
190 # copy 1 byte
247 # copy 8 bytes
259 # copy 4 bytes
269 # copy 2 bytes
[all …]
/linux/arch/nds32/lib/
A Dmemmove.S21 srli $p1, $r2, #2 ! $p1 is how many words to copy
30 li $t0, #1 ! Determining copy direction in byte_cpy
35 addi $p1, $p1, #-1 ! How many words left to copy
38 beqz $r2, end_memcpy ! No left bytes to copy
45 li $t0, #-1 ! Determining copy direction in byte_cpy
50 addi $p1, $p1, #-1 ! How many words left to copy
53 beqz $r2, end_memcpy ! No left bytes to copy
58 byte_cpy: ! Less than 4 bytes to copy now
60 addi $r2, $r2, #-1 ! How many bytes left to copy
61 sb.bi $p0, [$r0], $t0 ! copy the byte to det
/linux/arch/parisc/boot/compressed/
A Dhead.S36 copy %r1, %arg0
60 copy %arg1, %r6 /* command line */
61 copy %arg2, %r7 /* rd-start */
62 copy %arg3, %r8 /* rd-end */
80 copy %r6, %arg1 /* command line */
81 copy %r7, %arg2 /* rd-start */
82 copy %r8, %arg3 /* rd-end */
/linux/drivers/w1/slaves/
A Dw1_ds2430.c210 int copy; in eeprom_write() local
235 copy = W1_F14_SCRATCH_SIZE - in eeprom_write()
238 if (copy > len) in eeprom_write()
239 copy = len; in eeprom_write()
241 memcpy(&tmp[addr & W1_F14_SCRATCH_MASK], buf, copy); in eeprom_write()
249 copy = W1_F14_SCRATCH_SIZE; in eeprom_write()
250 if (w1_f14_write(sl, addr, copy, buf) < 0) { in eeprom_write()
255 buf += copy; in eeprom_write()
256 addr += copy; in eeprom_write()
257 len -= copy; in eeprom_write()
A Dw1_ds2431.c209 int copy; in eeprom_write() local
234 copy = W1_F2D_SCRATCH_SIZE - in eeprom_write()
237 if (copy > len) in eeprom_write()
238 copy = len; in eeprom_write()
240 memcpy(&tmp[addr & W1_F2D_SCRATCH_MASK], buf, copy); in eeprom_write()
248 copy = W1_F2D_SCRATCH_SIZE; in eeprom_write()
249 if (w1_f2d_write(sl, addr, copy, buf) < 0) { in eeprom_write()
254 buf += copy; in eeprom_write()
255 addr += copy; in eeprom_write()
256 len -= copy; in eeprom_write()
A Dw1_ds2805.c208 int copy; in w1_f0d_write_bin() local
233 copy = W1_F0D_SCRATCH_SIZE - in w1_f0d_write_bin()
236 if (copy > len) in w1_f0d_write_bin()
237 copy = len; in w1_f0d_write_bin()
239 memcpy(&tmp[addr & W1_F0D_SCRATCH_MASK], buf, copy); in w1_f0d_write_bin()
247 copy = W1_F0D_SCRATCH_SIZE; in w1_f0d_write_bin()
248 if (w1_f0d_write(sl, addr, copy, buf) < 0) { in w1_f0d_write_bin()
253 buf += copy; in w1_f0d_write_bin()
254 addr += copy; in w1_f0d_write_bin()
255 len -= copy; in w1_f0d_write_bin()
/linux/Documentation/staging/
A Dlzo.rst27 - a length (number of bytes to copy from dictionary)
111 18..21 : copy 0..3 literals
115 22..255 : copy literal string
117 state = 4 [ don't copy extra literals ]
128 0 0 0 0 L L L L (0..15) : copy long literal string
141 state = S (copy S literals after this block)
151 state = S (copy S literals after this block)
160 state = S (copy S literals after this block)
177 state = S (copy S literals after this block)
181 state = S (copy S literals after this block)
[all …]
/linux/drivers/gpu/drm/qxl/
A Dqxl_draw.c228 drawable->u.copy.src_area.top = 0; in qxl_draw_dirty_fb()
229 drawable->u.copy.src_area.bottom = height; in qxl_draw_dirty_fb()
230 drawable->u.copy.src_area.left = 0; in qxl_draw_dirty_fb()
231 drawable->u.copy.src_area.right = width; in qxl_draw_dirty_fb()
233 drawable->u.copy.rop_descriptor = SPICE_ROPD_OP_PUT; in qxl_draw_dirty_fb()
234 drawable->u.copy.scale_mode = 0; in qxl_draw_dirty_fb()
235 drawable->u.copy.mask.flags = 0; in qxl_draw_dirty_fb()
236 drawable->u.copy.mask.pos.x = 0; in qxl_draw_dirty_fb()
237 drawable->u.copy.mask.pos.y = 0; in qxl_draw_dirty_fb()
238 drawable->u.copy.mask.bitmap = 0; in qxl_draw_dirty_fb()
[all …]
/linux/drivers/net/ethernet/sfc/
A Dsiena_sriov.c404 struct efx_memcpy_req copy[4]; in __efx_siena_sriov_push_vf_status() local
416 memset(copy, '\0', sizeof(copy)); in __efx_siena_sriov_push_vf_status()
419 copy[0].to_rid = vf->pci_rid; in __efx_siena_sriov_push_vf_status()
430 copy[1].to_rid = vf->pci_rid; in __efx_siena_sriov_push_vf_status()
444 copy[pos].from_buf = NULL; in __efx_siena_sriov_push_vf_status()
452 efx_siena_sriov_memcpy(efx, copy, ARRAY_SIZE(copy)); in __efx_siena_sriov_push_vf_status()
880 memset(copy, '\0', sizeof(copy)); in efx_siena_sriov_vfdi()
920 memset(copy, '\0', sizeof(copy)); in efx_siena_sriov_vfdi()
921 copy[0].from_buf = &req->rc; in efx_siena_sriov_vfdi()
925 copy[1].from_buf = &req->op; in efx_siena_sriov_vfdi()
[all …]
/linux/Documentation/input/devices/
A Dbcm5974.rst7 :Copyright: |copy| 2008-2009 Henrik Rydberg <rydberg@euromail.se>
12 :Copyright: |copy| 2008 Scott Shawcroft (scott.shawcroft@gmail.com)
16 :Copyright: |copy| 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
17 :Copyright: |copy| 2005 Johannes Berg (johannes@sipsolutions.net)
18 :Copyright: |copy| 2005 Stelian Pop (stelian@popies.net)
19 :Copyright: |copy| 2005 Frank Arnold (frank@scirocco-5v-turbo.de)
20 :Copyright: |copy| 2005 Peter Osterlund (petero2@telia.com)
21 :Copyright: |copy| 2005 Michael Hanselmann (linux-kernel@hansmi.ch)
22 :Copyright: |copy| 2006 Nicolas Boichat (nicolas@boichat.ch)
/linux/drivers/base/test/
A Dproperty-entry-test.c353 struct property_entry *copy; in pe_test_move_inline_u8() local
356 copy = property_entries_dup(entries); in pe_test_move_inline_u8()
357 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, copy); in pe_test_move_inline_u8()
360 data_ptr = (u8 *)&copy[0].value; in pe_test_move_inline_u8()
365 data_ptr = copy[1].pointer; in pe_test_move_inline_u8()
369 property_entries_free(copy); in pe_test_move_inline_u8()
385 struct property_entry *copy; in pe_test_move_inline_str() local
388 copy = property_entries_dup(entries); in pe_test_move_inline_str()
389 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, copy); in pe_test_move_inline_str()
395 data_ptr = copy[1].pointer; in pe_test_move_inline_str()
[all …]
/linux/drivers/gpu/drm/tegra/
A Dplane.c54 struct tegra_plane_state *copy; in tegra_plane_atomic_duplicate_state() local
57 copy = kmalloc(sizeof(*copy), GFP_KERNEL); in tegra_plane_atomic_duplicate_state()
58 if (!copy) in tegra_plane_atomic_duplicate_state()
62 copy->tiling = state->tiling; in tegra_plane_atomic_duplicate_state()
63 copy->format = state->format; in tegra_plane_atomic_duplicate_state()
64 copy->swap = state->swap; in tegra_plane_atomic_duplicate_state()
65 copy->reflect_x = state->reflect_x; in tegra_plane_atomic_duplicate_state()
66 copy->reflect_y = state->reflect_y; in tegra_plane_atomic_duplicate_state()
67 copy->opaque = state->opaque; in tegra_plane_atomic_duplicate_state()
77 copy->sgt[i] = NULL; in tegra_plane_atomic_duplicate_state()
[all …]
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_io.c1037 int copy = 0; in chtls_sendmsg() local
1090 copy = mss; in chtls_sendmsg()
1093 copy = size; in chtls_sendmsg()
1096 copy = min(copy, skb_tailroom(skb)); in chtls_sendmsg()
1098 copy = min_t(int, copy, csk->tlshws.txleft); in chtls_sendmsg()
1115 goto copy; in chtls_sendmsg()
1148 copy: in chtls_sendmsg()
1152 copy = min_t(int, copy, csk->tlshws.txleft); in chtls_sendmsg()
1168 copy); in chtls_sendmsg()
1256 int copy, i; in chtls_sendpage() local
[all …]
/linux/lib/
A Diov_iter.c220 buf += copy; in copy_page_to_iter_iovec()
229 copy -= left; in copy_page_to_iter_iovec()
230 skip += copy; in copy_page_to_iter_iovec()
231 from += copy; in copy_page_to_iter_iovec()
239 skip = copy; in copy_page_to_iter_iovec()
286 to += copy; in copy_page_from_iter_iovec()
296 to += copy; in copy_page_from_iter_iovec()
304 buf += copy; in copy_page_from_iter_iovec()
313 copy -= left; in copy_page_from_iter_iovec()
315 to += copy; in copy_page_from_iter_iovec()
[all …]

Completed in 63 milliseconds

12345678910>>...46