/linux-4.19.296/include/linux/ |
D | regset.h | 266 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyout() local 270 memcpy(*kbuf, data, copy); in user_regset_copyout() 271 *kbuf += copy; in user_regset_copyout() 272 } else if (__copy_to_user(*ubuf, data, copy)) in user_regset_copyout() 275 *ubuf += copy; in user_regset_copyout() 276 *pos += copy; in user_regset_copyout() 277 *count -= copy; in user_regset_copyout() 291 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin() local 295 memcpy(data, *kbuf, copy); in user_regset_copyin() 296 *kbuf += copy; in user_regset_copyin() [all …]
|
D | rbtree_augmented.h | 41 void (*copy)(struct rb_node *old, struct rb_node *new); member 106 .copy = rbname ## _copy, \ 217 augment->copy(node, successor); in __rb_erase_augmented() 243 augment->copy(node, successor); in __rb_erase_augmented()
|
D | cdrom.h | 193 __u8 copy : 1; member 208 __u8 copy : 1;
|
/linux-4.19.296/lib/zlib_inflate/ |
D | inflate.c | 104 unsigned copy, dist; in zlib_updatewindow() local 109 copy = out - strm->avail_out; in zlib_updatewindow() 110 if (copy >= state->wsize) { in zlib_updatewindow() 117 if (dist > copy) dist = copy; in zlib_updatewindow() 118 memcpy(state->window + state->write, strm->next_out - copy, dist); in zlib_updatewindow() 119 copy -= dist; in zlib_updatewindow() 120 if (copy) { in zlib_updatewindow() 121 memcpy(state->window, strm->next_out - copy, copy); in zlib_updatewindow() 122 state->write = copy; in zlib_updatewindow() 326 unsigned copy; /* number of stored or match bytes to copy */ in zlib_inflate() local [all …]
|
/linux-4.19.296/drivers/misc/mic/scif/ |
D | scif_fd.c | 356 struct scifioctl_copy copy; in scif_fdioctl() local 358 if (copy_from_user(©, argp, sizeof(copy))) { in scif_fdioctl() 362 err = scif_readfrom(priv, copy.loffset, copy.len, copy.roffset, in scif_fdioctl() 363 copy.flags); in scif_fdioctl() 371 struct scifioctl_copy copy; in scif_fdioctl() local 373 if (copy_from_user(©, argp, sizeof(copy))) { in scif_fdioctl() 377 err = scif_writeto(priv, copy.loffset, copy.len, copy.roffset, in scif_fdioctl() 378 copy.flags); in scif_fdioctl() 386 struct scifioctl_copy copy; in scif_fdioctl() local 388 if (copy_from_user(©, argp, sizeof(copy))) { in scif_fdioctl() [all …]
|
/linux-4.19.296/fs/dlm/ |
D | midcomms.c | 37 unsigned copy = len; in copy_from_cb() local 39 if ((copy + offset) > limit) in copy_from_cb() 40 copy = limit - offset; in copy_from_cb() 41 memcpy(dst, base + offset, copy); in copy_from_cb() 42 len -= copy; in copy_from_cb() 44 memcpy(dst + copy, base, len); in copy_from_cb()
|
/linux-4.19.296/lib/ |
D | iov_iter.c | 154 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local 170 copy = min(bytes, iov->iov_len - skip); in copy_page_to_iter_iovec() 172 if (IS_ENABLED(CONFIG_HIGHMEM) && !fault_in_pages_writeable(buf, copy)) { in copy_page_to_iter_iovec() 177 left = copyout(buf, from, copy); in copy_page_to_iter_iovec() 178 copy -= left; in copy_page_to_iter_iovec() 179 skip += copy; in copy_page_to_iter_iovec() 180 from += copy; in copy_page_to_iter_iovec() 181 bytes -= copy; in copy_page_to_iter_iovec() 186 copy = min(bytes, iov->iov_len); in copy_page_to_iter_iovec() 187 left = copyout(buf, from, copy); in copy_page_to_iter_iovec() [all …]
|
D | vsprintf.c | 2279 int copy = read; in vsnprintf() local 2281 if (copy > end - str) in vsnprintf() 2282 copy = end - str; in vsnprintf() 2283 memcpy(str, old_fmt, copy); in vsnprintf() 2753 int copy = read; in bstr_printf() local 2755 if (copy > end - str) in bstr_printf() 2756 copy = end - str; in bstr_printf() 2757 memcpy(str, old_fmt, copy); in bstr_printf() 2802 int copy, len; in bstr_printf() local 2820 len = copy = strlen(args); in bstr_printf() [all …]
|
/linux-4.19.296/block/ |
D | blk-map.c | 60 gfp_t gfp_mask, bool copy) in __blk_rq_map_user_iov() argument 66 if (copy) in __blk_rq_map_user_iov() 118 bool copy = false; in blk_rq_map_user_iov() local 128 copy = true; in blk_rq_map_user_iov() 130 copy = true; in blk_rq_map_user_iov() 132 copy = queue_virt_boundary(q) & iov_iter_gap_alignment(iter); in blk_rq_map_user_iov() 136 ret =__blk_rq_map_user_iov(rq, map_data, &i, gfp_mask, copy); in blk_rq_map_user_iov()
|
/linux-4.19.296/fs/nfs/ |
D | nfs42proc.c | 142 struct nfs4_copy_state *copy, *tmp_copy; in handle_async_copy() local 147 copy = kzalloc(sizeof(struct nfs4_copy_state), GFP_NOFS); in handle_async_copy() 148 if (!copy) in handle_async_copy() 163 kfree(copy); in handle_async_copy() 164 copy = tmp_copy; in handle_async_copy() 168 memcpy(©->stateid, &res->write_res.stateid, NFS4_STATEID_SIZE); in handle_async_copy() 169 init_completion(©->completion); in handle_async_copy() 170 copy->parent_state = ctx->state; in handle_async_copy() 172 list_add_tail(©->copies, &server->ss_copies); in handle_async_copy() 175 status = wait_for_completion_interruptible(©->completion); in handle_async_copy() [all …]
|
D | callback_proc.c | 682 struct nfs4_copy_state *copy, *tmp_copy; in nfs4_callback_offload() local 685 copy = kzalloc(sizeof(struct nfs4_copy_state), GFP_NOFS); in nfs4_callback_offload() 686 if (!copy) in nfs4_callback_offload() 707 memcpy(©->stateid, &args->coa_stateid, NFS4_STATEID_SIZE); in nfs4_callback_offload() 708 nfs4_copy_cb_args(copy, args); in nfs4_callback_offload() 709 list_add_tail(©->copies, &cps->clp->pending_cb_stateids); in nfs4_callback_offload() 711 kfree(copy); in nfs4_callback_offload()
|
/linux-4.19.296/include/trace/events/ |
D | smbus.h | 54 goto copy; 58 goto copy; 63 copy: 163 goto copy; 167 goto copy; 172 copy:
|
/linux-4.19.296/drivers/misc/mic/vop/ |
D | vop_vringh.c | 755 static int _vop_virtio_copy(struct vop_vdev *vdev, struct mic_copy_desc *copy) in _vop_virtio_copy() argument 758 u32 iovcnt = copy->iovcnt; in _vop_virtio_copy() 760 struct iovec __user *u_iov = copy->iov; in _vop_virtio_copy() 762 struct vop_vringh *vvr = &vdev->vvr[copy->vr_idx]; in _vop_virtio_copy() 770 copy->out_len = 0; in _vop_virtio_copy() 794 MIC_VRINGH_READ, copy->vr_idx, &out_len); in _vop_virtio_copy() 802 copy->out_len += out_len; in _vop_virtio_copy() 805 !MIC_VRINGH_READ, copy->vr_idx, &out_len); in _vop_virtio_copy() 813 copy->out_len += out_len; in _vop_virtio_copy() 827 if (*head != USHRT_MAX && copy->out_len && copy->update_used) { in _vop_virtio_copy() [all …]
|
/linux-4.19.296/include/sound/ |
D | pcm-indirect.h | 49 snd_pcm_indirect_copy_t copy) in snd_pcm_indirect_playback_transfer() argument 77 copy(substream, rec, bytes); in snd_pcm_indirect_playback_transfer() 118 snd_pcm_indirect_copy_t copy) in snd_pcm_indirect_capture_transfer() argument 145 copy(substream, rec, bytes); in snd_pcm_indirect_capture_transfer()
|
D | compress_driver.h | 113 int (*copy)(struct snd_compr_stream *stream, char __user *buf, member
|
/linux-4.19.296/fs/fat/ |
D | dir.c | 1209 unsigned long size, copy; in fat_add_new_entries() local 1230 i = n = copy = 0; in fat_add_new_entries() 1242 copy = min(size, sb->s_blocksize); in fat_add_new_entries() 1245 memcpy(bhs[n]->b_data, slots, copy); in fat_add_new_entries() 1249 slots += copy; in fat_add_new_entries() 1250 size -= copy; in fat_add_new_entries() 1258 memset(bhs[n]->b_data + copy, 0, sb->s_blocksize - copy); in fat_add_new_entries() 1259 offset = copy - sizeof(struct msdos_dir_entry); in fat_add_new_entries() 1348 int copy = min_t(int, sb->s_blocksize - offset, size); in fat_add_entries() local 1349 memcpy(bhs[i]->b_data + offset, slots, copy); in fat_add_entries() [all …]
|
D | fatent.c | 382 int err, n, copy; in fat_mirror_bhs() local 385 for (copy = 1; copy < sbi->fats; copy++) { in fat_mirror_bhs() 386 sector_t backup_fat = sbi->fat_length * copy; in fat_mirror_bhs()
|
/linux-4.19.296/fs/overlayfs/ |
D | Kconfig | 54 The inodes index feature prevents breaking of lower hardlinks on copy 75 The NFS export feature creates an index on copy up of every file and 109 bool "Overlayfs: turn on metadata only copy up feature by default" 114 copy up only metadata where appropriate and data copy up will
|
/linux-4.19.296/include/net/ |
D | sock.h | 1991 int copy, int offset) in skb_do_copy_data_nocache() argument 1995 if (!csum_and_copy_from_iter_full(to, copy, &csum, from)) in skb_do_copy_data_nocache() 1999 if (!copy_from_iter_full_nocache(to, copy, from)) in skb_do_copy_data_nocache() 2001 } else if (!copy_from_iter_full(to, copy, from)) in skb_do_copy_data_nocache() 2008 struct iov_iter *from, int copy) in skb_add_data_nocache() argument 2012 err = skb_do_copy_data_nocache(sk, skb, from, skb_put(skb, copy), in skb_add_data_nocache() 2013 copy, offset); in skb_add_data_nocache() 2023 int off, int copy) in skb_copy_to_page_nocache() argument 2028 copy, skb->len); in skb_copy_to_page_nocache() 2032 skb->len += copy; in skb_copy_to_page_nocache() [all …]
|
/linux-4.19.296/drivers/virt/vboxguest/ |
D | Kconfig | 8 copy-and-paste, seamless mode and OpenGL pass-through.
|
/linux-4.19.296/fs/gfs2/ |
D | xattr.c | 683 unsigned int copy; in ea_write() local 703 copy = data_len > sdp->sd_jbsize ? sdp->sd_jbsize : in ea_write() 705 memcpy(bh->b_data + mh_size, data, copy); in ea_write() 706 if (copy < sdp->sd_jbsize) in ea_write() 707 memset(bh->b_data + mh_size + copy, 0, in ea_write() 708 sdp->sd_jbsize - copy); in ea_write() 711 data += copy; in ea_write() 712 data_len -= copy; in ea_write()
|
/linux-4.19.296/drivers/s390/block/ |
D | dasd_fba.c | 515 char *copy = kmem_cache_alloc(dasd_page_cache, in dasd_fba_build_cp_regular() local 517 if (copy && rq_data_dir(req) == WRITE) in dasd_fba_build_cp_regular() 518 memcpy(copy + bv.bv_offset, dst, bv.bv_len); in dasd_fba_build_cp_regular() 519 if (copy) in dasd_fba_build_cp_regular() 520 dst = copy + bv.bv_offset; in dasd_fba_build_cp_regular()
|
/linux-4.19.296/include/uapi/linux/ |
D | userfaultfd.h | 219 __s64 copy; member
|
/linux-4.19.296/drivers/xen/ |
D | gntdev.c | 1086 struct ioctl_gntdev_grant_copy copy; in gntdev_ioctl_grant_copy() local 1091 if (copy_from_user(©, u, sizeof(copy))) in gntdev_ioctl_grant_copy() 1097 for (i = 0; i < copy.count; i++) { in gntdev_ioctl_grant_copy() 1100 if (copy_from_user(&seg, ©.segments[i], sizeof(seg))) { in gntdev_ioctl_grant_copy() 1105 ret = gntdev_grant_copy_seg(&batch, &seg, ©.segments[i].status); in gntdev_ioctl_grant_copy()
|
/linux-4.19.296/drivers/thunderbolt/ |
D | ctl.h | 88 bool (*copy)(struct tb_cfg_request *req, const struct ctl_pkg *pkg); member
|