/linux/arch/microblaze/kernel/ |
H A D | signal.c | 62 #define COPY(x) {err |= __get_user(regs->x, &sc->regs.x); } in restore_sigcontext() macro 63 COPY(r0); in restore_sigcontext() 64 COPY(r1); in restore_sigcontext() 65 COPY(r2); COPY(r3); COPY(r4); COPY(r5); in restore_sigcontext() 66 COPY(r6); COPY(r7); COPY(r in restore_sigcontext() 123 #define COPY( setup_sigcontext() macro [all...] |
/linux/arch/riscv/lib/ |
H A D | memmove.S | 17 * a2 - Length of copy n 24 * in the 2 misaligned fixup copy loops. 33 * Forward Copy: a1 - Index counter of src 34 * Reverse Copy: a4 - Index counter of src 35 * Forward Copy: t3 - Index counter of dest 36 * Reverse Copy: t4 - Index counter of dest 37 * Both Copy Modes: t5 - Inclusive first multibyte/aligned of dest 38 * Both Copy Modes: t6 - Non-Inclusive last multibyte/aligned of dest 39 * Both Copy Modes: t0 - Link / Temporary for load-store 40 * Both Copy Mode [all...] |
/linux/net/core/ |
H A D | datagram.c | 395 int i, copy = start - offset, start_off = offset, n; in __skb_datagram_iter() local 398 /* Copy header. */ in __skb_datagram_iter() 399 if (copy > 0) { in __skb_datagram_iter() 400 if (copy > len) in __skb_datagram_iter() 401 copy = len; in __skb_datagram_iter() 403 skb->data + offset, copy, data, to); in __skb_datagram_iter() 405 if (n != copy) in __skb_datagram_iter() 407 if ((len -= copy) == 0) in __skb_datagram_iter() 414 /* Copy paged appendix. Hmm... why does this look so complicated? */ in __skb_datagram_iter() 422 if ((copy in __skb_datagram_iter() 554 int i, copy = start - offset; skb_copy_datagram_from_iter() local 772 int copy = min_t(int, skb_headlen(skb), iov_iter_count(from)); zerocopy_sg_from_iter() local [all...] |
/linux/Documentation/staging/ |
H A 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 extr [all...] |
/linux/arch/m68k/atari/ |
H A D | time.c | 100 #define COPY(v) val->v=(mste_rtc.v & 0xf) in mste_read() macro 102 COPY(sec_ones) ; COPY(sec_tens) ; COPY(min_ones) ; in mste_read() 103 COPY(min_tens) ; COPY(hr_ones) ; COPY(hr_tens) ; in mste_read() 104 COPY(weekday) ; COPY(day_ones) ; COPY(day_ten in mste_read() 114 #define COPY( mste_write() macro [all...] |
/linux/arch/sh/kernel/ |
H A D | signal_32.c | 120 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) in restore_sigcontext() macro 121 COPY(regs[1]); in restore_sigcontext() 122 COPY(regs[2]); COPY(regs[3]); in restore_sigcontext() 123 COPY(regs[4]); COPY(regs[5]); in restore_sigcontext() 124 COPY(regs[6]); COPY(regs[7]); in restore_sigcontext() 125 COPY(regs[8]); COPY(reg in restore_sigcontext() 226 #define COPY( setup_sigcontext() macro [all...] |
/linux/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/lib/zlib_inflate/ |
H A D | inflate.c | 123 unsigned copy, dist; in zlib_updatewindow() local 127 /* copy state->wsize or less output bytes into the circular window */ in zlib_updatewindow() 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, cop in zlib_updatewindow() 340 unsigned copy; /* number of stored or match bytes to copy */ zlib_inflate() local [all...] |
/linux/fs/nfsd/ |
H A D | nfs4proc.c | 58 "Enable inter server to server copy offload. Default: false"); 60 static void cleanup_async_copy(struct nfsd4_copy *copy); 413 * field isn't set for some reason, throw warning and just copy in set_change_info() 964 * If we do a zero copy read, then a client will see read data in nfsd4_read() 968 * To ensure proper ordering, we therefore turn off zero copy if in nfsd4_read() 1309 * nfsd4_has_active_async_copies - Check for ongoing copy operations 1312 * NFSD maintains state for async COPY operations after they complete, 1318 * %true: At least one active async COPY is ongoing 1319 * %false: No active async COPY operations were found 1323 struct nfsd4_copy *copy; in nfsd4_has_active_async_copies() local 1345 struct nfsd4_copy *copy; nfsd4_async_copy_reaper() local 1373 nfs4_put_copy(struct nfsd4_copy * copy) nfs4_put_copy() argument 1381 nfsd4_stop_copy(struct nfsd4_copy * copy) nfsd4_stop_copy() argument 1394 struct nfsd4_copy *copy = NULL; nfsd4_unhash_copy() local 1411 struct nfsd4_copy *copy; nfsd4_shutdown_copy() local 1610 nfsd4_setup_inter_ssc(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_copy * copy) nfsd4_setup_inter_ssc() argument 1668 nfsd4_setup_inter_ssc(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_copy * copy) nfsd4_setup_inter_ssc() argument 1690 nfsd4_setup_intra_ssc(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_copy * copy) nfsd4_setup_intra_ssc() argument 1701 struct nfsd4_copy *copy = nfsd4_cb_offload_release() local 1731 nfsd4_init_copy_res(struct nfsd4_copy * copy,bool sync) nfsd4_init_copy_res() argument 1739 _nfsd_copy_file_range(struct nfsd4_copy * copy,struct file * dst,struct file * src) _nfsd_copy_file_range() argument 1780 nfsd4_do_copy(struct nfsd4_copy * copy,struct file * src,struct file * dst,bool sync) nfsd4_do_copy() argument 1822 release_copy_files(struct nfsd4_copy * copy) release_copy_files() argument 1830 cleanup_async_copy(struct nfsd4_copy * copy) cleanup_async_copy() argument 1843 nfsd4_send_cb_offload(struct nfsd4_copy * copy) nfsd4_send_cb_offload() argument 1871 struct nfsd4_copy *copy = (struct nfsd4_copy *)data; nfsd4_do_async_copy() local 1916 struct nfsd4_copy *copy = &u->copy; nfsd4_copy() local 2010 struct nfsd4_copy *copy; find_async_copy_locked() local 2025 struct nfsd4_copy *copy; find_async_copy() local 2041 struct nfsd4_copy *copy; nfsd4_offload_cancel() local 2129 struct nfsd4_copy *copy; nfsd4_offload_status() local 2751 struct nfsd4_copy *copy; check_if_stalefh_allowed() local [all...] |
/linux/arch/s390/kvm/ |
H A D | gaccess.h | 106 * @x: value to copy to guest 132 * write_guest_lc - copy data from kernel space to guest vcpu's lowcore 136 * @len: number of bytes to copy 138 * Copy data from kernel space to guest vcpu's lowcore. The entire range must 158 * read_guest_lc - copy data from guest vcpu's lowcore to kernel space 162 * @len: number of bytes to copy 164 * Copy data from guest vcpu's lowcore to kernel space. The entire range must 213 * write_guest_with_key - copy data from kernel space to guest space 218 * @len: number of bytes to copy 221 * Copy [all...] |
/linux/drivers/s390/block/ |
H A D | dasd_devmap.c | 50 struct dasd_copy_relation *copy; member 604 dev_warn(&device->cdev->dev, "Unable to query copy relation status\n"); in dasd_devmap_get_pprc_status() 613 dev_warn(&device->cdev->dev, "Error during copy relation status query\n"); in dasd_devmap_get_pprc_status() 648 * check the consistency of a specified copy relation by checking 651 * - is the given device part of a copy pair setup 660 struct dasd_copy_relation *copy) in dasd_devmap_check_copy_relation() argument 673 dev_warn(&device->cdev->dev, "Device not part of a copy relation\n"); in dasd_devmap_check_copy_relation() 680 dev_warn(&device->cdev->dev, "Copy pair secondary is setup as primary\n"); in dasd_devmap_check_copy_relation() 686 "Primary device %s does not match copy pair status primary device %04x\n", in dasd_devmap_check_copy_relation() 694 dev_warn(&device->cdev->dev, "Copy pai in dasd_devmap_check_copy_relation() 739 struct dasd_copy_relation *copy; dasd_devmap_delete_copy_relation_device() local 763 struct dasd_copy_relation *copy; dasd_devmap_set_device_copy_relation() local 2047 struct dasd_copy_relation *copy; dasd_copy_pair_show() local 2084 dasd_devmap_set_copy_relation(struct dasd_devmap * devmap,struct dasd_copy_relation * copy,char * busid,bool primary) dasd_devmap_set_copy_relation() argument 2114 dasd_devmap_del_copy_relation(struct dasd_copy_relation * copy,char * busid) dasd_devmap_del_copy_relation() argument 2142 struct dasd_copy_relation *copy; dasd_devmap_clear_copy_relation() local 2232 struct dasd_copy_relation *copy; dasd_copy_pair_store() local 2319 struct dasd_copy_relation *copy; dasd_copy_role_show() local [all...] |
/linux/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...] |
H A D | usercopy.S | 4 * Copy to/from user space (derived from arch/xtensa/lib/hal/memcopy.S) 70 mov a5, a2 # copy dst so that a2 is return value 79 bnone a3, a8, .Laligned # then use word copy 92 # copy 1 byte 101 # copy 2 bytes 113 * Byte by byte copy 140 # copy 16 bytes per iteration for word-aligned dst and word-aligned src 167 # copy 8 bytes 176 # copy 4 bytes 183 # copy [all...] |
/linux/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 585 * aligned to 8 MB. It is used to clear/copy/flush user pages 596 copy \v [all...] |
/linux/arch/x86/lib/ |
H A D | copy_mc_64.S | 12 * copy_mc_fragile - copy memory with indication if an exception / fault happened 22 /* Less than 8 bytes? Go to byte copy loop */ 30 /* Copy one byte at a time until source is 8-byte aligned */ 65 /* Copy trailing bytes */ 76 /* Copy successful. Return zero */ 98 * copy up to the write-protected page. 117 * copy_mc_enhanced_fast_string - memory copy with exception handling 119 * Fast string copy + fault / exception handling. If the CPU does 131 /* Copy successful. Return zero */ 137 * On fault %rcx is updated such that the copy instructio [all...] |
/linux/lib/ |
H A D | iomap_copy.c | 10 * __iowrite32_copy - copy data to MMIO space, in 32-bit units 13 * @count: number of 32-bit quantities to copy 15 * Copy data from kernel space to MMIO space, in units of 32 bits at a 33 * __ioread32_copy - copy data from MMIO space, in 32-bit units 36 * @count: number of 32-bit quantities to copy 38 * Copy data from MMIO space to kernel space, in units of 32 bits at a 54 * __iowrite64_copy - copy data to MMIO space, in 64-bit or 32-bit units 57 * @count: number of 64-bit quantities to copy 59 * Copy data from kernel space to MMIO space, in units of 32 or 64 bits at a
|
/linux/LICENSES/deprecated/ |
H A D | GFDL-1.1 | 28 Everyone is permitted to copy and distribute verbatim copies 36 the effective freedom to copy and redistribute it, with or without 87 A "Transparent" copy of the Document means a machine-readable copy, 94 to text formatters. A copy made in an otherwise Transparent file 96 subsequent modification by readers is not Transparent. A copy that is 119 You may copy and distribute the Document in any medium, either 154 copy along with each Opaque copy, or state in or with each Opaque copy [all...] |
H A D | GFDL-1.2 | 27 Everyone is permitted to copy and distribute verbatim copies 35 assure everyone the effective freedom to copy and redistribute it, 64 copy, modify or distribute the work in a way requiring permission 95 A "Transparent" copy of the Document means a machine-readable copy, 102 to text formatters. A copy made in an otherwise Transparent file 106 of text. A copy that is not "Transparent" is called "Opaque". 144 You may copy and distribute the Document in any medium, either 180 copy along with each Opaque copy, o [all...] |
/linux/Documentation/input/devices/ |
H A 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)
|
/linux/arch/nios2/lib/ |
H A D | memcpy.c | 16 You should have received a copy of the GNU Lesser General Public 33 /* Copy exactly NBYTES bytes from SRC_BP to DST_BP, 47 /* Copy *up to* NBYTES bytes from SRC_BP to DST_BP, with 68 /* _wordcopy_fwd_aligned -- Copy block beginning at SRCP to 107 /* _wordcopy_fwd_dest_aligned -- Copy block beginning at SRCP to 119 aligned srcp to make it aligned for copy. */ in _wordcopy_fwd_dest_aligned() 165 /* Copy from the beginning to the end. */ in memcpy() 167 /* If there not too few bytes to copy, use word copy. */ in memcpy() 169 /* Copy jus in memcpy() [all...] |
/linux/lib/kunit/ |
H A D | executor.c | 79 /* glob_match() needs NULL terminated strings, so we need a copy of filter_glob_param. */ 112 /* Create a copy of suite with only tests that match test_glob. */ 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() 172 struct kunit_suite **copy, **copy_star in kunit_filter_suites() local [all...] |
/linux/LICENSES/preferred/ |
H A D | LGPL-2.1 | 23 Everyone is permitted to copy and distribute verbatim copies of this 66 permission to copy, distribute and/or modify the library. 162 1. You may copy and distribute verbatim copies of the Library's complete 164 conspicuously and appropriately publish on each copy an appropriate 167 distribute a copy of this License along with the Library. 169 You may charge a fee for the physical act of transferring a copy, and 172 2. You may modify your copy or copies of the Library or any portion of it, 173 thus forming a work based on the Library, and copy and distribute such 221 License instead of this License to a given copy of the Library. To do 229 Once this change is made in a given copy, i [all...] |
H A D | LGPL-2.0 | 21 Everyone is permitted to copy and distribute verbatim copies of this 60 copy, distribute and/or modify the library. 150 1. You may copy and distribute verbatim copies of the Library's complete 152 conspicuously and appropriately publish on each copy an appropriate 155 distribute a copy of this License along with the Library. 157 You may charge a fee for the physical act of transferring a copy, and 160 2. You may modify your copy or copies of the Library or any portion of it, 161 thus forming a work based on the Library, and copy and distribute such 209 License instead of this License to a given copy of the Library. To do 217 Once this change is made in a given copy, i [all...] |
/linux/Documentation/networking/ |
H A D | msg_zerocopy.rst | 9 The MSG_ZEROCOPY flag enables copy avoidance for socket send calls. 20 underlying copy avoidance mechanism to common socket send calls. 22 Copy avoidance is not a free lunch. As implemented, with page pinning, 23 it replaces per byte copy cost with page accounting and completion 60 Passing the MSG_ZEROCOPY flag is the most obvious step to enable copy 68 copy avoidance mode for legacy processes that accidentally already pass 91 Mixing copy avoidance and copying 94 Many workloads have a mixture of large and small buffers. Because copy 211 Passing flag MSG_ZEROCOPY is a hint to the kernel to apply copy 213 notification. It is not a guarantee that the copy i [all...] |
/linux/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 272 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin() local 276 memcpy(data, *kbuf, copy); in user_regset_copyin() 277 *kbuf += copy; in user_regset_copyin() 278 } else if (__copy_from_user(data, *ubuf, copy)) in user_regset_copyin() 281 *ubuf += copy; in user_regset_copyin() 282 *pos += copy; in user_regset_copyin() 299 unsigned int copy = (end_pos < 0 ? *count user_regset_copyin_ignore() local [all...] |