/linux-2.6.39/net/sctp/ |
D | ulpqueue.c | 119 if ((event) && (event->msg_flags & MSG_EOR)){ in sctp_ulpq_tail_data() 232 if ((event->msg_flags & MSG_NOTIFICATION) || in sctp_ulpq_tail_event() 234 (event->msg_flags & SCTP_DATA_FRAG_MASK))) in sctp_ulpq_tail_event() 237 clear_pd = event->msg_flags & MSG_EOR; in sctp_ulpq_tail_event() 442 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_ulpq_retrieve_reassembled() 508 retval->msg_flags |= MSG_EOR; in sctp_ulpq_retrieve_reassembled() 538 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_ulpq_retrieve_partial() 568 retval->msg_flags |= MSG_EOR; in sctp_ulpq_retrieve_partial() 583 if (SCTP_DATA_NOT_FRAG == (event->msg_flags & SCTP_DATA_FRAG_MASK)) { in sctp_ulpq_reasm() 584 event->msg_flags |= MSG_EOR; in sctp_ulpq_reasm() [all …]
|
D | ulpevent.c | 61 int msg_flags, in sctp_ulpevent_init() argument 65 event->msg_flags = msg_flags; in sctp_ulpevent_init() 70 SCTP_STATIC struct sctp_ulpevent *sctp_ulpevent_new(int size, int msg_flags, in sctp_ulpevent_new() argument 81 sctp_ulpevent_init(event, msg_flags, skb->truesize); in sctp_ulpevent_new() 92 return MSG_NOTIFICATION == (event->msg_flags & MSG_NOTIFICATION); in sctp_ulpevent_is_notification() 758 event->msg_flags |= chunk->chunk_hdr->flags; in sctp_ulpevent_make_rcvmsg()
|
/linux-2.6.39/net/core/ |
D | scm.c | 226 if (MSG_CMSG_COMPAT & msg->msg_flags) in put_cmsg() 230 msg->msg_flags |= MSG_CTRUNC; in put_cmsg() 234 msg->msg_flags |= MSG_CTRUNC; in put_cmsg() 268 if (MSG_CMSG_COMPAT & msg->msg_flags) { in scm_detach_fds() 287 err = get_unused_fd_flags(MSG_CMSG_CLOEXEC & msg->msg_flags in scm_detach_fds() 317 msg->msg_flags |= MSG_CTRUNC; in scm_detach_fds()
|
/linux-2.6.39/net/rds/ |
D | recv.c | 398 size_t size, int msg_flags) in rds_recvmsg() argument 403 int ret = 0, nonblock = msg_flags & MSG_DONTWAIT; in rds_recvmsg() 410 rdsdebug("size %zu flags 0x%x timeo %ld\n", size, msg_flags, timeo); in rds_recvmsg() 412 if (msg_flags & MSG_OOB) in rds_recvmsg() 461 if (!rds_still_queued(rs, inc, !(msg_flags & MSG_PEEK))) { in rds_recvmsg() 469 if (msg_flags & MSG_TRUNC) in rds_recvmsg() 471 msg->msg_flags |= MSG_TRUNC; in rds_recvmsg()
|
/linux-2.6.39/net/ieee802154/ |
D | raw.c | 113 if (msg->msg_flags & MSG_OOB) { in raw_sendmsg() 114 pr_debug("msg->msg_flags = 0x%x\n", msg->msg_flags); in raw_sendmsg() 141 msg->msg_flags & MSG_DONTWAIT, &err); in raw_sendmsg() 187 msg->msg_flags |= MSG_TRUNC; in raw_recvmsg()
|
D | dgram.c | 214 if (msg->msg_flags & MSG_OOB) { in dgram_sendmsg() 215 pr_debug("msg->msg_flags = 0x%x\n", msg->msg_flags); in dgram_sendmsg() 233 msg->msg_flags & MSG_DONTWAIT, in dgram_sendmsg() 298 msg->msg_flags |= MSG_TRUNC; in dgram_recvmsg()
|
/linux-2.6.39/net/rxrpc/ |
D | ar-recvmsg.c | 63 ullen = msg->msg_flags & MSG_CMSG_COMPAT ? 4 : sizeof(unsigned long); in rxrpc_recvmsg() 66 msg->msg_flags |= MSG_MORE; in rxrpc_recvmsg() 89 (msg->msg_flags & MSG_PEEK || timeo == 0)) in rxrpc_recvmsg() 224 msg->msg_flags &= ~MSG_MORE; in rxrpc_recvmsg() 319 msg->msg_flags &= ~MSG_MORE; in rxrpc_recvmsg() 320 msg->msg_flags |= MSG_EOR; in rxrpc_recvmsg()
|
D | ar-output.c | 57 if (msg->msg_flags & MSG_CMSG_COMPAT) { in rxrpc_sendmsg_cmsg() 349 msg.msg_flags = 0; in rxrpc_send_packet() 538 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in rxrpc_send_data() 551 more = msg->msg_flags & MSG_MORE; in rxrpc_send_data() 573 if (msg->msg_flags & MSG_DONTWAIT) in rxrpc_send_data() 598 sk, size, msg->msg_flags & MSG_DONTWAIT, &ret); in rxrpc_send_data()
|
D | ar-connevent.c | 90 msg.msg_flags = 0; in rxrpc_abort_connection() 363 msg.msg_flags = 0; in rxrpc_reject_packets()
|
/linux-2.6.39/net/phonet/ |
D | datagram.c | 92 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pn_sendmsg() 107 msg->msg_flags & MSG_DONTWAIT, &err); in pn_sendmsg() 152 msg->msg_flags |= MSG_TRUNC; in pn_recvmsg()
|
D | pep.c | 1045 int flags = msg->msg_flags; in pep_sendmsg() 1048 if ((msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pep_sendmsg() 1050 !(msg->msg_flags & MSG_EOR)) in pep_sendmsg() 1188 msg->msg_flags |= MSG_OOB; in pep_recvmsg() 1208 msg->msg_flags |= MSG_EOR; in pep_recvmsg() 1210 msg->msg_flags |= MSG_TRUNC; in pep_recvmsg()
|
/linux-2.6.39/drivers/staging/pohmelfs/ |
D | trans.c | 61 msg.msg_flags = MSG_WAITALL | MSG_MORE; in netfs_trans_send_pages() 93 msg.msg_flags = MSG_WAITALL | MSG_MORE; in netfs_trans_send_pages() 104 msg.msg_flags = MSG_WAITALL | (attached_pages == 1 ? 0 : in netfs_trans_send_pages() 107 err = kernel_sendpage(st->socket, page, 0, size, msg.msg_flags); in netfs_trans_send_pages() 157 msg.msg_flags = MSG_WAITALL; in netfs_trans_send() 160 msg.msg_flags |= MSG_MORE; in netfs_trans_send()
|
/linux-2.6.39/fs/afs/ |
D | rxrpc.c | 268 msg->msg_flags = 0; in afs_send_pages() 273 msg->msg_flags = MSG_MORE; in afs_send_pages() 279 offset, to, msg->msg_flags ? " [more]" : ""); in afs_send_pages() 360 msg.msg_flags = (call->send_pages ? MSG_MORE : 0); in afs_make_call() 770 msg.msg_flags = 0; in afs_send_empty_reply() 810 msg.msg_flags = 0; in afs_send_simple_reply()
|
/linux-2.6.39/net/ipv4/ |
D | raw.c | 473 if (msg->msg_flags & MSG_OOB) /* Mirror BSD error message */ in raw_sendmsg() 540 if (msg->msg_flags & MSG_DONTROUTE) in raw_sendmsg() 581 if (msg->msg_flags & MSG_CONFIRM) in raw_sendmsg() 587 &rt, msg->msg_flags); in raw_sendmsg() 594 &ipc, &rt, msg->msg_flags); in raw_sendmsg() 597 else if (!(msg->msg_flags & MSG_MORE)) { in raw_sendmsg() 616 if (!(msg->msg_flags & MSG_PROBE) || len) in raw_sendmsg() 693 msg->msg_flags |= MSG_TRUNC; in raw_recvmsg()
|
D | udp.c | 804 int corkreq = up->corkflag || msg->msg_flags&MSG_MORE; in udp_sendmsg() 815 if (msg->msg_flags & MSG_OOB) /* Mirror BSD error message compatibility */ in udp_sendmsg() 894 (msg->msg_flags & MSG_DONTROUTE) || in udp_sendmsg() 944 if (msg->msg_flags&MSG_CONFIRM) in udp_sendmsg() 956 msg->msg_flags); in udp_sendmsg() 987 corkreq ? msg->msg_flags|MSG_MORE : msg->msg_flags); in udp_sendmsg() 1017 if (!(msg->msg_flags&MSG_PROBE) || len) in udp_sendmsg() 1031 struct msghdr msg = { .msg_flags = flags|MSG_MORE }; in udp_sendpage() 1183 msg->msg_flags |= MSG_TRUNC; in udp_recvmsg()
|
/linux-2.6.39/net/caif/ |
D | caif_socket.c | 304 if (m->msg_flags&MSG_OOB) in caif_seqpkt_recvmsg() 312 m->msg_flags |= MSG_TRUNC; in caif_seqpkt_recvmsg() 578 if (msg->msg_flags&MSG_OOB) in caif_seqpkt_sendmsg() 588 noblock = msg->msg_flags & MSG_DONTWAIT; in caif_seqpkt_sendmsg() 646 if (unlikely(msg->msg_flags&MSG_OOB)) in caif_stream_sendmsg() 652 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in caif_stream_sendmsg() 675 msg->msg_flags&MSG_DONTWAIT, in caif_stream_sendmsg() 696 msg->msg_flags&MSG_DONTWAIT, timeo); in caif_stream_sendmsg() 707 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL)) in caif_stream_sendmsg()
|
/linux-2.6.39/net/bluetooth/ |
D | hci_sock.c | 462 if (msg->msg_flags & MSG_CMSG_COMPAT) { in hci_sock_cmsg() 498 msg->msg_flags |= MSG_TRUNC; in hci_sock_recvmsg() 522 if (msg->msg_flags & MSG_OOB) in hci_sock_sendmsg() 525 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_NOSIGNAL|MSG_ERRQUEUE)) in hci_sock_sendmsg() 555 skb = bt_skb_send_alloc(sk, len, msg->msg_flags & MSG_DONTWAIT, &err); in hci_sock_sendmsg()
|
/linux-2.6.39/net/x25/ |
D | af_x25.c | 1076 int noblock = msg->msg_flags & MSG_DONTWAIT; in x25_sendmsg() 1081 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_OOB|MSG_EOR|MSG_CMSG_COMPAT)) in x25_sendmsg() 1085 if (!(msg->msg_flags & (MSG_EOR|MSG_OOB))) in x25_sendmsg() 1138 if ((msg->msg_flags & MSG_OOB) && len > 32) in x25_sendmsg() 1148 X25_SKB_CB(skb)->flags = msg->msg_flags; in x25_sendmsg() 1178 if (msg->msg_flags & MSG_OOB) { in x25_sendmsg() 1217 if (msg->msg_flags & MSG_OOB) in x25_sendmsg() 1278 msg->msg_flags |= MSG_OOB; in x25_recvmsg() 1304 msg->msg_flags |= MSG_TRUNC; in x25_recvmsg() 1308 msg->msg_flags |= MSG_EOR; in x25_recvmsg()
|
/linux-2.6.39/include/net/ |
D | compat.h | 18 compat_uint_t msg_flags; member
|
/linux-2.6.39/net/ipv6/ |
D | raw.c | 475 msg->msg_flags |= MSG_TRUNC; in rawv6_recvmsg() 480 } else if (msg->msg_flags&MSG_TRUNC) { in rawv6_recvmsg() 752 if (msg->msg_flags & MSG_OOB) in rawv6_sendmsg() 878 if (msg->msg_flags&MSG_CONFIRM) in rawv6_sendmsg() 883 err = rawv6_send_hdrinc(sk, msg->msg_iov, len, &fl6, &dst, msg->msg_flags); in rawv6_sendmsg() 888 msg->msg_flags, dontfrag); in rawv6_sendmsg() 892 else if (!(msg->msg_flags & MSG_MORE)) in rawv6_sendmsg() 903 if (!(msg->msg_flags & MSG_PROBE) || len) in rawv6_sendmsg()
|
/linux-2.6.39/net/econet/ |
D | af_econet.c | 160 msg->msg_flags|=MSG_TRUNC; in econet_recvmsg() 292 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_CMSG_COMPAT)) in econet_sendmsg() 337 msg->msg_flags & MSG_DONTWAIT, &err); in econet_sendmsg() 462 msg->msg_flags & MSG_DONTWAIT, in econet_sendmsg() 483 udpmsg.msg_flags=0; in econet_sendmsg() 839 udpmsg.msg_flags=0; in aun_send_response()
|
/linux-2.6.39/net/ |
D | compat.c | 71 __get_user(kmsg->msg_flags, &umsg->msg_flags)) in get_compat_msghdr() 228 kmsg->msg_flags |= MSG_CTRUNC; in put_cmsg_compat() 254 kmsg->msg_flags |= MSG_CTRUNC; in put_cmsg_compat() 290 err = get_unused_fd_flags(MSG_CMSG_CLOEXEC & kmsg->msg_flags in scm_detach_fds_compat() 319 kmsg->msg_flags |= MSG_CTRUNC; in scm_detach_fds_compat()
|
/linux-2.6.39/include/net/sctp/ |
D | ulpevent.h | 64 int msg_flags; member
|
/linux-2.6.39/crypto/ |
D | algif_hash.c | 94 ctx->more = msg->msg_flags & MSG_MORE; in hash_sendmsg() 160 msg->msg_flags |= MSG_TRUNC; in hash_recvmsg()
|
/linux-2.6.39/drivers/staging/usbip/ |
D | usbip_common.c | 357 int size, int msg_flags) in usbip_xmit() argument 386 sock, buf, size, msg_flags); in usbip_xmit() 401 msg.msg_flags = msg_flags | MSG_NOSIGNAL; in usbip_xmit()
|