Home
last modified time | relevance | path

Searched refs:tocopy (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/netinet/
H A Daccf_http.c307 int tocopy; in soishttpconnected() local
309 tocopy = (NCHRS - ccleft) - copied; in soishttpconnected()
310 src = mtod(m, char *) + (m->m_len - tocopy); in soishttpconnected()
312 while (tocopy--) { in soishttpconnected()
H A Dsctp_bsd_addr.c489 int tocopy, this_copy; in sctp_copy_out_packet_log() local
493 tocopy = length; in sctp_copy_out_packet_log()
/f-stack/app/redis-5.0.5/deps/linenoise/
H A Dlinenoise.c1138 int tocopy = history_len; in linenoiseHistorySetMaxLen() local
1144 if (len < tocopy) { in linenoiseHistorySetMaxLen()
1147 for (j = 0; j < tocopy-len; j++) free(history[j]); in linenoiseHistorySetMaxLen()
1148 tocopy = len; in linenoiseHistorySetMaxLen()
1151 memcpy(new,history+(history_len-tocopy), sizeof(char*)*tocopy); in linenoiseHistorySetMaxLen()
/f-stack/freebsd/kern/
H A Dkern_umtx.c3537 int count, error, i, pos, tocopy; in __umtx_op_nwake_private_native() local
3541 for (count = uap->val, pos = 0; count > 0; count -= tocopy, in __umtx_op_nwake_private_native()
3542 pos += tocopy) { in __umtx_op_nwake_private_native()
3543 tocopy = MIN(count, BATCH_SIZE); in __umtx_op_nwake_private_native()
3544 error = copyin(upp + pos, uaddrs, tocopy * sizeof(char *)); in __umtx_op_nwake_private_native()
3547 for (i = 0; i < tocopy; ++i) { in __umtx_op_nwake_private_native()
3559 int count, error, i, pos, tocopy; in __umtx_op_nwake_private_compat32() local
3563 for (count = uap->val, pos = 0; count > 0; count -= tocopy, in __umtx_op_nwake_private_compat32()
3564 pos += tocopy) { in __umtx_op_nwake_private_compat32()
3565 tocopy = MIN(count, BATCH_SIZE); in __umtx_op_nwake_private_compat32()
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vnops_os.c4151 size_t tocopy; in zfs_putpages() local
4237 for (i = 0; len > 0; off += tocopy, len -= tocopy, i++) { in zfs_putpages()
4238 tocopy = len > PAGE_SIZE ? PAGE_SIZE : len; in zfs_putpages()
4240 dmu_write(zfsvfs->z_os, zp->z_id, off, tocopy, va, tx); in zfs_putpages()