Home
last modified time | relevance | path

Searched refs:to_send (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/tools/test/stress2/misc/
H A Dsendfile26.sh96 size_t to_send = chunk_size;
101 ret = sendfile(fd, sock, cursor, to_send,
105 to_send -= sbytes;
108 sbytes = to_send;
116 to_send -= sbytes;
121 } while (ret == 0 && to_send > 0);
/freebsd-14.2/sys/dev/iscsi/
H A Dicl_soft.c76 STAILQ_HEAD(, icl_pdu) to_send;
1022 STAILQ_CONCAT(&queue, &isc->to_send); in icl_send_thread()
1040 !STAILQ_EMPTY(&isc->to_send)) in icl_send_thread()
1063 STAILQ_CONCAT(&isc->to_send, &queue); in icl_send_thread()
1334 if (!STAILQ_EMPTY(&isc->to_send)) { in icl_soft_conn_pdu_queue_cb()
1344 STAILQ_INSERT_TAIL(&isc->to_send, ip, ip_next); in icl_soft_conn_pdu_queue_cb()
1359 STAILQ_INIT(&isc->to_send); in icl_soft_new_conn()
1626 while (!STAILQ_EMPTY(&isc->to_send)) { in icl_soft_conn_close()
1627 pdu = STAILQ_FIRST(&isc->to_send); in icl_soft_conn_close()
1628 STAILQ_REMOVE_HEAD(&isc->to_send, ip_next); in icl_soft_conn_close()
[all …]
/freebsd-14.2/sys/compat/linux/
H A Dlinux_socket.c2439 off_t current_offset, out_offset, to_send; in sendfile_fallback() local
2474 to_send = min(count - bytes_sent, bufsz); in sendfile_fallback()
2483 auio.uio_resid = to_send; in sendfile_fallback()
2487 n_read = to_send - auio.uio_resid; in sendfile_fallback()