Home
last modified time | relevance | path

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

/freebsd/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/sys/dev/iscsi/
H A Dicl_soft.c75 STAILQ_HEAD(, icl_pdu) to_send;
1021 STAILQ_CONCAT(&queue, &isc->to_send); in icl_send_thread()
1039 !STAILQ_EMPTY(&isc->to_send)) in icl_send_thread()
1062 STAILQ_CONCAT(&isc->to_send, &queue); in icl_send_thread()
1333 if (!STAILQ_EMPTY(&isc->to_send)) { in icl_soft_conn_pdu_queue_cb()
1334 STAILQ_INSERT_TAIL(&isc->to_send, ip, ip_next); in icl_soft_conn_pdu_queue_cb()
1343 STAILQ_INSERT_TAIL(&isc->to_send, ip, ip_next); in icl_soft_conn_pdu_queue_cb()
1358 STAILQ_INIT(&isc->to_send); in icl_soft_new_conn()
1625 while (!STAILQ_EMPTY(&isc->to_send)) { in icl_soft_conn_close()
1626 pdu = STAILQ_FIRST(&isc->to_send); in icl_soft_conn_close()
[all …]
/freebsd/sys/compat/linux/
H A Dlinux_socket.c2441 off_t current_offset, out_offset, to_send; in sendfile_fallback() local
2476 to_send = min(count - bytes_sent, bufsz); in sendfile_fallback()
2485 auio.uio_resid = to_send; in sendfile_fallback()
2489 n_read = to_send - auio.uio_resid; in sendfile_fallback()