Searched refs:copy (Results 126 - 150 of 384) sorted by relevance

1234567891011>>

/linux-master/fs/debugfs/
H A Dfile.c964 char *str, *copy = NULL; local
974 copy = kmalloc(len, GFP_KERNEL);
975 if (!copy) {
980 copy_len = strscpy(copy, str, len);
983 kfree(copy);
987 copy[copy_len] = '\n';
989 ret = simple_read_from_buffer(user_buf, count, ppos, copy, len);
990 kfree(copy);
/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Ddma.c32 u32 true_len, hdr_len = 0, copy, frag; local
55 copy = (true_len <= skb_tailroom(skb)) ? true_len : hdr_len + 8;
56 frag = true_len - copy;
58 skb_put_data(skb, data, copy);
59 data += copy;
/linux-master/arch/m68k/ifpsp060/
H A Dos.S70 | statements instead of (more expensive) copy{in,out} calls, if
92 move.b (%a0)+,(%a1)+ | copy 1 byte
97 move.b (%a0)+,%d1 | copy 1 byte
125 move.b (%a0)+,(%a1)+ | copy 1 byte
132 move.b %d1,(%a1)+ | copy 1 byte
/linux-master/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_plane.c687 struct rcar_du_plane_state *copy; local
693 copy = kmemdup(state, sizeof(*state), GFP_KERNEL);
694 if (copy == NULL)
697 __drm_atomic_helper_plane_duplicate_state(plane, &copy->state);
699 return &copy->state;
/linux-master/include/linux/
H A Dskmsg.h32 DECLARE_BITMAP(copy, MAX_MSG_FRAGS + 2);
239 if (test_bit(msg->sg.start, msg->sg.copy)) {
258 __set_bit(msg->sg.end, msg->sg.copy);
267 __set_bit(i, msg->sg.copy);
269 __clear_bit(i, msg->sg.copy);
/linux-master/net/wireless/
H A Dutil.c746 * When reusing framents, copy some data to the head to simplify
1843 unsigned int copy; local
1869 copy = min_t(unsigned int, attr_remaining, iedatalen);
1870 if (copy && desired_attr) {
1871 desired_len += copy;
1873 memcpy(out, iedata, min(bufsize, copy));
1874 out += min(bufsize, copy);
1875 bufsize -= min(bufsize, copy);
1879 if (copy == attr_remaining)
1883 attr_remaining -= copy;
[all...]
/linux-master/drivers/nvdimm/
H A Dbus.c1101 u32 in_size, copy; local
1111 copy = min_t(u32, ND_CMD_MAX_ENVELOPE - in_len, in_size);
1113 copy = 0;
1114 if (copy && copy_from_user(&in_env[in_len], p + in_len, copy)) {
1138 u32 copy; local
1147 copy = min_t(u32, ND_CMD_MAX_ENVELOPE - out_len, out_size);
1149 copy = 0;
1150 if (copy && copy_from_user(&out_env[out_len],
1151 p + in_len + out_len, copy)) {
[all...]
/linux-master/net/mptcp/
H A Dprotocol.c1237 size_t copy; local
1254 copy = info->size_goal;
1257 if (skb && copy > skb->len) {
1278 copy -= skb->len;
1291 copy = mptcp_check_allowed_size(msk, ssk, data_seq, copy);
1292 if (copy == 0) {
1302 copy = 1;
1305 copy = min_t(size_t, copy, inf
1752 do_copy_data_nocache(struct sock *sk, int copy, struct iov_iter *from, char *to) argument
[all...]
/linux-master/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c356 u32 copy; local
365 copy = sizeof(magic) - ctx->comp_magic_cnt;
366 if (*pp + sz - p < copy)
367 copy = *pp + sz - p;
369 memcpy(header + ctx->comp_magic_cnt, p, copy);
370 ctx->comp_magic_cnt += copy;
372 p += copy;
386 u32 copy = sizeof(struct fwht_cframe_hdr) - ctx->header_size; local
388 if (*pp + sz - p < copy)
389 copy
619 u32 copy = max_to_copy - ctx->comp_size; local
[all...]
/linux-master/drivers/crypto/
H A Dhifn_795x.c1413 unsigned int copy, drest = *drestp, nbytes = *nbytesp; local
1420 copy = min3(drest, size, dst->length);
1422 size -= copy;
1423 drest -= copy;
1424 nbytes -= copy;
1426 pr_debug("%s: copy: %u, size: %u, drest: %u, nbytes: %u.\n",
1427 __func__, copy, size, drest, nbytes);
1443 unsigned int nbytes = req->cryptlen, offset, copy, diff; local
1471 copy = slen & ~(HIFN_D_DST_DALIGN - 1);
1500 copy
1619 unsigned int srest = *srestp, nbytes = *nbytesp, copy; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c1287 int copy; local
1292 copy = min_t(int, size, sizeof(to->first.data));
1293 memcpy(to->first.data, from, copy);
1294 size -= copy;
1295 from += copy;
1304 copy = min_t(int, size, MLX5_CMD_DATA_BLOCK_SIZE);
1306 memcpy(block->data, from, copy);
1307 from += copy;
1308 size -= copy;
1320 int copy; local
[all...]
/linux-master/drivers/dma/xilinx/
H A Dxilinx_dma.c1234 * xilinx_dma_calc_copysize - Calculate the amount of data to copy
1244 size_t copy; local
1246 copy = min_t(size_t, size - done,
1249 if ((copy + done < size) &&
1255 copy = rounddown(copy,
1258 return copy;
2193 size_t copy; local
2225 copy = xilinx_dma_calc_copysize(chan, sg_dma_len(sg),
2233 hw->control = copy;
2293 size_t copy, sg_used; local
2403 size_t copy; local
[all...]
/linux-master/arch/m68k/ifpsp060/src/
H A Disp.S419 mov.w EXC_ISR(%a6),EXC_CC(%a6) # store cc copy on stack
918 mov.w %d0,%d1 # make a copy
1040 mov.l %a0,%d0 # copy no. bytes
1051 mov.l %a0,%d0 # copy no. bytes
1062 mov.l %a0,%d0 # copy no. bytes
1073 mov.l %a0,%d0 # copy no. bytes
1084 mov.l %a0,%d0 # copy no. bytes
1095 mov.l %a0,%d0 # copy no. bytes
1106 mov.l %a0,%d0 # copy no. bytes
1119 mov.l %a0,%d0 # copy n
[all...]
/linux-master/arch/s390/kernel/
H A Ddebug.c34 #define ALL_AREAS 0 /* copy all debug areas */
35 #define NO_AREAS 1 /* copy no debug areas */
324 * - copy debug-info
332 /* get a consistent copy of the debug areas */
552 /* To copy all the areas is only needed, if we have a view which */
710 debug_info_t *copy; local
718 copy = debug_info_alloc("", pages_per_area, nr_areas, id->buf_size,
720 if (!copy) {
733 /* Replace static trace area with dynamic copy. */
735 debug_events_append(copy, i
[all...]
/linux-master/arch/m68k/fpsp040/
H A Dbinstr.S84 movel %d2,%d4 |copy the fraction before muls
89 bfextu %d2{#0:#3},%d1 |copy 3 msbs of d2 into d1
91 bfextu %d3{#0:#3},%d6 |copy 3 msbs of d3 into d6
H A Ddecbin.S124 | 1. Copy bcd value in memory for use as a working copy.
140 | (*) FP_SCR1: working copy of original bcd value
141 | (*) L_SCR1: copy of original exponent word
187 | ( ) FP_SCR1: working copy of original bcd value
188 | ( ) L_SCR1: copy of original exponent word
276 | ( ) FP_SCR1: working copy of original bcd value
277 | ( ) L_SCR1: copy of original exponent word
312 movel %d1,%d0 |copy counter to d2
360 movel %d1,%d0 |copy counter to d0
396 | (*) d3: FPCR work copy
[all...]
/linux-master/net/rds/
H A Dmessage.c78 LIST_HEAD(copy);
82 list_splice(&q->zcookie_head, &copy);
86 list_for_each_entry_safe(info, tmp, &copy, rs_zcookie_next) {
374 * now allocate and copy in the data payload.
429 /* now allocate and copy in the data payload. */
/linux-master/net/smc/
H A Dsmc_rx.c6 * copy new RMBE data into user space
338 * @msg: copy data to receive buffer
339 * @pipe: copy data to pipe if set - indicates splice() call
388 goto copy;
395 goto copy;
433 copy:
/linux-master/fs/smb/server/
H A Dtransport_tcp.c122 int copy = min(bytes, iov->iov_len); local
124 bytes -= copy;
125 base += copy;
/linux-master/fs/nfsd/
H A Dtrace.h2022 const struct nfsd4_copy *copy
2024 TP_ARGS(copy),
2042 const stateid_t *src_stp = &copy->cp_src_stateid;
2043 const stateid_t *dst_stp = &copy->cp_dst_stateid;
2045 __entry->intra = test_bit(NFSD4_COPY_F_INTRA, &copy->cp_flags);
2046 __entry->async = !test_bit(NFSD4_COPY_F_SYNCHRONOUS, &copy->cp_flags);
2055 __entry->src_cp_pos = copy->cp_src_pos;
2056 __entry->dst_cp_pos = copy->cp_dst_pos;
2057 __entry->cp_count = copy->cp_count;
2058 __assign_sockaddr(addr, &copy
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Devergreen_dma.c5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
94 * evergreen_copy_dma - copy pages using the DMA engine
104 * registered as the asic copy callback.
114 int ring_index = rdev->asic->copy.dma_ring_index;
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-pagefault.c129 uffdio_copy.copy = 0;
/linux-master/arch/arm/mach-omap2/
H A Dsleep34xx.S92 mov r12, r0 @ copy secure service ID in r12
158 * - 'might' have to copy address, load and jump to it
413 mov r12, r0 @ copy secure Service ID in r12
422 mov r12, r0 @ copy secure Service ID in r12
436 mov r12, r0 @ copy service ID in r12
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dkvm-again.sh71 echo " --link hard|soft|copy"
124 checkarg --link "hard|soft|copy" "$#" "$2" 'hard\|soft\|copy' '^--'
126 copy)
179 echo "Cannot copy from $oldrun to $rundir."
/linux-master/tools/perf/util/
H A Dheader.h133 int (*copy)(struct feat_copier *fc, int feat, struct feat_writer *fw); member in struct:feat_copier

Completed in 282 milliseconds

1234567891011>>