Home
last modified time | relevance | path

Searched refs:MSG_MORE (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.15/tools/testing/selftests/net/packetdrill/
H A Dtcp_nagle_sendmsg_msg_more.pkt2 // Test the MSG_MORE flag will correctly corks the tiny writes
19 msg_iov(1)=[{..., 40}], msg_flags=0}, MSG_MORE) = 40
23 // Test unsetting MSG_MORE releases the packet
25 msg_iov(1)=[{..., 100}], msg_flags=0}, MSG_MORE) = 100
30 msg_flags=0}, MSG_MORE) = 495
42 msg_iov(1)=[{..., 50}], msg_flags=0}, MSG_MORE) = 50
50 msg_iov(1)=[{..., 1}], msg_flags=0}, MSG_MORE) = 1
52 msg_iov(1)=[{..., 2}], msg_flags=0}, MSG_MORE) = 2
54 msg_iov(1)=[{..., 3}], msg_flags=0}, MSG_MORE) = 3
56 msg_iov(1)=[{..., 4}], msg_flags=0}, MSG_MORE) = 4
[all …]
H A Dtcp_nagle_sockopt_cork_nodelay.pkt36 // Set MSG_MORE to hold small packets
37 +0 send(4, ..., 40, MSG_MORE) = 40
38 +.05 send(4, ..., 40, MSG_MORE) = 40
/linux-6.15/net/sunrpc/
H A Dsocklib.c278 msg->msg_flags |= MSG_MORE; in xprt_sock_sendmsg()
285 msg->msg_flags &= ~MSG_MORE; in xprt_sock_sendmsg()
304 msg->msg_flags &= ~MSG_MORE; in xprt_sock_sendmsg()
316 msg->msg_flags &= ~MSG_MORE; in xprt_sock_sendmsg()
/linux-6.15/crypto/
H A Dalgif_hash.c91 if (!(msg->msg_flags & MSG_MORE)) { in hash_sendmsg()
136 !(msg->msg_flags & MSG_MORE)) { in hash_sendmsg()
148 if (msg_data_left(msg) || (msg->msg_flags & MSG_MORE)) in hash_sendmsg()
164 ctx->more = msg->msg_flags & MSG_MORE; in hash_sendmsg()
/linux-6.15/Documentation/networking/
H A Dtls.rst89 MSG_MORE is passed. MSG_MORE will delay creation of a record until
90 MSG_MORE is not passed, or the maximum record size is reached.
97 call using MSG_MORE, the MSG_MORE data is left on the socket buffer.
H A Drxrpc.rst238 (#) When sending data for a call, sendmsg is given MSG_MORE if there's more
241 (#) When receiving data for a call, recvmsg flags MSG_MORE if there's more
318 of the last data message in that phase yet), then MSG_MORE will be
605 MSG_MORE should be set in msghdr::msg_flags on all but the last part of
616 pick up. MSG_MORE will be flagged by recvmsg() if there's more reply data
724 be delivered with MSG_MORE flagged.
740 MSG_MORE should be set in msghdr::msg_flags on all but the last message
883 MSG_MORE if there will be subsequent data sends for this call.
886 other than MSG_MORE. len is the total amount of data to transmit.
/linux-6.15/net/xfrm/
H A Despintcp.c213 .msg_flags = flags | MSG_SPLICE_PAGES | MSG_MORE, in espintcp_sendskmsg_locked()
216 bool more = flags & MSG_MORE; in espintcp_sendskmsg_locked()
231 msghdr.msg_flags &= ~MSG_MORE; in espintcp_sendskmsg_locked()
/linux-6.15/tools/testing/vsock/
H A Dcontrol.c119 ret = send(control_fd, str, len, MSG_MORE); in control_writeln()
/linux-6.15/net/tls/
H A Dtls_device.c437 ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | in tls_push_data()
441 if ((flags & (MSG_MORE | MSG_EOR)) == (MSG_MORE | MSG_EOR)) in tls_push_data()
448 tls_push_record_flags = flags | MSG_MORE; in tls_push_data()
531 if (flags & MSG_MORE) { in tls_push_data()
/linux-6.15/net/rds/
H A Dtcp_send.c118 msg.msg_flags |= MSG_MORE; in rds_tcp_xmit()
/linux-6.15/net/rxrpc/
H A Drecvmsg.c435 msg->msg_flags |= MSG_MORE; in rxrpc_recvmsg()
437 msg->msg_flags &= ~MSG_MORE; in rxrpc_recvmsg()
H A Drxperf.c521 msg.msg_flags = MSG_MORE; in rxperf_process_call()
/linux-6.15/drivers/infiniband/sw/siw/
H A Dsiw_qp_tx.c320 .msg_flags = (MSG_MORE | MSG_DONTWAIT | MSG_SPLICE_PAGES), in siw_tcp_sendpages()
329 msg.msg_flags &= ~MSG_MORE; in siw_tcp_sendpages()
446 rv = siw_tx_ctrl(c_tx, s, MSG_DONTWAIT | MSG_MORE); in siw_tx_hdt()
869 msg_flags = MSG_DONTWAIT | MSG_MORE; in siw_qp_sq_proc_tx()
/linux-6.15/drivers/vhost/
H A Dnet.c806 msg.msg_flags |= MSG_MORE; in handle_tx_copy()
808 msg.msg_flags &= ~MSG_MORE; in handle_tx_copy()
903 msg.msg_flags |= MSG_MORE; in handle_tx_zerocopy()
905 msg.msg_flags &= ~MSG_MORE; in handle_tx_zerocopy()
/linux-6.15/drivers/nvme/target/
H A Dtcp.c612 .msg_flags = MSG_DONTWAIT | MSG_MORE | MSG_SPLICE_PAGES, in nvmet_try_send_data_pdu()
652 msg.msg_flags |= MSG_MORE; in nvmet_try_send_data()
699 msg.msg_flags |= MSG_MORE; in nvmet_try_send_response()
729 msg.msg_flags |= MSG_MORE; in nvmet_try_send_r2t()
760 msg.msg_flags |= MSG_MORE; in nvmet_try_send_ddgst()
/linux-6.15/tools/perf/trace/beauty/include/linux/
H A Dsocket.h320 #define MSG_MORE 0x8000 /* Sender will send more */ macro
/linux-6.15/include/linux/
H A Dsocket.h320 #define MSG_MORE 0x8000 /* Sender will send more */ macro
/linux-6.15/fs/afs/
H A Drxrpc.c386 msg.msg_flags = MSG_WAITALL | (call->write_iter ? MSG_MORE : 0); in afs_make_call()
396 msg.msg_flags &= ~MSG_MORE; in afs_make_call()
/linux-6.15/Documentation/crypto/
H A Duserspace-if.rst124 - MSG_MORE: If this flag is set, the send system call acts like a
178 - MSG_MORE: If this flag is set, the send system call acts like a
241 - MSG_MORE: If this flag is set, the send system call acts like a
/linux-6.15/tools/testing/selftests/net/
H A Dudpgso.c406 if (!__send_one(fd, &msg, MSG_MORE)) in send_one()
H A Dcmsg_sender.c540 err = sendmsg(fd, &msg, opt.msg_more ? MSG_MORE : 0); in main()
/linux-6.15/net/ceph/
H A Dmessenger_v1.c67 msg.msg_flags |= MSG_MORE; in ceph_tcp_sendmsg()
499 MSG_MORE); in write_partial_message_data()
536 MSG_MORE); in write_partial_skip()
/linux-6.15/drivers/nvme/host/
H A Dtcp.c1138 msg.msg_flags |= MSG_MORE; in nvme_tcp_try_send_data()
1192 msg.msg_flags |= MSG_MORE; in nvme_tcp_try_send_cmd_pdu()
1226 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_MORE, }; in nvme_tcp_try_send_data_pdu()
1268 msg.msg_flags |= MSG_MORE; in nvme_tcp_try_send_ddgst()
/linux-6.15/net/ipv4/
H A Dtcp_bpf.c118 msghdr.msg_flags |= MSG_MORE; in tcp_bpf_push()
/linux-6.15/net/smc/
H A Dsmc_tx.c170 if ((msg->msg_flags & MSG_MORE || in smc_tx_should_cork()

12