Searched refs:copy (Results 76 - 100 of 384) sorted by relevance

1234567891011>>

/linux-master/net/ipv6/
H A Dip6_output.c1421 int copy; local
1564 copy = (cork->length <= mtu ? mtu : maxfraglen) - skb->len;
1565 if (copy < length)
1566 copy = maxfraglen - skb->len;
1568 if (copy <= 0) {
1633 copy = datalen - transhdrlen - fraggap - pagedlen;
1634 /* [!] NOTE: copy may be negative if pagedlen>0
1637 if (copy < 0 && !(flags & MSG_SPLICE_PAGES)) {
1682 if (copy > 0 &&
1684 copy, fragga
[all...]
/linux-master/tools/testing/selftests/ptp/
H A Dtestptp.mk15 # You should have received a copy of the GNU General Public License
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_benchmark.c5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
59 DRM_ERROR("Unknown copy method\n");
122 if (rdev->asic->copy.dma) {
133 if (rdev->asic->copy.blit) {
H A Dni_dma.c5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
160 if ((rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) ||
161 (rdev->asic->copy.copy_ring_index == CAYMAN_RING_TYPE_DMA1_INDEX))
256 if ((rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) ||
257 (rdev->asic->copy.copy_ring_index == CAYMAN_RING_TYPE_DMA1_INDEX))
309 * @src: src addr where to copy from
/linux-master/tools/hv/
H A Dhv_fcopy_daemon.c3 * An implementation of host to guest copy functionality for Linux.
157 struct hv_do_fcopy copy; member in union:__anon224
240 error = hv_copy_data(&buffer.copy);
/linux-master/lib/crypto/mpi/
H A Dmpi-mod.c36 mpi_barrett_t mpi_barrett_init(MPI m, int copy) argument
46 if (copy) {
/linux-master/block/
H A Dblk-map.c41 * bio_copy_from_iter - copy all pages from iov_iter to bio
72 * bio_copy_to_iter - copy all pages from bio to iov_iter
117 * don't copy into a random user address space, just free
147 * We need to do a deep copy of the iov_iter including the iovecs.
216 /* This is the copy-in part of SG_DXFER_TO_FROM_DEV. */
464 * bio_copy_kern - copy kernel address into bio
466 * @data: pointer to buffer to copy
471 * copy the kernel address into a bio suitable for io to a block
593 * offset would create a gap, fallback to copy.
626 * Data will be mapped directly for zero copy
636 bool copy = false, map_bvec = false; local
[all...]
H A Dbio-integrity.c109 struct bio_vec *copy = &bip->bip_vec[1]; local
114 iov_iter_bvec(&iter, ITER_DEST, copy, nr_vecs, bytes);
118 bio_integrity_unpin_bvec(copy, nr_vecs, true);
322 bool copy; local
345 copy = !iov_iter_is_aligned(&iter, align, align);
354 copy = true;
356 if (copy)
/linux-master/security/selinux/ss/
H A Dhashtab.c140 int (*copy)(struct hashtab_node *new,
163 rc = copy(tmp, cur, args);
/linux-master/net/rxrpc/
H A Dsendmsg.c362 size_t copy = min_t(size_t, txb->space, msg_data_left(msg)); local
364 _debug("add %zu", copy);
366 copy, &msg->msg_iter))
369 txb->space -= copy;
370 txb->len += copy;
371 txb->offset += copy;
372 copied += copy;
374 call->tx_total_len -= copy;
805 * allows buffer-to-packet encrypt-and-copy to be performed.
/linux-master/tools/testing/selftests/mm/
H A Duffd-common.c409 * from copy or zeropage, so it may be a source of bugs. Trigger an
578 /* real retval in ufdio_copy.copy */
579 if (uffdio_copy->copy != -EEXIST)
581 (int64_t)uffdio_copy->copy);
584 (int64_t)uffdio_copy->copy);
613 uffdio_copy.copy = 0;
615 /* real retval in ufdio_copy.copy */
616 if (uffdio_copy.copy != -EEXIST)
618 (int64_t)uffdio_copy.copy);
620 } else if (uffdio_copy.copy !
[all...]
/linux-master/fs/nfs/
H A Dnfs42proc.c184 struct nfs4_copy_state *copy, *tmp_copy = NULL, *iter; local
189 copy = kzalloc(sizeof(struct nfs4_copy_state), GFP_KERNEL);
190 if (!copy)
206 kfree(copy);
207 copy = tmp_copy;
211 memcpy(&copy->stateid, &res->write_res.stateid, NFS4_STATEID_SIZE);
212 init_completion(&copy->completion);
213 copy->parent_dst_state = dst_ctx->state;
214 copy->parent_src_state = src_ctx->state;
216 list_add_tail(&copy
[all...]
H A Dcallback_proc.c711 struct nfs4_copy_state *copy, *tmp_copy; local
714 copy = kzalloc(sizeof(struct nfs4_copy_state), GFP_KERNEL);
715 if (!copy)
736 memcpy(&copy->stateid, &args->coa_stateid, NFS4_STATEID_SIZE);
737 nfs4_copy_cb_args(copy, args);
738 list_add_tail(&copy->copies, &cps->clp->pending_cb_stateids);
740 kfree(copy);
/linux-master/tools/bootconfig/
H A Dmain.c266 char *copy = strdup(buf); local
270 if (!copy)
275 show_xbc_error(copy, msg, pos);
276 free(copy);
/linux-master/ipc/
H A Dmsg.c1047 struct msg_msg *copy; local
1050 * Create dummy message to copy real message to.
1052 copy = load_msg(buf, bufsz);
1053 if (!IS_ERR(copy))
1054 copy->m_ts = bufsz;
1055 return copy;
1058 static inline void free_copy(struct msg_msg *copy) argument
1060 if (copy)
1061 free_msg(copy);
1069 static inline void free_copy(struct msg_msg *copy) argument
1104 struct msg_msg *msg, *copy = NULL; local
[all...]
/linux-master/include/linux/
H A Drbtree_augmented.h29 void (*copy)(struct rb_node *old, struct rb_node *new); member in struct:rb_augment_callbacks
129 .copy = RBNAME ## _copy, \
273 augment->copy(node, successor);
299 augment->copy(node, successor);
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_devlink.c15 struct nfp_eth_table_port *copy)
23 memcpy(copy, eth_port, sizeof(*eth_port));
31 struct nfp_eth_table_port *copy)
35 return nfp_devlink_fill_eth_port(port, copy);
14 nfp_devlink_fill_eth_port(struct nfp_port *port, struct nfp_eth_table_port *copy) argument
29 nfp_devlink_fill_eth_port_from_id(struct nfp_pf *pf, struct devlink_port *dl_port, struct nfp_eth_table_port *copy) argument
/linux-master/arch/x86/boot/
H A Dvideo.c279 int copy = (xs < saved.x) ? xs : saved.x; local
280 copy_to_fs(dst, src, copy*sizeof(u16));
281 dst += copy*sizeof(u16);
/linux-master/tools/pci/
H A Dpcitest.c36 bool copy; member in struct:pci_test
140 if (test->copy) {
216 test->copy = true;
/linux-master/drivers/gpu/drm/ci/xfails/
H A Dupdate-xfails.py95 for job_id in xfails[job_name].copy().keys():
150 fails_txt_original = fails_txt.copy()
151 flakes_txt_original = flakes_txt.copy()
/linux-master/arch/arc/kernel/
H A Dsmp.c353 unsigned long __maybe_unused copy; local
365 copy = pending = xchg(this_cpu_ptr(&ipi_data), 0);
373 pr_info("IPI with bogus msg %ld in %ld\n", msg, copy);
/linux-master/fs/fat/
H A Ddir.c1206 unsigned long size, copy; local
1227 i = n = copy = 0;
1239 copy = min(size, sb->s_blocksize);
1242 memcpy(bhs[n]->b_data, slots, copy);
1246 slots += copy;
1247 size -= copy;
1255 memset(bhs[n]->b_data + copy, 0, sb->s_blocksize - copy);
1256 offset = copy - sizeof(struct msdos_dir_entry);
1345 int copy local
1356 int copy = min_t(int, sb->s_blocksize - offset, size); local
[all...]
/linux-master/drivers/usb/usbip/
H A Dstub_tx.c241 unsigned int copy = urb->actual_length; local
245 if (copy == 0)
248 if (copy < sg->length)
249 size = copy;
257 copy -= size;
/linux-master/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_crtc.c308 struct rzg2l_du_crtc_state *copy; local
314 copy = kmemdup(state, sizeof(*state), GFP_KERNEL);
315 if (!copy)
318 __drm_atomic_helper_crtc_duplicate_state(crtc, &copy->state);
320 return &copy->state;
/linux-master/kernel/gcov/
H A Dfs.c41 * @unloaded_info: accumulated copy of profiling data sets for unloaded
252 * either a data set for a loaded object file or a data set copy in case
285 * open() implementation for gcov data files. Create a copy of the profiling
298 * Read from a profiling data copy to minimize reference tracking
417 char *copy; local
419 copy = kstrdup(path, GFP_KERNEL);
420 if (!copy)
422 old_ext = strrchr(copy, '.');
426 target = kasprintf(GFP_KERNEL, "%s/%s.%s", dir, copy, ext);
428 target = kasprintf(GFP_KERNEL, "%s.%s", copy, ex
[all...]

Completed in 205 milliseconds

1234567891011>>