Home
last modified time | relevance | path

Searched refs:MSG_NOSIGNAL (Results 1 – 25 of 30) sorted by relevance

12

/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
Dnet_socket_test_012.cpp234 ret = send(sfd, NULL, 1, MSG_NOSIGNAL); in SocketNullTestInternal()
238 ret = send(sfd, bad, 0, MSG_NOSIGNAL); in SocketNullTestInternal()
245 ret = sendmsg(sfd, NULL, MSG_NOSIGNAL); in SocketNullTestInternal()
251 ret = sendmsg(sfd, &message, MSG_NOSIGNAL); in SocketNullTestInternal()
257 ret = sendmsg(sfd, &message, MSG_NOSIGNAL); in SocketNullTestInternal()
263 ret = sendmsg(sfd, &message, MSG_NOSIGNAL); in SocketNullTestInternal()
269 ret = sendmsg(sfd, &message, MSG_NOSIGNAL); in SocketNullTestInternal()
275 ret = sendmsg(sfd, &message, MSG_NOSIGNAL); in SocketNullTestInternal()
282 ret = sendto(sfd, NULL, 1, MSG_NOSIGNAL, NULL, addrlen); in SocketNullTestInternal()
286 ret = sendto(sfd, NULL, 1, MSG_NOSIGNAL, &addr, addrlen); in SocketNullTestInternal()
[all …]
/kernel/linux/linux-5.10/net/phonet/
Ddatagram.c79 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pn_sendmsg()
122 if (flags & ~(MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_NOSIGNAL| in pn_recvmsg()
Dpep.c1125 if ((msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pep_sendmsg()
1247 MSG_NOSIGNAL|MSG_CMSG_COMPAT)) in pep_recvmsg()
/kernel/linux/linux-5.10/net/rds/
Dtcp_send.c63 .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL, in rds_tcp_sendmsg()
116 int flags = MSG_DONTWAIT | MSG_NOSIGNAL | more; in rds_tcp_xmit()
/kernel/linux/linux-5.10/net/core/
Dstream.c188 if (err == -EPIPE && !(flags & MSG_NOSIGNAL)) in sk_stream_error()
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
Dsocket.h197 #define MSG_NOSIGNAL 0x4000 macro
/kernel/linux/linux-5.10/include/linux/
Dsocket.h302 #define MSG_NOSIGNAL 0x4000 /* Do not generate SIGPIPE */ macro
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/
Dsocket.h301 #define MSG_NOSIGNAL 0x4000 /* Do not generate SIGPIPE */ macro
/kernel/linux/linux-5.10/net/tls/
Dtls_device.c435 ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | MSG_SENDPAGE_NOTLAST)) in tls_push_data()
676 MSG_DONTWAIT | MSG_NOSIGNAL | in tls_device_write_space()
Dtls_sw.c948 if (msg->msg_flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | in tls_sw_sendmsg()
1272 if (flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | in tls_sw_sendpage_locked()
1286 if (flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | in tls_sw_sendpage()
/kernel/linux/linux-5.10/fs/cifs/
Dtransport.c213 smb_msg->msg_flags = MSG_DONTWAIT + MSG_NOSIGNAL; in smb_send_kvec()
215 smb_msg->msg_flags = MSG_NOSIGNAL; in smb_send_kvec()
/kernel/linux/linux-5.10/net/decnet/
Daf_decnet.c1700 if (flags & ~(MSG_CMSG_COMPAT|MSG_PEEK|MSG_OOB|MSG_WAITALL|MSG_DONTWAIT|MSG_NOSIGNAL)) { in dn_recvmsg()
1923 if (flags & ~(MSG_TRYHARD|MSG_OOB|MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL|MSG_MORE|MSG_CMSG_COMPAT)) in dn_sendmsg()
1951 if (!(flags & MSG_NOSIGNAL)) in dn_sendmsg()
/kernel/linux/linux-5.10/net/bluetooth/bnep/
Dcore.c605 s->msg.msg_flags = MSG_NOSIGNAL; in bnep_add_connection()
/kernel/linux/linux-5.10/fs/dlm/
Dlowcomms.c710 msg.msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in receive_from_sock()
1411 const int msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in send_to_sock()
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dusbip_common.c306 struct msghdr msg = {.msg_flags = MSG_NOSIGNAL}; in usbip_recv()
/kernel/linux/linux-5.10/net/ceph/
Dmessenger.c506 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL }; in ceph_tcp_recvmsg()
527 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL }; in ceph_tcp_recvpage()
545 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL }; in ceph_tcp_sendmsg()
567 int flags = MSG_DONTWAIT | MSG_NOSIGNAL | more; in ceph_tcp_sendpage()
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dsocket.c181 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_NOSIGNAL | MSG_ERRQUEUE)) in mISDN_sock_sendmsg()
/kernel/linux/linux-5.10/net/caif/
Dcaif_socket.c666 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL)) in caif_stream_sendmsg()
/kernel/linux/linux-5.10/net/unix/
Daf_unix.c1984 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL)) in unix_stream_sendmsg()
2100 if (send_sigpipe && !(flags & MSG_NOSIGNAL)) in unix_stream_sendpage()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_sockmap.c556 int err, i, flags = MSG_NOSIGNAL; in msg_loop()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_main.c1565 msg_flags |= MSG_NOSIGNAL; in _drbd_send_page()
1852 struct msghdr msg = {.msg_flags = msg_flags | MSG_NOSIGNAL}; in drbd_send()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_sync.c1581 struct msghdr msg = {.msg_flags = MSG_DONTWAIT|MSG_NOSIGNAL}; in ip_vs_send_async()
/kernel/linux/linux-5.10/net/bluetooth/
Dhci_sock.c1763 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_NOSIGNAL|MSG_ERRQUEUE| in hci_sock_sendmsg()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dtcp.c1323 c->recv_msg.msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in nvmet_tcp_alloc_cmd()
/kernel/linux/linux-5.10/drivers/block/
Dnbd.c510 msg.msg_flags = msg_flags | MSG_NOSIGNAL; in sock_xmit()

12