| /linux-6.15/lib/zlib_inflate/ |
| H A D | inflate.c | 123 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-6.15/net/core/ |
| H A D | datagram.c | 398 if (copy > 0) { in __skb_datagram_iter() 399 if (copy > len) in __skb_datagram_iter() 400 copy = len; in __skb_datagram_iter() 404 if (n != copy) in __skb_datagram_iter() 427 copy = len; in __skb_datagram_iter() 456 copy = len; in __skb_datagram_iter() 561 if (copy > 0) { in skb_copy_datagram_from_iter() 563 copy = len; in skb_copy_datagram_from_iter() 564 if (copy_from_iter(skb->data + offset, copy, from) != copy) in skb_copy_datagram_from_iter() 583 copy = len; in skb_copy_datagram_from_iter() [all …]
|
| /linux-6.15/drivers/block/ |
| H A D | brd.c | 109 size_t copy; in copy_to_brd_setup() local 116 if (copy < n) { in copy_to_brd_setup() 132 size_t copy; in copy_to_brd() local 142 if (copy < n) { in copy_to_brd() 143 src += copy; in copy_to_brd() 145 copy = n - copy; in copy_to_brd() 164 size_t copy; in copy_from_brd() local 173 memset(dst, 0, copy); in copy_from_brd() 175 if (copy < n) { in copy_from_brd() 176 dst += copy; in copy_from_brd() [all …]
|
| /linux-6.15/fs/nfsd/ |
| H A D | nfs4proc.c | 1376 kfree(copy); in nfs4_put_copy() 1688 ©->nf_src, ©->cp_dst_stateid, in nfsd4_setup_intra_ssc() 1842 memcpy(&cbo->co_fh, ©->fh, sizeof(copy->fh)); in nfsd4_send_cb_offload() 1849 &cbo->co_fh, copy->cp_count, copy->nfserr); in nfsd4_send_cb_offload() 1869 ©->c_fh, ©->stateid); in nfsd4_do_async_copy() 1881 copy->nfserr = nfsd4_do_copy(copy, filp, copy->nf_dst->nf_file, in nfsd4_do_async_copy() 1885 copy->nfserr = nfsd4_do_copy(copy, copy->nf_src->nf_file, in nfsd4_do_async_copy() 1907 struct nfsd4_copy *copy = &u->copy; in nfsd4_copy() local 1975 status = nfsd4_do_copy(copy, copy->nf_src->nf_file, in nfsd4_copy() 2022 if (copy) in find_async_copy() [all …]
|
| /linux-6.15/include/linux/ |
| H A D | regset.h | 262 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-6.15/drivers/s390/block/ |
| H A D | dasd_devmap.c | 744 copy = device->copy; in dasd_devmap_delete_copy_relation_device() 775 copy = devmap->copy; in dasd_devmap_set_device_copy_relation() 819 device->copy = copy; in dasd_devmap_set_device_copy_relation() 2058 copy = devmap->copy; in dasd_copy_pair_show() 2104 copy->active = ©->entry[i]; in dasd_devmap_set_copy_relation() 2108 devmap->copy = copy; in dasd_devmap_set_copy_relation() 2153 copy = devmap->copy; in dasd_devmap_clear_copy_relation() 2171 copy->entry[i].device->copy = NULL; in dasd_devmap_clear_copy_relation() 2271 copy = prim_devmap->copy; in dasd_copy_pair_store() 2273 copy = sec_devmap->copy; in dasd_copy_pair_store() [all …]
|
| /linux-6.15/Documentation/admin-guide/device-mapper/ |
| H A 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 …]
|
| /linux-6.15/arch/parisc/kernel/ |
| H A D | entry.S | 104 copy %r30, %r17 116 copy %r9,%r29 124 copy %r30,%r1 130 copy %r9,%r29 375 copy \spc,\tmp 394 copy %r0,\pte 408 copy %r0,\pte 748 copy %r31, %r2 1670 copy %r0,%r28 2102 copy %r3,%r1 [all …]
|
| /linux-6.15/arch/parisc/boot/compressed/ |
| H A 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 */
|
| /linux-6.15/arch/xtensa/lib/ |
| H A D | memcopy.S | 92 # 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 346 # copy 1 byte [all …]
|
| H A D | usercopy.S | 79 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-6.15/drivers/w1/slaves/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| /linux-6.15/lib/kunit/ |
| H A D | executor.c | 118 struct kunit_suite *copy; in kunit_filter_glob_tests() local 128 copy = kmemdup(suite, sizeof(*copy), GFP_KERNEL); in kunit_filter_glob_tests() 129 if (!copy) in kunit_filter_glob_tests() 134 kfree(copy); in kunit_filter_glob_tests() 144 copy->test_cases = filtered; in kunit_filter_glob_tests() 145 return copy; in kunit_filter_glob_tests() 180 copy = kcalloc(max, sizeof(*filtered.start), GFP_KERNEL); in kunit_filter_suites() 184 copy_start = copy; in kunit_filter_suites() 246 *copy++ = filtered_suite; in kunit_filter_suites() 249 filtered.end = copy; in kunit_filter_suites() [all …]
|
| /linux-6.15/arch/s390/lib/ |
| H A D | csum-partial.c | 19 static __always_inline __wsum csum_copy(void *dst, const void *src, int len, __wsum sum, bool copy) in csum_copy() argument 24 if (copy) in csum_copy() 35 if (copy) { in csum_copy() 48 if (copy) { in csum_copy() 59 if (copy) { in csum_copy() 69 if (copy) in csum_copy()
|
| /linux-6.15/drivers/gpu/drm/v3d/ |
| H A D | v3d_submit.c | 600 if (copy_from_user(©, ext, sizeof(copy))) in v3d_get_cpu_copy_query_results_params() 641 job->copy.do_64bit = copy.do_64bit; in v3d_get_cpu_copy_query_results_params() 642 job->copy.do_partial = copy.do_partial; in v3d_get_cpu_copy_query_results_params() 643 job->copy.availability_bit = copy.availability_bit; in v3d_get_cpu_copy_query_results_params() 644 job->copy.offset = copy.offset; in v3d_get_cpu_copy_query_results_params() 645 job->copy.stride = copy.stride; in v3d_get_cpu_copy_query_results_params() 782 if (copy_from_user(©, ext, sizeof(copy))) in v3d_get_cpu_copy_performance_query_params() 810 job->copy.do_64bit = copy.do_64bit; in v3d_get_cpu_copy_performance_query_params() 811 job->copy.do_partial = copy.do_partial; in v3d_get_cpu_copy_performance_query_params() 813 job->copy.offset = copy.offset; in v3d_get_cpu_copy_performance_query_params() [all …]
|
| /linux-6.15/Documentation/staging/ |
| H A D | lzo.rst | 27 - 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-6.15/drivers/gpu/drm/qxl/ |
| H A D | qxl_draw.c | 229 drawable->u.copy.src_area.top = 0; in qxl_draw_dirty_fb() 230 drawable->u.copy.src_area.bottom = height; in qxl_draw_dirty_fb() 231 drawable->u.copy.src_area.left = 0; in qxl_draw_dirty_fb() 232 drawable->u.copy.src_area.right = width; in qxl_draw_dirty_fb() 234 drawable->u.copy.rop_descriptor = SPICE_ROPD_OP_PUT; in qxl_draw_dirty_fb() 235 drawable->u.copy.scale_mode = 0; in qxl_draw_dirty_fb() 236 drawable->u.copy.mask.flags = 0; in qxl_draw_dirty_fb() 237 drawable->u.copy.mask.pos.x = 0; in qxl_draw_dirty_fb() 238 drawable->u.copy.mask.pos.y = 0; in qxl_draw_dirty_fb() 239 drawable->u.copy.mask.bitmap = 0; in qxl_draw_dirty_fb() [all …]
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_guc_log.c | 85 snapshot->copy = kcalloc(snapshot->num_chunks, sizeof(*snapshot->copy), in xe_guc_log_snapshot_alloc() 87 if (!snapshot->copy) in xe_guc_log_snapshot_alloc() 94 snapshot->copy[i] = kmalloc(size, atomic ? GFP_ATOMIC : GFP_KERNEL); in xe_guc_log_snapshot_alloc() 95 if (!snapshot->copy[i]) in xe_guc_log_snapshot_alloc() 104 kfree(snapshot->copy[i]); in xe_guc_log_snapshot_alloc() 105 kfree(snapshot->copy); in xe_guc_log_snapshot_alloc() 125 if (snapshot->copy) { in xe_guc_log_snapshot_free() 127 kfree(snapshot->copy[i]); in xe_guc_log_snapshot_free() 128 kfree(snapshot->copy); in xe_guc_log_snapshot_free() 163 xe_map_memcpy_from(xe, snapshot->copy[i], &log->bo->vmap, in xe_guc_log_snapshot_capture() [all …]
|
| /linux-6.15/Documentation/input/devices/ |
| H A D | bcm5974.rst | 7 :Copyright: |copy| 2008-2009 Henrik Rydberg <[email protected]> 12 :Copyright: |copy| 2008 Scott Shawcroft ([email protected]) 16 :Copyright: |copy| 2001-2004 Greg Kroah-Hartman ([email protected]) 17 :Copyright: |copy| 2005 Johannes Berg ([email protected]) 18 :Copyright: |copy| 2005 Stelian Pop ([email protected]) 19 :Copyright: |copy| 2005 Frank Arnold ([email protected]) 20 :Copyright: |copy| 2005 Peter Osterlund ([email protected]) 21 :Copyright: |copy| 2005 Michael Hanselmann ([email protected]) 22 :Copyright: |copy| 2006 Nicolas Boichat ([email protected])
|
| /linux-6.15/lib/ |
| H A D | test_bitmap.c | 780 DECLARE_BITMAP(copy, 500); in test_for_each_set_bit_wrap() 793 bitmap_zero(copy, 500); in test_for_each_set_bit_wrap() 805 DECLARE_BITMAP(copy, 500); in test_for_each_set_bit() 809 bitmap_zero(copy, 500); in test_for_each_set_bit() 842 bitmap_zero(copy, 500); in test_for_each_set_bit_from() 861 bitmap_fill(copy, 500); in test_for_each_clear_bit() 894 bitmap_fill(copy, 500); in test_for_each_clear_bit_from() 913 bitmap_zero(copy, 500); in test_for_each_set_bitrange() 935 bitmap_fill(copy, 500); in test_for_each_clear_bitrange() 968 bitmap_zero(copy, 500); in test_for_each_set_bitrange_from() [all …]
|
| /linux-6.15/drivers/net/ethernet/sfc/siena/ |
| H A D | siena_sriov.c | 405 struct efx_memcpy_req copy[4]; in __efx_siena_sriov_push_vf_status() local 417 memset(copy, '\0', sizeof(copy)); in __efx_siena_sriov_push_vf_status() 420 copy[0].to_rid = vf->pci_rid; in __efx_siena_sriov_push_vf_status() 431 copy[1].to_rid = vf->pci_rid; in __efx_siena_sriov_push_vf_status() 445 copy[pos].from_buf = NULL; in __efx_siena_sriov_push_vf_status() 453 efx_siena_sriov_memcpy(efx, copy, ARRAY_SIZE(copy)); in __efx_siena_sriov_push_vf_status() 881 memset(copy, '\0', sizeof(copy)); in efx_siena_sriov_vfdi() 921 memset(copy, '\0', sizeof(copy)); in efx_siena_sriov_vfdi() 922 copy[0].from_buf = &req->rc; in efx_siena_sriov_vfdi() 926 copy[1].from_buf = &req->op; in efx_siena_sriov_vfdi() [all …]
|
| /linux-6.15/drivers/base/test/ |
| H A D | property-entry-test.c | 353 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 *)©[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-6.15/drivers/gpu/drm/tegra/ |
| H A D | plane.c | 55 struct tegra_plane_state *copy; in tegra_plane_atomic_duplicate_state() local 58 copy = kmalloc(sizeof(*copy), GFP_KERNEL); in tegra_plane_atomic_duplicate_state() 59 if (!copy) in tegra_plane_atomic_duplicate_state() 63 copy->tiling = state->tiling; in tegra_plane_atomic_duplicate_state() 64 copy->format = state->format; in tegra_plane_atomic_duplicate_state() 65 copy->swap = state->swap; in tegra_plane_atomic_duplicate_state() 66 copy->reflect_x = state->reflect_x; in tegra_plane_atomic_duplicate_state() 67 copy->reflect_y = state->reflect_y; in tegra_plane_atomic_duplicate_state() 68 copy->opaque = state->opaque; in tegra_plane_atomic_duplicate_state() 78 copy->map[i] = NULL; in tegra_plane_atomic_duplicate_state() [all …]
|