/linux/sound/core/ |
H A D | init.c | 782 size_t copy = count > sizeof(card->id) - 1 ? in id_store() local 787 for (idx = 0; idx < copy; idx++) { in id_store() 792 memcpy(buf1, buf, copy); in id_store() 793 buf1[copy] = '\0'; in id_store()
|
/linux/lib/ |
H A D | fortify_kunit.c | 1007 char *copy; in fortify_test_kmemdup() local 1011 copy = kmemdup(src, len, GFP_KERNEL); in fortify_test_kmemdup() 1012 KUNIT_EXPECT_NOT_NULL(test, copy); in fortify_test_kmemdup() 1014 kfree(copy); in fortify_test_kmemdup() 1017 copy = kmemdup(src, len - 1, GFP_KERNEL); in fortify_test_kmemdup() 1018 KUNIT_EXPECT_NOT_NULL(test, copy); in fortify_test_kmemdup() 1020 kfree(copy); in fortify_test_kmemdup() 1023 copy = kmemdup(src, 1, GFP_KERNEL); in fortify_test_kmemdup() 1024 KUNIT_EXPECT_NOT_NULL(test, copy); in fortify_test_kmemdup() 1026 kfree(copy); in fortify_test_kmemdup() [all …]
|
/linux/fs/bcachefs/ |
H A D | btree_iter.c | 285 struct btree_iter copy; in bch2_btree_iter_verify_ret() local 302 bch2_trans_iter_init(trans, ©, iter->btree_id, iter->pos, in bch2_btree_iter_verify_ret() 305 prev = bch2_btree_iter_prev(©); in bch2_btree_iter_verify_ret() 328 bch2_trans_iter_exit(trans, ©); in bch2_btree_iter_verify_ret()
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 965 &drm->ttm.copy); in nouveau_bo_move_init() 967 ret = mthd->init(chan, drm->ttm.copy.handle); in nouveau_bo_move_init() 969 nvif_object_dtor(&drm->ttm.copy); in nouveau_bo_move_init()
|
/linux/usr/ |
H A D | Makefile | 6 compress-y := copy 40 compress-y := copy
|
/linux/scripts/ |
H A D | Makefile.lib | 316 $(call cmd,copy)
|
/linux/net/tipc/ |
H A D | socket.c | 1889 int rc, err, hlen, dlen, copy; in tipc_recvmsg() local 1936 copy = min_t(int, dlen - offset, buflen); in tipc_recvmsg() 1937 rc = skb_copy_datagram_msg(skb, hlen + offset, m, copy); in tipc_recvmsg() 1940 if (unlikely(offset + copy < dlen)) { in tipc_recvmsg() 1943 skb_cb->bytes_read = offset + copy; in tipc_recvmsg() 1954 copy = 0; in tipc_recvmsg() 1967 copy = 0; in tipc_recvmsg() 1997 return rc ? rc : copy; in tipc_recvmsg() 2021 int offset, required, copy, copied = 0; in tipc_recvstream() local 2068 copy = min_t(int, dlen - offset, buflen - copied); in tipc_recvstream() [all …]
|
/linux/net/phonet/ |
H A D | pep.c | 1287 goto copy; in pep_recvmsg() 1305 copy: in pep_recvmsg()
|
/linux/net/mptcp/ |
H A D | protocol.c | 1240 size_t copy; in mptcp_sendmsg_frag() local 1257 copy = info->size_goal; in mptcp_sendmsg_frag() 1260 if (skb && copy > skb->len) { in mptcp_sendmsg_frag() 1281 copy -= skb->len; in mptcp_sendmsg_frag() 1294 copy = mptcp_check_allowed_size(msk, ssk, data_seq, copy); in mptcp_sendmsg_frag() 1295 if (copy == 0) { in mptcp_sendmsg_frag() 1305 copy = 1; in mptcp_sendmsg_frag() 1308 copy = min_t(size_t, copy, info->limit - info->sent); in mptcp_sendmsg_frag() 1309 if (!sk_wmem_schedule(ssk, copy)) { in mptcp_sendmsg_frag() 1315 skb_frag_size_add(&skb_shinfo(skb)->frags[i - 1], copy); in mptcp_sendmsg_frag() [all …]
|
/linux/net/ax25/ |
H A D | af_ax25.c | 262 struct sk_buff *copy; in ax25_send_to_raw() local 271 if ((copy = skb_clone(skb, GFP_ATOMIC)) == NULL) in ax25_send_to_raw() 273 if (sock_queue_rcv_skb(s->sk, copy) != 0) in ax25_send_to_raw() 274 kfree_skb(copy); in ax25_send_to_raw()
|
/linux/kernel/trace/ |
H A D | trace_events_user.c | 2286 struct iov_iter copy; in user_events_write_core() local 2301 copy = *i; in user_events_write_core() 2304 probe_func(user, ©, tpdata, &faulted); in user_events_write_core()
|
/linux/include/net/ |
H A D | sock.h | 2159 int copy, int offset) in skb_do_copy_data_nocache() argument 2163 if (!csum_and_copy_from_iter_full(to, copy, &csum, from)) in skb_do_copy_data_nocache() 2167 if (!copy_from_iter_full_nocache(to, copy, from)) in skb_do_copy_data_nocache() 2169 } else if (!copy_from_iter_full(to, copy, from)) in skb_do_copy_data_nocache() 2176 struct iov_iter *from, int copy) in skb_add_data_nocache() argument 2180 err = skb_do_copy_data_nocache(sk, skb, from, skb_put(skb, copy), in skb_add_data_nocache() 2181 copy, offset); in skb_add_data_nocache() 2191 int off, int copy) in skb_copy_to_page_nocache() argument 2196 copy, skb->len); in skb_copy_to_page_nocache() 2200 skb_len_add(skb, copy); in skb_copy_to_page_nocache() [all …]
|
/linux/fs/unicode/ |
H A D | Makefile | 36 $(call if_changed,copy)
|
/linux/fs/nfsd/ |
H A D | trace.h | 2116 const struct nfsd4_copy *copy 2118 TP_ARGS(copy), 2136 const stateid_t *src_stp = ©->cp_src_stateid; 2137 const stateid_t *dst_stp = ©->cp_dst_stateid; 2139 __entry->intra = test_bit(NFSD4_COPY_F_INTRA, ©->cp_flags); 2140 __entry->async = !test_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); 2149 __entry->src_cp_pos = copy->cp_src_pos; 2150 __entry->dst_cp_pos = copy->cp_dst_pos; 2151 __entry->cp_count = copy->cp_count; 2152 __assign_sockaddr(addr, © [all...] |
H A D | xdr4.h | 718 static inline void nfsd4_copy_set_sync(struct nfsd4_copy *copy, bool sync) in nfsd4_copy_set_sync() argument 721 set_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); in nfsd4_copy_set_sync() 723 clear_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); in nfsd4_copy_set_sync() 726 static inline bool nfsd4_copy_is_sync(const struct nfsd4_copy *copy) in nfsd4_copy_is_sync() argument 728 return test_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); in nfsd4_copy_is_sync() 731 static inline bool nfsd4_copy_is_async(const struct nfsd4_copy *copy) in nfsd4_copy_is_async() argument 733 return !test_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); in nfsd4_copy_is_async() 736 static inline bool nfsd4_ssc_is_inter(const struct nfsd4_copy *copy) in nfsd4_ssc_is_inter() argument 738 return !test_bit(NFSD4_COPY_F_INTRA, ©->cp_flags); in nfsd4_ssc_is_inter() 832 struct nfsd4_copy copy; member
|
H A D | state.h | 723 int nfs4_init_copy_state(struct nfsd_net *nn, struct nfsd4_copy *copy); 724 void nfs4_free_copy_state(struct nfsd4_copy *copy);
|
H A D | nfs4xdr.c | 2008 struct nfsd4_copy *copy = &u->copy; in nfsd4_decode_copy() local 2013 memset(copy, 0, sizeof(*copy)); in nfsd4_decode_copy() 2014 status = nfsd4_decode_stateid4(argp, ©->cp_src_stateid); in nfsd4_decode_copy() 2017 status = nfsd4_decode_stateid4(argp, ©->cp_dst_stateid); in nfsd4_decode_copy() 2020 if (xdr_stream_decode_u64(argp->xdr, ©->cp_src_pos) < 0) in nfsd4_decode_copy() 2022 if (xdr_stream_decode_u64(argp->xdr, ©->cp_dst_pos) < 0) in nfsd4_decode_copy() 2024 if (xdr_stream_decode_u64(argp->xdr, ©->cp_count) < 0) in nfsd4_decode_copy() 2031 nfsd4_copy_set_sync(copy, sync); in nfsd4_decode_copy() 2035 copy->cp_src = svcxdr_tmpalloc(argp, sizeof(*copy->cp_src)); in nfsd4_decode_copy() 2036 if (copy->cp_src == NULL) in nfsd4_decode_copy() [all …]
|
H A D | nfs4state.c | 994 int nfs4_init_copy_state(struct nfsd_net *nn, struct nfsd4_copy *copy) in nfs4_init_copy_state() argument 996 return nfs4_init_cp_state(nn, ©->cp_stateid, NFS4_COPY_STID); in nfs4_init_copy_state() 1020 void nfs4_free_copy_state(struct nfsd4_copy *copy) in nfs4_free_copy_state() argument 1024 if (copy->cp_stateid.cs_type != NFS4_COPY_STID) in nfs4_free_copy_state() 1026 nn = net_generic(copy->cp_clp->net, nfsd_net_id); in nfs4_free_copy_state() 1029 copy->cp_stateid.cs_stid.si_opaque.so_id); in nfs4_free_copy_state()
|
H A D | nfs4proc.c | 1287 static void nfs4_put_copy(struct nfsd4_copy *copy) in nfs4_put_copy() argument 1289 if (!refcount_dec_and_test(©->refcount)) in nfs4_put_copy() 1291 kfree(copy->cp_src); in nfs4_put_copy() 1292 kfree(copy); in nfs4_put_copy() 1295 static void nfsd4_stop_copy(struct nfsd4_copy *copy) in nfsd4_stop_copy() argument 1297 if (!test_and_set_bit(NFSD4_COPY_F_STOPPED, ©->cp_flags)) in nfsd4_stop_copy() 1298 kthread_stop(copy->copy_task); in nfsd4_stop_copy() 1299 nfs4_put_copy(copy); in nfsd4_stop_copy() 1304 struct nfsd4_copy *copy = NULL; in nfsd4_get_copy() local 1308 copy = list_first_entry(&clp->async_copies, struct nfsd4_copy, in nfsd4_get_copy() [all …]
|
/linux/drivers/net/ |
H A D | virtio_net.c | 724 unsigned int copy, hdr_len, hdr_padded_len; in page_to_skb() local 757 /* copy small packet so we can reuse these pages for small data */ in page_to_skb() 766 copy = len; in page_to_skb() 768 copy = ETH_HLEN; in page_to_skb() 769 skb_put_data(skb, p, copy); in page_to_skb() 771 len -= copy; in page_to_skb() 772 offset += copy; in page_to_skb() 1246 /* We copy the packet for XDP in the following cases: 3868 /* virtnet_fill_stats - copy the stats to qstats or ethtool -S
|
/linux/arch/x86/realmode/rm/ |
H A D | Makefile | 13 wakeup-objs += copy.o bioscall.o regs.o
|
/linux/arch/x86/boot/ |
H A D | Makefile | 23 setup-y += a20.o bioscall.o cmdline.o copy.o cpu.o cpuflags.o cpucheck.o
|
/linux/Documentation/trace/ |
H A D | ring-buffer-map.rst | 12 as no memory copy is necessary. The application mapping the ring-buffer becomes 40 each subbuf). It is also not possible to use snapshot and causes splice to copy
|
/linux/Documentation/kbuild/ |
H A D | makefiles.rst | 1298 it, wrap it in bootstrapping code, and copy the resulting files 1406 in an init section in the image. Platform code *must* copy the 1512 If an architecture uses a verbatim copy of a header from
|
/linux/kernel/ |
H A D | sys.c | 1298 size_t copy; in override_release() 1308 copy = clamp_t(size_t, len, 1, sizeof(buf)); in override_release() 1309 copy = scnprintf(buf, copy, "2.6.%u%s", v, rest); in override_release() 1310 ret = copy_to_user(release, buf, copy + 1); in override_release() 2365 /* anon_vma has its own copy */ in prctl_set_vma() 1295 size_t copy; override_release() local
|