/kernel/linux/linux-5.10/net/core/ |
D | datagram.c | 418 int i, copy = start - offset, start_off = offset, n; in __skb_datagram_iter() local 422 if (copy > 0) { in __skb_datagram_iter() 423 if (copy > len) in __skb_datagram_iter() 424 copy = len; in __skb_datagram_iter() 426 skb->data + offset, copy, data, to); in __skb_datagram_iter() 428 if (n != copy) in __skb_datagram_iter() 430 if ((len -= copy) == 0) in __skb_datagram_iter() 442 if ((copy = end - offset) > 0) { in __skb_datagram_iter() 446 if (copy > len) in __skb_datagram_iter() 447 copy = len; in __skb_datagram_iter() [all …]
|
/kernel/linux/linux-5.10/lib/zlib_inflate/ |
D | inflate.c | 123 unsigned copy, dist; in zlib_updatewindow() local 128 copy = out - strm->avail_out; in zlib_updatewindow() 129 if (copy >= state->wsize) { in zlib_updatewindow() 136 if (dist > copy) dist = copy; in zlib_updatewindow() 137 memcpy(state->window + state->write, strm->next_out - copy, dist); 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() 141 state->write = copy; in zlib_updatewindow() 340 unsigned copy; /* number of stored or match bytes to copy */ in zlib_inflate() local [all …]
|
/kernel/linux/linux-5.10/drivers/block/ |
D | brd.c | 176 size_t copy; in copy_to_brd_setup() local 178 copy = min_t(size_t, n, PAGE_SIZE - offset); in copy_to_brd_setup() 181 if (copy < n) { in copy_to_brd_setup() 182 sector += copy >> SECTOR_SHIFT; in copy_to_brd_setup() 198 size_t copy; in copy_to_brd() local 200 copy = min_t(size_t, n, PAGE_SIZE - offset); in copy_to_brd() 205 memcpy(dst + offset, src, copy); in copy_to_brd() 208 if (copy < n) { in copy_to_brd() 209 src += copy; in copy_to_brd() 210 sector += copy >> SECTOR_SHIFT; in copy_to_brd() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | regset.h | 250 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin() local 254 memcpy(data, *kbuf, copy); in user_regset_copyin() 255 *kbuf += copy; in user_regset_copyin() 256 } else if (__copy_from_user(data, *ubuf, copy)) in user_regset_copyin() 259 *ubuf += copy; in user_regset_copyin() 260 *pos += copy; in user_regset_copyin() 261 *count -= copy; in user_regset_copyin() 277 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin_ignore() local 280 *kbuf += copy; in user_regset_copyin_ignore() 282 *ubuf += copy; in user_regset_copyin_ignore() [all …]
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfs4proc.c | 1108 void nfs4_put_copy(struct nfsd4_copy *copy) in nfs4_put_copy() argument 1110 if (!refcount_dec_and_test(©->refcount)) in nfs4_put_copy() 1112 kfree(copy); in nfs4_put_copy() 1116 check_and_set_stop_copy(struct nfsd4_copy *copy) in check_and_set_stop_copy() argument 1120 spin_lock(©->cp_clp->async_lock); in check_and_set_stop_copy() 1121 value = copy->stopped; in check_and_set_stop_copy() 1122 if (!copy->stopped) in check_and_set_stop_copy() 1123 copy->stopped = true; in check_and_set_stop_copy() 1124 spin_unlock(©->cp_clp->async_lock); in check_and_set_stop_copy() 1128 static void nfsd4_stop_copy(struct nfsd4_copy *copy) in nfsd4_stop_copy() argument [all …]
|
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/ |
D | kcopyd.rst | 5 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 …]
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | entry.S | 111 copy %r30, %r17 124 copy %r9,%r29 132 copy %r30,%r1 138 copy %r9,%r29 383 copy \spc,\tmp 410 copy %r0,\pte 424 copy %r0,\pte 504 copy \pte,\tmp 608 copy \va,\tmp1 767 copy %r31, %r2 [all …]
|
/kernel/linux/linux-5.10/arch/parisc/boot/compressed/ |
D | head.S | 36 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 */
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | tx-gen2.c | 104 int copy = IWL_FIRST_TB_SIZE - copy_size; in iwl_pcie_gen2_enqueue_hcmd() local 106 if (copy > cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd() 107 copy = cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd() 108 cmdlen[i] -= copy; in iwl_pcie_gen2_enqueue_hcmd() 109 cmddata[i] += copy; in iwl_pcie_gen2_enqueue_hcmd() 110 copy_size += copy; in iwl_pcie_gen2_enqueue_hcmd() 198 int copy; in iwl_pcie_gen2_enqueue_hcmd() local 206 copy = cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd() 208 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_gen2_enqueue_hcmd() 209 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd() [all …]
|
/kernel/linux/linux-5.10/arch/nds32/lib/ |
D | memmove.S | 21 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
|
/kernel/linux/linux-5.10/arch/xtensa/lib/ |
D | memcopy.S | 92 # copy 1 byte 101 # copy 2 bytes 117 mov a5, a2 # copy dst so that a2 is return value 125 _bany a3, a8, .Lsrcunaligned # then use shifting copy 129 # copy 16 bytes per iteration for word-aligned dst and word-aligned src 153 # copy 8 bytes 166 # copy 4 bytes 175 # copy 2 bytes 183 # copy 1 byte 195 # copy 16 bytes per iteration for word-aligned dst and unaligned src [all …]
|
D | usercopy.S | 65 mov a5, a2 # copy dst so that a2 is return value 74 bnone a3, a8, .Laligned # then use word copy 87 # copy 1 byte 96 # copy 2 bytes 135 # copy 16 bytes per iteration for word-aligned dst and word-aligned src 162 # copy 8 bytes 171 # copy 4 bytes 178 # copy 2 bytes 185 # copy 1 byte 200 # copy 16 bytes per iteration for word-aligned dst and unaligned src [all …]
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | xdr.c | 227 size_t copy; in _shift_data_left_pages() local 247 copy = len; in _shift_data_left_pages() 248 if (copy > (PAGE_SIZE - pgto_base)) in _shift_data_left_pages() 249 copy = PAGE_SIZE - pgto_base; in _shift_data_left_pages() 250 if (copy > (PAGE_SIZE - pgfrom_base)) in _shift_data_left_pages() 251 copy = PAGE_SIZE - pgfrom_base; in _shift_data_left_pages() 256 memcpy(vto + pgto_base, vfrom + pgfrom_base, copy); in _shift_data_left_pages() 259 memmove(vto + pgto_base, vto + pgfrom_base, copy); in _shift_data_left_pages() 263 pgto_base += copy; in _shift_data_left_pages() 264 pgfrom_base += copy; in _shift_data_left_pages() [all …]
|
/kernel/linux/linux-5.10/drivers/w1/slaves/ |
D | w1_ds2430.c | 210 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()
|
D | w1_ds2431.c | 209 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()
|
D | w1_ds2805.c | 208 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()
|
/kernel/linux/linux-5.10/Documentation/staging/ |
D | lzo.rst | 27 - a length (number of bytes to copy from dictionary) 28 - the number of literals to copy, which is retained in variable "state" 55 ranges, resulting in multiple copy instructions using different encodings. 59 After any instruction except the large literal copy, 0, 1, 2 or 3 literals 68 End of stream is declared when a block copy of distance 0 is seen. Only one 101 noting that code 16 will represent a block copy from the 111 18..21 : copy 0..3 literals 112 state = (byte - 17) = 0..3 [ copy <state> literals ] 115 22..255 : copy literal string 117 state = 4 [ don't copy extra literals ] [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
D | qxl_draw.c | 222 drawable->u.copy.src_area.top = 0; in qxl_draw_dirty_fb() 223 drawable->u.copy.src_area.bottom = height; in qxl_draw_dirty_fb() 224 drawable->u.copy.src_area.left = 0; in qxl_draw_dirty_fb() 225 drawable->u.copy.src_area.right = width; in qxl_draw_dirty_fb() 227 drawable->u.copy.rop_descriptor = SPICE_ROPD_OP_PUT; in qxl_draw_dirty_fb() 228 drawable->u.copy.scale_mode = 0; in qxl_draw_dirty_fb() 229 drawable->u.copy.mask.flags = 0; in qxl_draw_dirty_fb() 230 drawable->u.copy.mask.pos.x = 0; in qxl_draw_dirty_fb() 231 drawable->u.copy.mask.pos.y = 0; in qxl_draw_dirty_fb() 232 drawable->u.copy.mask.bitmap = 0; in qxl_draw_dirty_fb() [all …]
|
/kernel/linux/linux-5.10/drivers/base/test/ |
D | property-entry-test.c | 311 struct property_entry *copy; in pe_test_move_inline_u8() local 314 copy = property_entries_dup(entries); in pe_test_move_inline_u8() 315 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, copy); in pe_test_move_inline_u8() 317 KUNIT_EXPECT_TRUE(test, copy[0].is_inline); in pe_test_move_inline_u8() 318 data_ptr = (u8 *)©[0].value; in pe_test_move_inline_u8() 322 KUNIT_EXPECT_FALSE(test, copy[1].is_inline); in pe_test_move_inline_u8() 323 data_ptr = copy[1].pointer; in pe_test_move_inline_u8() 327 property_entries_free(copy); in pe_test_move_inline_u8() 343 struct property_entry *copy; in pe_test_move_inline_str() local 346 copy = property_entries_dup(entries); in pe_test_move_inline_str() [all …]
|
/kernel/linux/linux-5.10/Documentation/input/devices/ |
D | bcm5974.rst | 7 :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)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
D | plane.c | 53 struct tegra_plane_state *copy; in tegra_plane_atomic_duplicate_state() local 56 copy = kmalloc(sizeof(*copy), GFP_KERNEL); in tegra_plane_atomic_duplicate_state() 57 if (!copy) in tegra_plane_atomic_duplicate_state() 60 __drm_atomic_helper_plane_duplicate_state(plane, ©->base); in tegra_plane_atomic_duplicate_state() 61 copy->tiling = state->tiling; in tegra_plane_atomic_duplicate_state() 62 copy->format = state->format; in tegra_plane_atomic_duplicate_state() 63 copy->swap = state->swap; in tegra_plane_atomic_duplicate_state() 64 copy->reflect_x = state->reflect_x; in tegra_plane_atomic_duplicate_state() 65 copy->reflect_y = state->reflect_y; in tegra_plane_atomic_duplicate_state() 66 copy->opaque = state->opaque; in tegra_plane_atomic_duplicate_state() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | siena_sriov.c | 404 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() 418 copy[0].from_buf = &status->generation_start; in __efx_siena_sriov_push_vf_status() 419 copy[0].to_rid = vf->pci_rid; in __efx_siena_sriov_push_vf_status() 420 copy[0].to_addr = vf->status_addr + offsetof(struct vfdi_status, in __efx_siena_sriov_push_vf_status() 422 copy[0].length = sizeof(status->generation_start); in __efx_siena_sriov_push_vf_status() 428 copy[1].from_rid = efx->pci_dev->devfn; in __efx_siena_sriov_push_vf_status() 429 copy[1].from_addr = nic_data->vfdi_status.dma_addr + data_offset; in __efx_siena_sriov_push_vf_status() 430 copy[1].to_rid = vf->pci_rid; in __efx_siena_sriov_push_vf_status() 431 copy[1].to_addr = vf->status_addr + data_offset; in __efx_siena_sriov_push_vf_status() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_io.c | 889 int off, int copy) in chtls_skb_copy_to_page_nocache() argument 894 off, copy, skb->len); in chtls_skb_copy_to_page_nocache() 898 skb->len += copy; in chtls_skb_copy_to_page_nocache() 899 skb->data_len += copy; in chtls_skb_copy_to_page_nocache() 900 skb->truesize += copy; in chtls_skb_copy_to_page_nocache() 901 sk->sk_wmem_queued += copy; in chtls_skb_copy_to_page_nocache() 1037 int copy = 0; in chtls_sendmsg() local 1041 copy = mss - skb->len; in chtls_sendmsg() 1067 copy <= 0) { in chtls_sendmsg() 1090 copy = mss; in chtls_sendmsg() [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | iov_iter.c | 167 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local 183 copy = min(bytes, iov->iov_len - skip); in copy_page_to_iter_iovec() 185 if (IS_ENABLED(CONFIG_HIGHMEM) && !fault_in_pages_writeable(buf, copy)) { in copy_page_to_iter_iovec() 190 left = copyout(buf, from, copy); in copy_page_to_iter_iovec() 191 copy -= left; in copy_page_to_iter_iovec() 192 skip += copy; in copy_page_to_iter_iovec() 193 from += copy; in copy_page_to_iter_iovec() 194 bytes -= copy; in copy_page_to_iter_iovec() 199 copy = min(bytes, iov->iov_len); in copy_page_to_iter_iovec() 200 left = copyout(buf, from, copy); in copy_page_to_iter_iovec() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp_bpf.c | 33 int copy; in __tcp_bpf_recvmsg() local 36 copy = sge->length; in __tcp_bpf_recvmsg() 38 if (copied + copy > len) in __tcp_bpf_recvmsg() 39 copy = len - copied; in __tcp_bpf_recvmsg() 40 copy = copy_page_to_iter(page, sge->offset, copy, iter); in __tcp_bpf_recvmsg() 41 if (!copy) in __tcp_bpf_recvmsg() 44 copied += copy; in __tcp_bpf_recvmsg() 46 sge->offset += copy; in __tcp_bpf_recvmsg() 47 sge->length -= copy; in __tcp_bpf_recvmsg() 49 sk_mem_uncharge(sk, copy); in __tcp_bpf_recvmsg() [all …]
|