/linux-master/fs/debugfs/ |
H A D | file.c | 964 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 D | dma.c | 32 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 D | os.S | 70 | 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 D | rcar_du_plane.c | 687 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, ©->state); 699 return ©->state;
|
/linux-master/include/linux/ |
H A D | skmsg.h | 32 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 D | util.c | 746 * 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 D | bus.c | 1101 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 D | protocol.c | 1237 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 D | vicodec-core.c | 356 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 D | hifn_795x.c | 1413 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 D | cmd.c | 1287 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 D | xilinx_dma.c | 1234 * 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 D | isp.S | 419 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 D | debug.c | 34 #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 D | binstr.S | 84 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 D | decbin.S | 124 | 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 D | message.c | 78 LIST_HEAD(copy); 82 list_splice(&q->zcookie_head, ©); 86 list_for_each_entry_safe(info, tmp, ©, 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 D | smc_rx.c | 6 * 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 D | transport_tcp.c | 122 int copy = min(bytes, iov->iov_len); local 124 bytes -= copy; 125 base += copy;
|
/linux-master/fs/nfsd/ |
H A D | trace.h | 2022 const struct nfsd4_copy *copy 2024 TP_ARGS(copy), 2042 const stateid_t *src_stp = ©->cp_src_stateid; 2043 const stateid_t *dst_stp = ©->cp_dst_stateid; 2045 __entry->intra = test_bit(NFSD4_COPY_F_INTRA, ©->cp_flags); 2046 __entry->async = !test_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->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, © [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | evergreen_dma.c | 5 * 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 D | tm-signal-pagefault.c | 129 uffdio_copy.copy = 0;
|
/linux-master/arch/arm/mach-omap2/ |
H A D | sleep34xx.S | 92 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 D | kvm-again.sh | 71 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 D | header.h | 133 int (*copy)(struct feat_copier *fc, int feat, struct feat_writer *fw); member in struct:feat_copier
|