/linux-master/net/appletalk/ |
H A D | ddp.c | 938 int i, copy; local 941 if ((copy = start - offset) > 0) { 942 if (copy > len) 943 copy = len; 944 sum = atalk_sum_partial(skb->data + offset, copy, sum); 945 if ((len -= copy) == 0) 948 offset += copy; 958 if ((copy = end - offset) > 0) { 961 if (copy > len) 962 copy [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | tx.c | 955 int copy = IWL_FIRST_TB_SIZE - copy_size; local 957 if (copy > cmdlen[i]) 958 copy = cmdlen[i]; 959 cmdlen[i] -= copy; 960 cmddata[i] += copy; 961 copy_size += copy; 1057 /* and copy the data that needs to be copied */ 1059 int copy; local 1064 /* copy everything if not nocopy/dup */ 1067 copy [all...] |
/linux-master/fs/nfsd/ |
H A D | xdr4.h | 698 static inline void nfsd4_copy_set_sync(struct nfsd4_copy *copy, bool sync) argument 701 set_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); 703 clear_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); 706 static inline bool nfsd4_copy_is_sync(const struct nfsd4_copy *copy) argument 708 return test_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); 711 static inline bool nfsd4_copy_is_async(const struct nfsd4_copy *copy) argument 713 return !test_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); 716 static inline bool nfsd4_ssc_is_inter(const struct nfsd4_copy *copy) argument 718 return !test_bit(NFSD4_COPY_F_INTRA, ©->cp_flags); 810 struct nfsd4_copy copy; member in union:nfsd4_op::nfsd4_op_u [all...] |
/linux-master/sound/core/ |
H A D | compress_offload.c | 251 size_t copy; local 266 copy = runtime->buffer_size - app_pointer; 267 if (copy_from_user(dstn, buf, copy)) 269 if (copy_from_user(runtime->buffer, buf + copy, count - copy)) 307 if (stream->ops->copy) { 309 retval = stream->ops->copy(stream, cbuf, avail); 361 if (stream->ops->copy) 362 retval = stream->ops->copy(stream, buf, avail); 525 if (stream->ops->copy) { [all...] |
/linux-master/net/kcm/ |
H A D | kcmsock.c | 752 size_t copy, copied = 0; local 833 copy = msg_data_left(msg); 834 if (!sk_wmem_schedule(sk, copy)) 837 err = skb_splice_from_iter(skb, &msg->msg_iter, copy, 845 copy = err; 847 sk_wmem_queued_add(sk, copy); 848 sk_mem_charge(sk, copy); 851 head->truesize += copy; 853 copy = min_t(int, msg_data_left(msg), 855 if (!sk_wmem_schedule(sk, copy)) [all...] |
/linux-master/drivers/usb/usbip/ |
H A D | usbip_common.c | 605 /* does not need all members. but copy all simply. */ 768 int copy; local 794 copy = size; 798 if (copy < sg->length) 799 recv_size = copy; 809 copy -= recv; 812 if (!copy)
|
/linux-master/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_vsp.c | 402 struct rcar_du_vsp_plane_state *copy; local 407 copy = kzalloc(sizeof(*copy), GFP_KERNEL); 408 if (copy == NULL) 411 __drm_atomic_helper_plane_duplicate_state(plane, ©->state); 413 return ©->state;
|
/linux-master/net/ipv4/ |
H A D | tcp_bpf.c | 515 u32 copy, osize; local 522 copy = msg_data_left(msg); 533 err = sk_msg_alloc(sk, msg_tx, msg_tx->sg.size + copy, msg_tx->sg.end - 1); 538 copy = msg_tx->sg.size - osize; 542 copy); 548 copied += copy;
|
H A D | tcp.c | 967 int tcp_wmem_schedule(struct sock *sk, int copy) argument 971 if (likely(sk_wmem_schedule(sk, copy))) 972 return copy; 980 sk_forced_mem_schedule(sk, min(left, copy)); 981 return min(copy, sk->sk_forward_alloc); 1136 ssize_t copy = 0; local 1140 copy = size_goal - skb->len; 1142 if (copy <= 0 || !tcp_skb_can_collapse_to(skb)) { 1163 copy = size_goal; 1174 if (copy > msg_data_lef [all...] |
/linux-master/tools/testing/selftests/ |
H A D | lib.mk | 93 rsync -aq --copy-unsafe-links $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(TEST_GEN_MODS_DIR) $(OUTPUT); \ 114 $(if $(INSTALL_LIST),rsync -a --copy-unsafe-links $(INSTALL_LIST) $(INSTALL_PATH)/) 119 $(if $(INSTALL_LIST),rsync -a --copy-unsafe-links $(INSTALL_LIST)/*.ko $(INSTALL_PATH)/$(INSTALL_LIST))
|
/linux-master/tools/testing/selftests/rcutorture/bin/ |
H A D | torture.sh | 634 grep -e '-k[ac]san$' > $T/xz-todo-copy 635 sort $T/xz-todo-all $T/xz-todo-copy | uniq -u > $T/xz-todo 667 if test -s $T/xz-todo-copy 673 for i in `cat $T/xz-todo-copy` 676 find . -name vmlinux -print > $T/xz-todo-copy-vmlinux 677 for v in `cat $T/xz-todo-copy-vmlinux`
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | r600_dma.c | 5 * copy of this software and associated documentation files (the "Software"), 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 102 if (rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) 179 if (rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) 431 * r600_copy_dma - copy pages using the DMA engine 441 * registered as the asic copy callback. 450 int ring_index = rdev->asic->copy.dma_ring_index;
|
/linux-master/arch/alpha/lib/ |
H A D | ev6-memcpy.S | 34 mov $16, $0 # E : copy dest to return 35 ble $18, $nomoredata # U : done with the copy? 58 ble $18, $nomoredata # U : done with the copy?
|
H A D | ev6-copy_user.S | 12 * contains the right "bytes left to copy" value (and that it is updated 13 * only _after_ a successful copy). There is also some rather minor 50 subq $18, 32, $1 # .. .. E. .. : Is this going to be a small copy? 194 * For small copies (or the tail of a larger copy), do a very simple byte loop. 197 * $0 - remaining number of bytes left to copy 215 subq $0,1,$0 # .. E .. .. : change count _after_ copy
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | fault.c | 94 size_t copy, datalen = 1280; local 101 copy = min(len, datalen - 1); 102 if (copy_from_user(data, buf, copy)) {
|
/linux-master/arch/parisc/lib/ |
H A D | lusercopy.S | 45 copy %r25,%r28 65 * This code is based on a C-implementation of a copy routine written by 69 * conditions. In the optimal case, we copy by loops that copy 32- or 16-bytes 72 * cases by falling back to a byte-at-a-time copy. 75 * often >10x faster than a simple byte-at-a-time copy, even for strangely 114 /* short copy with less than 16 bytes? */ 252 copy src,save_src 253 copy dst,save_dst 254 copy le [all...] |
/linux-master/arch/x86/realmode/rm/ |
H A D | Makefile | 22 wakeup-objs += copy.o bioscall.o regs.o
|
/linux-master/security/selinux/ss/ |
H A D | hashtab.h | 140 int (*copy)(struct hashtab_node *new,
|
/linux-master/drivers/thunderbolt/ |
H A D | ctl.h | 64 * @copy: Function used to copy the incoming packet to @response 88 bool (*copy)(struct tb_cfg_request *req, const struct ctl_pkg *pkg); member in struct:tb_cfg_request
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_sp.c | 210 pipe->copy.bin.bytes_available = out_frame->data_bytes; 276 pipe->copy.raw.height = out_frame->frame_info.res.height; 277 pipe->copy.raw.width = out_frame->frame_info.res.width; 278 pipe->copy.raw.padded_width = out_frame->frame_info.padded_width; 279 pipe->copy.raw.raw_bit_depth = out_frame->frame_info.raw_bit_depth; 280 pipe->copy.raw.max_input_width = max_input_width; 347 pipe->copy.raw.height = out_frame->frame_info.res.height; 348 pipe->copy.raw.width = out_frame->frame_info.res.width; 349 pipe->copy.raw.padded_width = out_frame->frame_info.padded_width; 350 pipe->copy [all...] |
/linux-master/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 907 struct atmel_hlcdc_plane_state *copy; local 909 copy = kmemdup(state, sizeof(*state), GFP_KERNEL); 910 if (!copy) 913 if (atmel_hlcdc_plane_alloc_dscrs(p, copy)) { 914 kfree(copy); 918 if (copy->base.fb) 919 drm_framebuffer_get(copy->base.fb); 921 return ©->base;
|
/linux-master/arch/x86/entry/vdso/ |
H A D | vdso2c.h | 8 static void BITSFUNC(copy)(FILE *outfile, const unsigned char *data, size_t len) function 39 BITSFUNC(copy)(outfile, data + offset, len);
|
/linux-master/include/linux/ |
H A D | cdrom.h | 198 __u8 copy : 1; member in struct:__anon3308 213 __u8 copy : 1;
|
/linux-master/arch/arm/nwfpe/ |
H A D | entry.S | 97 str r5, [sp, #S_PC] @ update PC copy in regs 99 mov r0, r6 @ save a copy
|
/linux-master/drivers/dma/ |
H A D | mmp_pdma.c | 449 size_t copy = 0; local 474 copy = min_t(size_t, len, PDMA_MAX_DESC_BYTES); 478 new->desc.dcmd = chan->dcmd | (DCMD_LENGTH & copy); 491 len -= copy; 494 dma_src += copy; 496 dma_dst += copy; 498 dma_src += copy; 499 dma_dst += copy;
|