Home
last modified time | relevance | path

Searched full:copy (Results 1 – 25 of 7847) sorted by relevance

12345678910>>...314

/openbmc/linux/arch/microblaze/kernel/
H A Dsignal.c62 #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(r8); COPY(r9); in restore_sigcontext()
67 COPY(r10); COPY(r11); COPY(r12); COPY(r13); in restore_sigcontext()
68 COPY(r14); COPY(r15); COPY(r16); COPY(r17); in restore_sigcontext()
69 COPY(r18); COPY(r19); COPY(r20); COPY(r21); in restore_sigcontext()
70 COPY(r22); COPY(r23); COPY(r24); COPY(r25); in restore_sigcontext()
71 COPY(r26); COPY(r27); COPY(r28); COPY(r29); in restore_sigcontext()
[all …]
/openbmc/linux/arch/x86/um/os-Linux/
H A Dmcontext.c11 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] in get_regs_from_mc() macro
15 COPY(EDI); COPY(ESI); COPY(EBP); in get_regs_from_mc()
17 COPY(EBX); COPY(EDX); COPY(ECX); COPY(EAX); in get_regs_from_mc()
18 COPY(EIP); COPY_SEG_CPL3(CS); COPY(EFL); COPY_SEG_CPL3(SS); in get_regs_from_mc()
21 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X] in get_regs_from_mc()
22 COPY(R8); COPY(R9); COPY(R10); COPY(R11); in get_regs_from_mc()
23 COPY(R12); COPY(R13); COPY(R14); COPY(R15); in get_regs_from_mc()
24 COPY(RDI); COPY(RSI); COPY(RBP); COPY(RBX); in get_regs_from_mc()
25 COPY(RDX); COPY(RAX); COPY(RCX); COPY(RSP); in get_regs_from_mc()
26 COPY(RIP); in get_regs_from_mc()
/openbmc/qemu/linux-user/sh4/
H A Dsignal.c16 * You should have received a copy of the GNU General Public License
123 #define COPY(x) __put_user(regs->x, &sc->sc_##x) in setup_sigcontext() macro
124 COPY(gregs[0]); COPY(gregs[1]); in setup_sigcontext()
125 COPY(gregs[2]); COPY(gregs[3]); in setup_sigcontext()
126 COPY(gregs[4]); COPY(gregs[5]); in setup_sigcontext()
127 COPY(gregs[6]); COPY(gregs[7]); in setup_sigcontext()
128 COPY(gregs[8]); COPY(gregs[9]); in setup_sigcontext()
129 COPY(gregs[10]); COPY(gregs[11]); in setup_sigcontext()
130 COPY(gregs[12]); COPY(gregs[13]); in setup_sigcontext()
131 COPY(gregs[14]); COPY(gregs[15]); in setup_sigcontext()
[all …]
/openbmc/linux/arch/riscv/lib/
H A Dmemmove.S18 * a2 - Length of copy n
25 * in the 2 misaligned fixup copy loops.
34 * Forward Copy: a1 - Index counter of src
35 * Reverse Copy: a4 - Index counter of src
36 * Forward Copy: t3 - Index counter of dest
37 * Reverse Copy: t4 - Index counter of dest
38 * Both Copy Modes: t5 - Inclusive first multibyte/aligned of dest
39 * Both Copy Modes: t6 - Non-Inclusive last multibyte/aligned of dest
40 * Both Copy Modes: t0 - Link / Temporary for load-store
41 * Both Copy Modes: t1 - Temporary for load-store
[all …]
/openbmc/linux/net/core/
H A Ddatagram.c412 int i, copy = start - offset, start_off = offset, n; in __skb_datagram_iter() local
415 /* Copy header. */ in __skb_datagram_iter()
416 if (copy > 0) { in __skb_datagram_iter()
417 if (copy > len) in __skb_datagram_iter()
418 copy = len; in __skb_datagram_iter()
420 skb->data + offset, copy, data, to); in __skb_datagram_iter()
422 if (n != copy) in __skb_datagram_iter()
424 if ((len -= copy) == 0) in __skb_datagram_iter()
428 /* Copy paged appendix. Hmm... why does this look so complicated? */ in __skb_datagram_iter()
436 if ((copy = end - offset) > 0) { in __skb_datagram_iter()
[all …]
/openbmc/linux/Documentation/staging/
H A Dlzo.rst27 - 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 …]
/openbmc/linux/arch/m68k/atari/
H A Dtime.c98 #define COPY(v) val->v=(mste_rtc.v & 0xf) in mste_read() macro
100 COPY(sec_ones) ; COPY(sec_tens) ; COPY(min_ones) ; in mste_read()
101 COPY(min_tens) ; COPY(hr_ones) ; COPY(hr_tens) ; in mste_read()
102 COPY(weekday) ; COPY(day_ones) ; COPY(day_tens) ; in mste_read()
103 COPY(mon_ones) ; COPY(mon_tens) ; COPY(year_ones) ; in mste_read()
104 COPY(year_tens) ; in mste_read()
107 #undef COPY in mste_read()
112 #define COPY(v) mste_rtc.v=val->v in mste_write() macro
114 COPY(sec_ones) ; COPY(sec_tens) ; COPY(min_ones) ; in mste_write()
115 COPY(min_tens) ; COPY(hr_ones) ; COPY(hr_tens) ; in mste_write()
[all …]
/openbmc/qemu/tests/unit/
H A Dcheck-block-qdict.c18 QDict *dict, *copy; in qdict_defaults_test() local
21 copy = qdict_new(); in qdict_defaults_test()
28 qdict_copy_default(copy, dict, "foo"); in qdict_defaults_test()
29 g_assert_cmpstr(qdict_get_str(copy, "foo"), ==, "abc"); in qdict_defaults_test()
30 qdict_set_default_str(copy, "bar", "xyz"); in qdict_defaults_test()
31 qdict_copy_default(copy, dict, "bar"); in qdict_defaults_test()
32 g_assert_cmpstr(qdict_get_str(copy, "bar"), ==, "xyz"); in qdict_defaults_test()
34 qobject_unref(copy); in qdict_defaults_test()
529 QDict *copy; in qdict_rename_keys_test() local
543 copy = qdict_clone_shallow(dict); in qdict_rename_keys_test()
[all …]
/openbmc/linux/arch/sh/kernel/
H A Dsignal_32.c120 #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(regs[9]); in restore_sigcontext()
126 COPY(regs[10]); COPY(regs[11]); in restore_sigcontext()
127 COPY(regs[12]); COPY(regs[13]); in restore_sigcontext()
128 COPY(regs[14]); COPY(regs[15]); in restore_sigcontext()
129 COPY(gbr); COPY(mach); in restore_sigcontext()
[all …]
/openbmc/u-boot/lib/zlib/
H A Dinflate.c103 unsigned copy, dist; in updatewindow() local
122 /* copy state->wsize or less output bytes into the circular window */ in updatewindow()
123 copy = out - strm->avail_out; in updatewindow()
124 if (copy >= state->wsize) { in updatewindow()
131 if (dist > copy) dist = copy; in updatewindow()
132 zmemcpy(state->window + state->write, strm->next_out - copy, dist); in updatewindow()
133 copy -= dist; in updatewindow()
134 if (copy) { in updatewindow()
135 zmemcpy(state->window, strm->next_out - copy, copy); in updatewindow()
136 state->write = copy; in updatewindow()
[all …]
/openbmc/linux/Documentation/admin-guide/device-mapper/
H 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 …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dcow.py2 # BitBake Tests for Copy-on-Write (cow.py)
80 a = COWDictBase.copy()
93 Test the copy of copies
97 b = COWDictBase.copy()
98 c = COWDictBase.copy()
110 # test copy
111 b_2 = b.copy()
112 c_2 = c.copy()
132 # test copy of the copy
133 c_3 = c_2.copy()
[all …]
/openbmc/linux/drivers/s390/cio/
H A Ddevice_status.c73 * Copy valid bits from the extended control word to device irb.
79 * Copy extended control bit if it is valid... yes there in ccw_device_accumulate_ecw()
90 /* Copy concurrent sense / model dependent information. */ in ccw_device_accumulate_ecw()
111 * Copy valid bits from the extended status word to device irb.
124 /* Copy last path used mask. */ in ccw_device_accumulate_esw()
127 /* Copy subchannel logout information if esw is of format 0. */ in ccw_device_accumulate_esw()
131 /* Copy extended status flags. */ in ccw_device_accumulate_esw()
134 * Copy fields that have a meaning for channel data check in ccw_device_accumulate_esw()
140 /* Copy ancillary report bit. */ in ccw_device_accumulate_esw()
142 /* Copy field-validity-flags. */ in ccw_device_accumulate_esw()
[all …]
/openbmc/linux/lib/zlib_inflate/
H A Dinflate.c123 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, copy); in zlib_updatewindow()
141 state->write = copy; in zlib_updatewindow()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtx-gen2.c57 int copy = IWL_FIRST_TB_SIZE - copy_size; in iwl_pcie_gen2_enqueue_hcmd() local
59 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()
149 /* and copy the data that needs to be copied */ in iwl_pcie_gen2_enqueue_hcmd()
151 int copy; in iwl_pcie_gen2_enqueue_hcmd() local
156 /* copy everything if not nocopy/dup */ in iwl_pcie_gen2_enqueue_hcmd()
159 copy = cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd()
[all …]
/openbmc/linux/mm/
H A Dprocess_vm_access.c20 * @pages: array of pointers to pages we want to copy
22 * @len: number of bytes to copy
23 * @iter: where to copy to/from locally
24 * @vm_write: 0 means copy from, 1 means copy to
33 /* Do the copy for each page */ in process_vm_rw_pages()
36 size_t copy = PAGE_SIZE - offset; in process_vm_rw_pages() local
39 if (copy > len) in process_vm_rw_pages()
40 copy = len; in process_vm_rw_pages()
43 copied = copy_page_from_iter(page, offset, copy, iter); in process_vm_rw_pages()
45 copied = copy_page_to_iter(page, offset, copy, iter); in process_vm_rw_pages()
[all …]
/openbmc/linux/arch/s390/kvm/
H A Dgaccess.h106 * @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 @len bytes from @data (kernel space) to @ga (guest address).
[all …]
/openbmc/qemu/docs/devel/migration/
H A Dvfio.rst10 Migration of VFIO devices consists of two phases: the optional pre-copy phase,
11 and the stop-and-copy phase. The pre-copy phase is iterative and allows to
13 transferred. The iterative pre-copy phase of migration allows for the guest to
15 helps to reduce the total downtime of the VM. VFIO devices opt-in to pre-copy
19 When pre-copy is supported, it's possible to further reduce downtime by
21 VFIO migration uAPI defines "initial bytes" as part of its pre-copy data stream
54 remaining pre-copy data that the vendor driver has yet to save for the VFIO
62 active only when the VFIO device is in pre-copy states.
65 vendor driver during iterative pre-copy phase.
121 By default, dirty pages are tracked during pre-copy as well as stop-and-copy
[all …]
/openbmc/linux/drivers/s390/block/
H A Ddasd_devmap.c52 struct dasd_copy_relation *copy; member
606 dev_warn(&device->cdev->dev, "Unable to query copy relation status\n"); in dasd_devmap_get_pprc_status()
615 dev_warn(&device->cdev->dev, "Error during copy relation status query\n"); in dasd_devmap_get_pprc_status()
650 * check the consistency of a specified copy relation by checking
653 * - is the given device part of a copy pair setup
662 struct dasd_copy_relation *copy) in dasd_devmap_check_copy_relation() argument
675 dev_warn(&device->cdev->dev, "Device not part of a copy relation\n"); in dasd_devmap_check_copy_relation()
682 dev_warn(&device->cdev->dev, "Copy pair secondary is setup as primary\n"); in dasd_devmap_check_copy_relation()
688 "Primary device %s does not match copy pair status primary device %04x\n", in dasd_devmap_check_copy_relation()
696 dev_warn(&device->cdev->dev, "Copy pair primary is setup as secondary\n"); in dasd_devmap_check_copy_relation()
[all …]
/openbmc/linux/arch/xtensa/lib/
H A Dmemcopy.S61 * 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 2 bytes
[all …]
/openbmc/linux/drivers/block/
H A Dbrd.c127 size_t copy; in copy_to_brd_setup() local
130 copy = min_t(size_t, n, PAGE_SIZE - offset); in copy_to_brd_setup()
134 if (copy < n) { in copy_to_brd_setup()
135 sector += copy >> SECTOR_SHIFT; in copy_to_brd_setup()
142 * Copy n bytes from src to the brd starting at sector. Does not sleep.
150 size_t copy; in copy_to_brd() local
152 copy = min_t(size_t, n, PAGE_SIZE - offset); in copy_to_brd()
157 memcpy(dst + offset, src, copy); in copy_to_brd()
160 if (copy < n) { in copy_to_brd()
161 src += copy; in copy_to_brd()
[all …]
/openbmc/linux/fs/nfsd/
H A Dnfs4proc.c58 "Enable inter server to server copy offload. Default: false");
408 * field isn't set for some reason, throw warning and just copy in set_change_info()
957 * If we do a zero copy read, then a client will see read data in nfsd4_read()
961 * To ensure proper ordering, we therefore turn off zero copy if in nfsd4_read()
1272 static void nfs4_put_copy(struct nfsd4_copy *copy) in nfs4_put_copy() argument
1274 if (!refcount_dec_and_test(&copy->refcount)) in nfs4_put_copy()
1276 atomic_dec(&copy->cp_nn->pending_async_copies); in nfs4_put_copy()
1277 kfree(copy->cp_src); in nfs4_put_copy()
1278 kfree(copy); in nfs4_put_copy()
1281 static void nfsd4_stop_copy(struct nfsd4_copy *copy) in nfsd4_stop_copy() argument
[all …]
/openbmc/qemu/tests/migration/guestperf/
H A Dcomparison.py16 # You should have received a copy of the GNU Lesser General Public
42 # Looking at use of post-copy in relation to bandwidth
44 Comparison("post-copy-bandwidth", scenarios = [
45 Scenario("post-copy-bw-100mbs",
47 Scenario("post-copy-bw-300mbs",
49 Scenario("post-copy-bw-1gbs",
51 Scenario("post-copy-bw-10gbs",
53 Scenario("post-copy-bw-100gbs",
58 # Looking at effect of starting post-copy at different
60 Comparison("post-copy-iters", scenarios = [
[all …]
/openbmc/linux/arch/ia64/lib/
H A Dmemcpy.S9 * in2: number of bytes to copy
46 * the more general copy routine handling arbitrary
68 mov dst=in0 // copy because of rotation
69 shr.u cnt=in2,3 // number of 8-byte words to copy
83 mov src=in1 // copy because of rotation
115 * copy loop. This performs relatively poorly on Itanium, but it doesn't
221 // At this point, dst is aligned to 8 bytes and there at least 16-7=9 bytes left to copy:
224 sub cnt=in2,cnt // cnt = number of bytes left to copy
232 shr.u t2=cnt,3 // t2 = number of 8-byte words left to copy
244 mov pr=cnt,0x38 // set (p5,p4,p3) to # of bytes last-word bytes to copy
[all …]
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DGlide27 …3.1 COPYING - You may copy and distribute verbatim copies of the Program's Source Code as you rece…
29 …ately publish on each copy an appropriate copyright notice (3dfx Interactive, Inc. 1999), a notice…
35 …ll recipients of the Program a copy of this License along with the Program or instructions on how …
37 …ROGRAM/DERIVATIVE WORKS - You may modify your copy or copies of the Program or any portion of it, …
39 …opriately publish on each copy of a Derivative Work an appropriate copyright notice, a notice that…
41 …s of the Derivative Work a copy of this License along with the Derivative Work or instructions on …
51 … FOR A FULL TEXT OF THE DISTRIBUTION AND NON-WARRANTY PROVISIONS (REQUEST COPY FROM INFO@3DFX.COM)…
59 …DE TRADEMARK WITHOUT PRIOR WRITTEN PERMISSION OF 3DFX INTERACTIVE, INC. A COPY OF THIS LICENSE MAY…
69 …of physically performing source distribution, a complete machine-readable copy of the correspondin…
75copy from a designated place, then offering equivalent access to copy the source code from the sam…
[all …]

12345678910>>...314