Home
last modified time | relevance | path

Searched refs:copied (Results 1 – 25 of 224) sorted by relevance

123456789

/freebsd-14.2/sys/contrib/openzfs/lib/libspl/
H A Dstrlcpy.c42 size_t copied; in strlcpy() local
48 copied = len - 1; in strlcpy()
50 copied = slen; in strlcpy()
51 (void) memcpy(dst, src, copied); in strlcpy()
52 dst[copied] = '\0'; in strlcpy()
H A Dstrlcat.c45 size_t copied; in strlcat() local
53 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in strlcat()
54 (void) memcpy(dst + l1, src, copied); in strlcat()
55 dst[l1+copied] = '\0'; in strlcat()
/freebsd-14.2/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_zcopy.c287 int copied = rx_sa->used - rx_sa->reported; in sdp_post_rdma_rd_compl() local
294 rx_sa->reported += copied; in sdp_post_rdma_rd_compl()
557 int copied; in sdp_rdma_to_iovec() local
599 copied = rx_sa->umem->length; in sdp_rdma_to_iovec()
601 sdp_update_iov_used(sk, iov, copied); in sdp_rdma_to_iovec()
602 rx_sa->used += copied; in sdp_rdma_to_iovec()
603 atomic_add(copied, &ssk->rcv_nxt); in sdp_rdma_to_iovec()
604 *used = copied; in sdp_rdma_to_iovec()
721 int copied = 0; in sdp_sendmsg_zcopy() local
762 copied = bytes_to_copy - iov->iov_len; in sdp_sendmsg_zcopy()
[all …]
/freebsd-14.2/sys/dev/cxgbe/tom/
H A Dt4_ddp.c166 long copied; in ddp_complete_one() local
469 long copied; in insert_ddp_data() local
649 long copied; in handle_ddp_data_aio() local
1024 long copied; in do_ddp_tcb_rpl() local
1065 if (copied == 0) { in do_ddp_tcb_rpl()
1096 long copied; in handle_ddp_close() local
2286 long copied; in aio_ddp_cancel_one() local
2294 if (copied != 0) in aio_ddp_cancel_one()
2379 if (copied != 0) { in aio_ddp_requeue()
2501 copied = 0; in aio_ddp_requeue()
[all …]
/freebsd-14.2/sys/dev/drm2/
H A Ddrm_crtc.c1256 copied = 0; in drm_mode_getresources()
1263 copied++; in drm_mode_getresources()
1270 copied = 0; in drm_mode_getresources()
1280 copied++; in drm_mode_getresources()
1289 copied++; in drm_mode_getresources()
1297 copied = 0; in drm_mode_getresources()
1524 copied++; in drm_mode_getconnector()
1545 copied++; in drm_mode_getconnector()
1644 copied++; in drm_mode_getplane_res()
2973 int copied; in drm_mode_getproperty_ioctl() local
[all …]
/freebsd-14.2/contrib/ncurses/progs/
H A Dtabs.c304 char *copied = trimmed_tab_list(value); in add_to_tab_list() local
306 if (copied != 0 && *copied != '\0') { in add_to_tab_list()
308 size_t need = 1 + strlen(copied); in add_to_tab_list()
310 if (*copied == ',') in add_to_tab_list()
329 _nc_STRCAT(result, copied, need); in add_to_tab_list()
333 free(copied); in add_to_tab_list()
/freebsd-14.2/contrib/elftoolchain/libelftc/
H A Delftc_string_table.c238 size_t copied, offset, length, newsize; in elftc_string_table_image() local
262 s += length, r += copied) { in elftc_string_table_image()
264 copied = 0; in elftc_string_table_image()
284 copied = length; in elftc_string_table_image()
289 memmove(r, s, copied); in elftc_string_table_image()
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Ddmu_os.c99 int tocpy, copied, thiscpy; in dmu_write_pages() local
117 for (copied = 0; copied < tocpy; copied += PAGESIZE) { in dmu_write_pages()
120 thiscpy = MIN(PAGESIZE, tocpy - copied); in dmu_write_pages()
/freebsd-14.2/sys/netinet/
H A Daccf_http.c281 int ccleft, copied; in soishttpconnected() local
294 copied = 0; in soishttpconnected()
307 tocopy = (NCHRS - ccleft) - copied; in soishttpconnected()
311 switch (copied++) { in soishttpconnected()
/freebsd-14.2/crypto/openssl/doc/man3/
H A DCMS_get1_ReceiptRequest.pod49 The signedContentIdentifier is copied to B<pcid>. If the B<allOrFirstTier>
50 option of B<receiptsFrom> is used its value is copied to B<pallorfirst>
51 otherwise the B<receiptList> field is copied to B<plist>. The B<receiptsTo>
52 parameter is copied to B<prto>.
H A DSSL_get_client_random.pod28 total number of bytes that were actually copied. If B<outlen> is
42 B<len> should be provided at B<in>. The supplied master key is copied by the
83 return the number of bytes actually copied, which will be less than or equal to
H A DSSL_CTX_set_record_padding_callback.pod34 for TLS 1.3 records. The value set in B<ctx> is copied to a new SSL by SSL_new().
40 set in B<ctx> is copied to a new SSL by SSL_new().
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dclonefile.c318 ssize_t copied = cf_copy_file_range(sfd, &soff, dfd, &doff, len, 0); in do_copyfilerange() local
319 if (copied < 0) { in do_copyfilerange()
332 if (copied != len) { in do_copyfilerange()
334 "requested=%lu; copied=%lu\n", len, copied); in do_copyfilerange()
/freebsd-14.2/usr.sbin/iovctl/
H A Diovctl.c124 size_t copied, size; in open_device() local
137 copied = strlcpy(dev, dev_name, size); in open_device()
139 copied = snprintf(dev, size, "/dev/iov/%s", dev_name); in open_device()
142 if (copied >= size) in open_device()
/freebsd-14.2/contrib/ncurses/ncurses/base/
H A Dlib_overlay.c170 bool copied = FALSE; in copywin() local
189 copied = TRUE; in copywin()
216 if (copied) in copywin()
/freebsd-14.2/crypto/openssl/crypto/dso/
H A Ddso_lib.c232 char *copied; in DSO_set_filename() local
243 copied = OPENSSL_strdup(filename); in DSO_set_filename()
244 if (copied == NULL) { in DSO_set_filename()
249 dso->filename = copied; in DSO_set_filename()
/freebsd-14.2/contrib/libcbor/oss-fuzz/
H A Dcbor_load_fuzzer.cc80 cbor_item_t *copied = cbor_copy(item); in LLVMFuzzerTestOneInput() local
81 cbor_decref(&copied); in LLVMFuzzerTestOneInput()
/freebsd-14.2/contrib/ncurses/ncurses/tinfo/
H A Dread_termcap.c1039 char *copied = 0; in _nc_read_termcap_entry() local
1058 if ((copied = strdup(get_termpath())) != 0) { in _nc_read_termcap_entry()
1059 for (cp = copied; *cp; cp++) { in _nc_read_termcap_entry()
1062 else if (cp == copied || cp[-1] == '\0') { in _nc_read_termcap_entry()
1143 if (copied != 0) in _nc_read_termcap_entry()
1144 free(copied); in _nc_read_termcap_entry()
/freebsd-14.2/contrib/llvm-project/llvm/include/
H A Dmodule.modulemap.build1 // This is copied into the build area for a $src != $build compilation.
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_uio.c197 int copied = 0; in zfs_uiomove_bvec_rq() local
244 copied = 1; /* We copied some data */ in zfs_uiomove_bvec_rq()
250 if (!copied) { in zfs_uiomove_bvec_rq()
/freebsd-14.2/contrib/netcat/
H A DFREEBSD-upgrade7 nc(1) is very small and most of code are just copied as-is from OpenBSD. With a
/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dscatterlist.h575 size_t len, copied; in sg_pcopy_from_buffer() local
582 copied = 0; in sg_pcopy_from_buffer()
608 copied += len; in sg_pcopy_from_buffer()
617 return (copied); in sg_pcopy_from_buffer()
/freebsd-14.2/bin/sh/
H A Dnodetypes46 # other - any type that can be copied by assignment
47 # temp - a field that doesn't have to be copied when the node is copied
/freebsd-14.2/usr.bin/bmake/tests/
H A DREADME116 are copied from the source to the working directory
119 may be copied from/to sub-directories. The sub-directory
138 it is automatically copied to the working directory.
/freebsd-14.2/contrib/ntp/
H A DREADME.versions24 be copied into the ntp-stable and the cycle will repeat.

123456789