Searched refs:msg_flags (Results 26 - 50 of 173) sorted by relevance

1234567

/linux-master/drivers/infiniband/sw/siw/
H A Dsiw_cm.h109 struct msghdr msg = { .msg_name = NULL, .msg_flags = flags };
H A Dsiw_qp_tx.c290 struct msghdr msg = { .msg_flags = flags };
322 .msg_flags = (MSG_MORE | MSG_DONTWAIT | MSG_SPLICE_PAGES),
331 msg.msg_flags &= ~MSG_MORE;
436 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_EOR };
863 unsigned int msg_flags; local
871 msg_flags = MSG_DONTWAIT;
873 msg_flags = MSG_DONTWAIT | MSG_MORE;
875 rv = siw_tx_ctrl(c_tx, s, msg_flags);
/linux-master/net/caif/
H A Dcaif_socket.c285 m->msg_flags |= MSG_TRUNC;
530 if (msg->msg_flags&MSG_OOB)
537 noblock = msg->msg_flags & MSG_DONTWAIT;
597 if (unlikely(msg->msg_flags&MSG_OOB))
603 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT);
626 msg->msg_flags&MSG_DONTWAIT,
647 msg->msg_flags&MSG_DONTWAIT, timeo);
658 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL))
/linux-master/net/rds/
H A Drecv.c639 int msg_flags)
644 int ret = 0, nonblock = msg_flags & MSG_DONTWAIT;
652 rdsdebug("size %zu flags 0x%x timeo %ld\n", size, msg_flags, timeo);
654 if (msg_flags & MSG_OOB)
656 if (msg_flags & MSG_ERRQUEUE)
706 if (!rds_still_queued(rs, inc, !(msg_flags & MSG_PEEK))) {
715 if (msg_flags & MSG_TRUNC)
717 msg->msg_flags |= MSG_TRUNC;
638 rds_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int msg_flags) argument
/linux-master/net/ieee802154/
H A Dsocket.c249 if (msg->msg_flags & MSG_OOB) {
250 pr_debug("msg->msg_flags = 0x%x\n", msg->msg_flags);
283 msg->msg_flags & MSG_DONTWAIT, &err);
328 msg->msg_flags |= MSG_TRUNC;
618 if (msg->msg_flags & MSG_OOB) {
619 pr_debug("msg->msg_flags = 0x%x\n", msg->msg_flags);
660 msg->msg_flags & MSG_DONTWAIT,
720 msg->msg_flags |
[all...]
/linux-master/net/ipv4/
H A Draw.c509 if (msg->msg_flags & MSG_OOB) /* Mirror BSD error message */
639 if (msg->msg_flags & MSG_CONFIRM)
645 &rt, msg->msg_flags, &ipc.sockc);
653 &ipc, &rt, msg->msg_flags);
656 else if (!(msg->msg_flags & MSG_MORE)) {
674 if (msg->msg_flags & MSG_PROBE)
676 if (!(msg->msg_flags & MSG_PROBE) || len)
762 msg->msg_flags |= MSG_TRUNC;
/linux-master/net/rxrpc/
H A Dsendmsg.c287 bool more = msg->msg_flags & MSG_MORE;
290 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT);
428 if (msg->msg_flags & MSG_DONTWAIT)
433 msg->msg_flags & MSG_WAITALL);
473 if (msg->msg_flags & MSG_CMSG_COMPAT) {
H A Drecvmsg.c430 msg->msg_flags |= MSG_EOR;
435 msg->msg_flags |= MSG_MORE;
437 msg->msg_flags &= ~MSG_MORE;
H A Doutput.c196 msg.msg_flags = MSG_SPLICE_PAGES;
291 msg.msg_flags = 0;
461 msg.msg_flags = MSG_SPLICE_PAGES;
540 msg.msg_flags = 0;
603 msg.msg_flags = 0;
662 msg.msg_flags = 0;
/linux-master/drivers/nvme/target/
H A Dtcp.c607 .msg_flags = MSG_DONTWAIT | MSG_MORE | MSG_SPLICE_PAGES,
638 .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES,
647 msg.msg_flags |= MSG_MORE;
687 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, };
694 msg.msg_flags |= MSG_MORE;
696 msg.msg_flags |= MSG_EOR;
717 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, };
724 msg.msg_flags |= MSG_MORE;
726 msg.msg_flags |= MSG_EOR;
747 struct msghdr msg = { .msg_flags
[all...]
/linux-master/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py1531 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST
1574 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1595 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1686 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST
1713 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1741 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1759 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1942 msg_flags=NLM_F_REQUEST | NLM_F_ACK,
1968 msg_flags=NLM_F_REQUEST | NLM_F_ACK,
1993 msg_flags
[all...]
/linux-master/net/sctp/
H A Dulpevent.c39 __u16 msg_flags,
43 event->msg_flags = msg_flags;
48 static struct sctp_ulpevent *sctp_ulpevent_new(int size, __u16 msg_flags, argument
59 sctp_ulpevent_init(event, msg_flags, skb->truesize);
70 return MSG_NOTIFICATION == (event->msg_flags & MSG_NOTIFICATION);
753 event->msg_flags |= chunk->chunk_hdr->flags;
38 sctp_ulpevent_init(struct sctp_ulpevent *event, __u16 msg_flags, unsigned int len) argument
/linux-master/net/ipv6/
H A Draw.c458 msg->msg_flags |= MSG_TRUNC;
463 } else if (msg->msg_flags&MSG_TRUNC) {
767 if (msg->msg_flags & MSG_OOB)
909 if (msg->msg_flags&MSG_CONFIRM)
915 msg->msg_flags, &ipc6.sockc);
921 msg->msg_flags);
925 else if (!(msg->msg_flags & MSG_MORE))
936 if (msg->msg_flags & MSG_PROBE)
938 if (!(msg->msg_flags & MSG_PROBE) || len)
/linux-master/tools/testing/selftests/net/
H A Dso_txtime.c184 if (msg.msg_flags != MSG_ERRQUEUE)
185 error(1, 0, "errqueue: flags 0x%x\n", msg.msg_flags);
221 msg.msg_flags = 0;
/linux-master/include/net/sctp/
H A Dulpevent.h54 __u16 msg_flags; member in struct:sctp_ulpevent
/linux-master/include/net/
H A Dkcm.h51 unsigned int msg_flags; member in struct:kcm_tx_msg
/linux-master/drivers/char/ipmi/
H A Dipmi_si_intf.c163 unsigned char msg_flags; member in struct:smi_info
464 if (smi_info->msg_flags & WDT_PRE_TIMEOUT_INT) {
469 smi_info->msg_flags &= ~WDT_PRE_TIMEOUT_INT;
471 } else if (smi_info->msg_flags & RECEIVE_MSG_AVAIL) {
478 } else if (smi_info->msg_flags & EVENT_MSG_BUFFER_FULL) {
485 } else if (smi_info->msg_flags & OEM_DATA_AVAIL &&
581 smi_info->msg_flags = msg[3];
622 smi_info->msg_flags &= ~EVENT_MSG_BUFFER_FULL;
660 smi_info->msg_flags &= ~RECEIVE_MSG_AVAIL;
1687 * @info - smi_info structure with msg_flags se
[all...]
H A Dipmi_ssif.c222 unsigned char msg_flags; member in struct:ssif_info
359 ssif_info->msg_flags &= ~WDT_PRE_TIMEOUT_INT;
457 if (ssif_info->msg_flags & WDT_PRE_TIMEOUT_INT) {
462 } else if (ssif_info->msg_flags & RECEIVE_MSG_AVAIL)
465 else if (ssif_info->msg_flags & EVENT_MSG_BUFFER_FULL)
798 ssif_info->msg_flags = data[3];
834 ssif_info->msg_flags &= ~EVENT_MSG_BUFFER_FULL;
843 ssif_info->msg_flags &= ~EVENT_MSG_BUFFER_FULL;
866 ssif_info->msg_flags &= ~RECEIVE_MSG_AVAIL;
876 ssif_info->msg_flags
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c197 if (msg.msg_flags & MSG_TRUNC) {
253 if (msg.msg_flags & MSG_TRUNC) {
/linux-master/include/linux/
H A Dsocket.h74 unsigned int msg_flags; /* flags on received message */ member in struct:msghdr
89 unsigned int msg_flags; /* flags on received message */ member in struct:user_msghdr
/linux-master/tools/perf/trace/beauty/include/linux/
H A Dsocket.h74 unsigned int msg_flags; /* flags on received message */ member in struct:msghdr
89 unsigned int msg_flags; /* flags on received message */ member in struct:user_msghdr
/linux-master/net/ceph/
H A Dmessenger_v1.c27 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL };
31 msg.msg_flags |= MSG_TRUNC;
34 r = sock_recvmsg(sock, &msg, msg.msg_flags);
44 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL };
50 r = sock_recvmsg(sock, &msg, msg.msg_flags);
63 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL };
67 msg.msg_flags |= MSG_MORE;
69 msg.msg_flags |= MSG_EOR; /* superfluous, but what the hell */
84 .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL | more,
98 msg.msg_flags |
[all...]
/linux-master/net/x25/
H A Daf_x25.c1111 int noblock = msg->msg_flags & MSG_DONTWAIT;
1116 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_OOB|MSG_EOR|MSG_CMSG_COMPAT))
1120 if (!(msg->msg_flags & (MSG_EOR|MSG_OOB)))
1173 if ((msg->msg_flags & MSG_OOB) && len > 32)
1183 X25_SKB_CB(skb)->flags = msg->msg_flags;
1216 if (msg->msg_flags & MSG_OOB) {
1255 if (msg->msg_flags & MSG_OOB)
1325 msg->msg_flags |= MSG_OOB;
1352 msg->msg_flags |= MSG_TRUNC;
1356 msg->msg_flags |
[all...]
/linux-master/drivers/nvme/host/
H A Dtcp.c1040 .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES,
1050 msg.msg_flags |= MSG_EOR;
1052 msg.msg_flags |= MSG_MORE;
1055 msg.msg_flags &= ~MSG_SPLICE_PAGES;
1099 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, };
1106 msg.msg_flags |= MSG_MORE;
1108 msg.msg_flags |= MSG_EOR;
1140 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_MORE, };
1149 msg.msg_flags |= MSG_SPLICE_PAGES;
1175 struct msghdr msg = { .msg_flags
[all...]
/linux-master/net/kcm/
H A Dkcmsock.c607 .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES,
753 long timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT);
755 !(msg->msg_flags & MSG_MORE) : !!(msg->msg_flags & MSG_EOR);
832 if (msg->msg_flags & MSG_SPLICE_PAGES) {
903 if (msg->msg_flags & MSG_BATCH) {
947 err = sk_stream_error(sk, msg->msg_flags, err);
1001 msg->msg_flags |= MSG_TRUNC;
1009 msg->msg_flags |= MSG_EOR;

Completed in 495 milliseconds

1234567