/linux-master/arch/s390/lib/ |
H A D | csum-partial.c | 9 * and adds in "sum" (32-bit). If copy is true copies to dst. 19 static __always_inline __wsum csum_copy(void *dst, const void *src, int len, __wsum sum, bool copy) argument 24 if (copy) 35 if (copy) { 48 if (copy) { 59 if (copy) { 69 if (copy)
|
/linux-master/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-master/include/linux/ |
H A D | regset.h | 90 * not copy it all out. 106 * @count: amount of data to copy, in bytes 107 * @kbuf: if not %NULL, a kernel-space pointer to copy from 108 * @ubuf: if @kbuf is %NULL, a user-space pointer to copy from 262 unsigned int copy = (end_pos < 0 ? *count 266 memcpy(data, *kbuf, copy); 267 *kbuf += copy; 268 } else if (__copy_from_user(data, *ubuf, copy)) 271 *ubuf += copy; 272 *pos += copy; [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | tx-gen2.c | 60 int copy = IWL_FIRST_TB_SIZE - copy_size; local 62 if (copy > cmdlen[i]) 63 copy = cmdlen[i]; 64 cmdlen[i] -= copy; 65 cmddata[i] += copy; 66 copy_size += copy; 152 /* and copy the data that needs to be copied */ 154 int copy; local 159 /* copy everything if not nocopy/dup */ 162 copy [all...] |
/linux-master/lib/zlib_inflate/ |
H A D | inflate.c | 123 unsigned copy, dist; local 127 /* copy state->wsize or less output bytes into the circular window */ 128 copy = out - strm->avail_out; 129 if (copy >= state->wsize) { 136 if (dist > copy) dist = copy; 137 memcpy(state->window + state->write, strm->next_out - copy, dist); 138 copy -= dist; 139 if (copy) { 140 memcpy(state->window, strm->next_out - copy, cop 340 unsigned copy; /* number of stored or match bytes to copy */ local [all...] |
/linux-master/tools/testing/selftests/tc-testing/ |
H A D | tdc_config_local_template.py | 9 ENVIR = os.environ.copy()
|
/linux-master/arch/microblaze/boot/dts/ |
H A D | Makefile | 15 $(call if_changed,copy)
|
/linux-master/scripts/dtc/include-prefixes/microblaze/ |
H A D | Makefile | 15 $(call if_changed,copy)
|
/linux-master/arch/alpha/lib/ |
H A D | strcpy.S | 22 br __stxcpy # do the copy
|
/linux-master/drivers/block/ |
H A D | brd.c | 127 size_t copy; local 130 copy = min_t(size_t, n, PAGE_SIZE - offset); 134 if (copy < n) { 135 sector += copy >> SECTOR_SHIFT; 150 size_t copy; local 152 copy = min_t(size_t, n, PAGE_SIZE - offset); 157 memcpy(dst + offset, src, copy); 160 if (copy < n) { 161 src += copy; 162 sector += copy >> SECTOR_SHIF 182 size_t copy; local [all...] |
/linux-master/drivers/s390/cio/ |
H A D | cio_inject.c | 37 struct crw *copy; local 40 copy = kmemdup(crw, sizeof(*crw), GFP_KERNEL); 41 if (!copy) 46 kfree(copy); 49 crw_inject_data = copy;
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 5 * copy of this software and associated documentation files (the "Software"), 7 * on the rights to use, copy, modify, merge, publish, distribute, sub 229 drawable->u.copy.src_area.top = 0; 230 drawable->u.copy.src_area.bottom = height; 231 drawable->u.copy.src_area.left = 0; 232 drawable->u.copy.src_area.right = width; 234 drawable->u.copy.rop_descriptor = SPICE_ROPD_OP_PUT; 235 drawable->u.copy.scale_mode = 0; 236 drawable->u.copy.mask.flags = 0; 237 drawable->u.copy [all...] |
/linux-master/arch/xtensa/lib/ |
H A D | memcopy.S | 61 * Byte by byte copy 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 127 * Destination and source are word-aligned, use word 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 [all...] |
/linux-master/lib/kunit/ |
H A D | executor.c | 63 /* glob_match() needs NULL terminated strings, so we need a copy of filter_glob_param. */ 102 /* Create a copy of suite with only tests that match test_glob. */ 108 struct kunit_suite *copy; local 118 copy = kmemdup(suite, sizeof(*copy), GFP_KERNEL); 119 if (!copy) 124 kfree(copy); 134 copy->test_cases = filtered; 135 return copy; 162 struct kunit_suite **copy, **copy_star local [all...] |
/linux-master/net/core/ |
H A D | datagram.c | 413 int i, copy = start - offset, start_off = offset, n; local 417 if (copy > 0) { 418 if (copy > len) 419 copy = len; 421 skb->data + offset, copy, data, to); 423 if (n != copy) 425 if ((len -= copy) == 0) 437 if ((copy = end - offset) > 0) { 441 if (copy > len) 442 copy 565 int i, copy = start - offset; local 728 int copy = min_t(int, skb_headlen(skb), iov_iter_count(from)); local [all...] |
/linux-master/drivers/w1/slaves/ |
H A D | w1_ds2431.c | 209 int copy; local 233 /* copy at most to the boundary of the PAGE or len */ 234 copy = W1_F2D_SCRATCH_SIZE - 237 if (copy > len) 238 copy = len; 240 memcpy(&tmp[addr & W1_F2D_SCRATCH_MASK], buf, copy); 248 copy = W1_F2D_SCRATCH_SIZE; 249 if (w1_f2d_write(sl, addr, copy, buf) < 0) { 254 buf += copy; 255 addr += copy; [all...] |
H A D | w1_ds2430.c | 210 int copy; local 234 /* copy at most to the boundary of the PAGE or len */ 235 copy = W1_F14_SCRATCH_SIZE - 238 if (copy > len) 239 copy = len; 241 memcpy(&tmp[addr & W1_F14_SCRATCH_MASK], buf, copy); 249 copy = W1_F14_SCRATCH_SIZE; 250 if (w1_f14_write(sl, addr, copy, buf) < 0) { 255 buf += copy; 256 addr += copy; [all...] |
H A D | w1_ds2805.c | 208 int copy; local 232 /* copy at most to the boundary of the PAGE or len */ 233 copy = W1_F0D_SCRATCH_SIZE - 236 if (copy > len) 237 copy = len; 239 memcpy(&tmp[addr & W1_F0D_SCRATCH_MASK], buf, copy); 247 copy = W1_F0D_SCRATCH_SIZE; 248 if (w1_f0d_write(sl, addr, copy, buf) < 0) { 253 buf += copy; 254 addr += copy; [all...] |
/linux-master/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_task_queue.c | 31 /* Free message if copy was allocated. */ 146 void *copy = msg; local 150 copy = kmemdup(msg, size, GFP_ATOMIC); 151 if (!copy) 157 ret = ipc_task_queue_add_task(imem, arg, copy, func, 162 copy, size, is_copy); 164 kfree(copy);
|
/linux-master/drivers/s390/block/ |
H A D | dasd_devmap.c | 48 struct dasd_copy_relation *copy; member in struct:dasd_devmap 602 dev_warn(&device->cdev->dev, "Unable to query copy relation status\n"); 611 dev_warn(&device->cdev->dev, "Error during copy relation status query\n"); 646 * check the consistency of a specified copy relation by checking 649 * - is the given device part of a copy pair setup 658 struct dasd_copy_relation *copy) 671 dev_warn(&device->cdev->dev, "Device not part of a copy relation\n"); 684 "Primary device %s does not match copy pair status primary device %04x\n", 698 "Secondary device %s does not match copy pair status secondary device %04x\n", 707 * the current device has to be part of the copy relatio 655 dasd_devmap_check_copy_relation(struct dasd_device *device, struct dasd_copy_entry *entry, struct dasd_pprc_data_sc4 *data, struct dasd_copy_relation *copy) argument 737 struct dasd_copy_relation *copy; local 761 struct dasd_copy_relation *copy; local 2045 struct dasd_copy_relation *copy; local 2081 dasd_devmap_set_copy_relation(struct dasd_devmap *devmap, struct dasd_copy_relation *copy, char *busid, bool primary) argument 2112 dasd_devmap_del_copy_relation(struct dasd_copy_relation *copy, char *busid) argument 2140 struct dasd_copy_relation *copy; local 2230 struct dasd_copy_relation *copy; local 2311 struct dasd_copy_relation *copy; local [all...] |
/linux-master/sound/core/oss/ |
H A D | Makefile | 11 io.o copy.o linear.o mulaw.o route.o rate.o
|
/linux-master/lib/ |
H A D | test_bitmap.c | 808 DECLARE_BITMAP(copy, 500); 821 bitmap_zero(copy, 500); 824 bitmap_set(copy, bit, 1); 826 expect_eq_bitmap(orig, copy, 500); 833 DECLARE_BITMAP(copy, 500); 837 bitmap_zero(copy, 500); 847 bitmap_set(copy, bit, 1); 849 expect_eq_bitmap(orig, copy, 500); 855 DECLARE_BITMAP(copy, 500); 870 bitmap_zero(copy, 50 [all...] |
/linux-master/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 483 copy \pte,\tmp 578 * aligned to 8 MB. It is used to clear/copy/flush user pages 589 copy \v [all...] |
/linux-master/fs/nfsd/ |
H A D | nfs4proc.c | 58 "Enable inter server to server copy offload. Default: false"); 408 * field isn't set for some reason, throw warning and just copy 966 * If we do a zero copy read, then a client will see read data 970 * To ensure proper ordering, we therefore turn off zero copy if 1287 static void nfs4_put_copy(struct nfsd4_copy *copy) argument 1289 if (!refcount_dec_and_test(©->refcount)) 1291 kfree(copy->cp_src); 1292 kfree(copy); 1295 static void nfsd4_stop_copy(struct nfsd4_copy *copy) argument 1297 if (!test_and_set_bit(NFSD4_COPY_F_STOPPED, © 1304 struct nfsd4_copy *copy = NULL; local 1318 struct nfsd4_copy *copy; local 1515 nfsd4_setup_inter_ssc(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_copy *copy) argument 1573 nfsd4_setup_inter_ssc(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_copy *copy) argument 1595 nfsd4_setup_intra_ssc(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_copy *copy) argument 1627 nfsd4_init_copy_res(struct nfsd4_copy *copy, bool sync) argument 1636 _nfsd_copy_file_range(struct nfsd4_copy *copy, struct file *dst, struct file *src) argument 1677 nfsd4_do_copy(struct nfsd4_copy *copy, struct file *src, struct file *dst, bool sync) argument 1719 release_copy_files(struct nfsd4_copy *copy) argument 1727 cleanup_async_copy(struct nfsd4_copy *copy) argument 1740 nfsd4_send_cb_offload(struct nfsd4_copy *copy, __be32 nfserr) argument 1768 struct nfsd4_copy *copy = (struct nfsd4_copy *)data; local 1806 struct nfsd4_copy *copy = &u->copy; local 1886 struct nfsd4_copy *copy; local 1901 struct nfsd4_copy *copy; local 1917 struct nfsd4_copy *copy; local 2003 struct nfsd4_copy *copy; local 2594 struct nfsd4_copy *copy; local [all...] |
/linux-master/tools/perf/util/ |
H A D | ordered-events.h | 74 void ordered_events__set_copy_on_queue(struct ordered_events *oe, bool copy) argument 76 oe->copy_on_queue = copy;
|