Home
last modified time | relevance | path

Searched refs:msg_flags (Results 1 – 25 of 164) sorted by relevance

1234567

/linux-6.1.9/drivers/scsi/mpi3mr/mpi/
Dmpi30_ioc.h13 u8 msg_flags; member
47 u8 msg_flags; member
167 u8 msg_flags; member
181 u8 msg_flags; member
203 u8 msg_flags; member
214 u8 msg_flags; member
240 u8 msg_flags; member
251 u8 msg_flags; member
290 u8 msg_flags; member
304 u8 msg_flags; member
[all …]
Dmpi30_sas.h23 u8 msg_flags; member
39 u8 msg_flags; member
Dmpi30_init.h27 u8 msg_flags; member
67 u8 msg_flags; member
/linux-6.1.9/io_uring/
Dnet.c61 unsigned msg_flags; member
185 return sendmsg_copy_msghdr(&iomsg->msg, sr->umsg, sr->msg_flags, in io_sendmsg_copy_hdr()
257 sr->msg_flags = READ_ONCE(sqe->msg_flags) | MSG_NOSIGNAL; in io_sendmsg_prep()
258 if (sr->msg_flags & MSG_DONTWAIT) in io_sendmsg_prep()
263 sr->msg_flags |= MSG_CMSG_COMPAT; in io_sendmsg_prep()
295 flags = sr->msg_flags; in io_sendmsg()
371 flags = sr->msg_flags; in io_send()
377 msg.msg_flags = flags; in io_send()
556 sr->msg_flags = READ_ONCE(sqe->msg_flags) | MSG_NOSIGNAL; in io_recvmsg_prep()
557 if (sr->msg_flags & MSG_DONTWAIT) in io_recvmsg_prep()
[all …]
/linux-6.1.9/net/sctp/
Dstream_interleave.c140 (cevent->msg_flags & SCTP_DATA_FIRST_FRAG || in sctp_intl_store_reasm()
141 (!(event->msg_flags & SCTP_DATA_FIRST_FRAG) && in sctp_intl_store_reasm()
166 !(cevent->msg_flags & SCTP_DATA_FIRST_FRAG) && in sctp_intl_store_reasm()
167 (event->msg_flags & SCTP_DATA_FIRST_FRAG || in sctp_intl_store_reasm()
204 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_intl_retrieve_partial()
249 retval->msg_flags |= MSG_EOR; in sctp_intl_retrieve_partial()
287 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_intl_retrieve_reassembled()
342 retval->msg_flags |= MSG_EOR; in sctp_intl_retrieve_reassembled()
354 if (SCTP_DATA_NOT_FRAG == (event->msg_flags & SCTP_DATA_FRAG_MASK)) { in sctp_intl_reasm()
355 event->msg_flags |= MSG_EOR; in sctp_intl_reasm()
[all …]
Dulpqueue.c109 if (event->msg_flags & MSG_EOR) in sctp_ulpq_tail_data()
117 event_eor = (event->msg_flags & MSG_EOR) ? 1 : 0; in sctp_ulpq_tail_data()
224 if ((event->msg_flags & MSG_NOTIFICATION) || in sctp_ulpq_tail_event()
226 (event->msg_flags & SCTP_DATA_FRAG_MASK))) in sctp_ulpq_tail_event()
229 clear_pd = event->msg_flags & MSG_EOR; in sctp_ulpq_tail_event()
435 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_ulpq_retrieve_reassembled()
502 retval->msg_flags |= MSG_EOR; in sctp_ulpq_retrieve_reassembled()
532 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()
[all …]
Dulpevent.c39 __u16 msg_flags, in sctp_ulpevent_init() argument
43 event->msg_flags = msg_flags; in sctp_ulpevent_init()
48 static struct sctp_ulpevent *sctp_ulpevent_new(int size, __u16 msg_flags, in sctp_ulpevent_new() argument
59 sctp_ulpevent_init(event, msg_flags, skb->truesize); in sctp_ulpevent_new()
70 return MSG_NOTIFICATION == (event->msg_flags & MSG_NOTIFICATION); in sctp_ulpevent_is_notification()
753 event->msg_flags |= chunk->chunk_hdr->flags; in sctp_ulpevent_make_rcvmsg()
/linux-6.1.9/net/core/
Dscm.c217 if (msg->msg_flags & MSG_CMSG_COMPAT) in put_cmsg()
221 msg->msg_flags |= MSG_CTRUNC; in put_cmsg()
225 msg->msg_flags |= MSG_CTRUNC; in put_cmsg()
301 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds()
310 if (msg->msg_flags & MSG_CMSG_COMPAT) { in scm_detach_fds()
339 msg->msg_flags |= MSG_CTRUNC; in scm_detach_fds()
/linux-6.1.9/drivers/net/can/peak_canfd/
Dpeak_canfd.c648 u16 msg_size, msg_flags; in peak_canfd_start_xmit() local
671 msg_flags = 0; in peak_canfd_start_xmit()
674 msg_flags |= PUCAN_MSG_EXT_ID; in peak_canfd_start_xmit()
684 msg_flags |= PUCAN_MSG_EXT_DATA_LEN; in peak_canfd_start_xmit()
687 msg_flags |= PUCAN_MSG_BITRATE_SWITCH; in peak_canfd_start_xmit()
690 msg_flags |= PUCAN_MSG_ERROR_STATE_IND; in peak_canfd_start_xmit()
696 msg_flags |= PUCAN_MSG_RTR; in peak_canfd_start_xmit()
700 msg_flags |= PUCAN_MSG_LOOPED_BACK; in peak_canfd_start_xmit()
704 msg_flags |= PUCAN_MSG_SELF_RECEIVE; in peak_canfd_start_xmit()
706 msg->flags = cpu_to_le16(msg_flags); in peak_canfd_start_xmit()
/linux-6.1.9/include/uapi/scsi/
Dscsi_bsg_mpi3mr.h470 __u8 msg_flags; member
486 __u8 msg_flags; member
508 __u8 msg_flags; member
537 __u8 msg_flags; member
/linux-6.1.9/net/phonet/
Ddatagram.c79 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pn_sendmsg()
93 msg->msg_flags & MSG_DONTWAIT, &err); in pn_sendmsg()
134 msg->msg_flags |= MSG_TRUNC; in pn_recvmsg()
/linux-6.1.9/tools/testing/selftests/net/openvswitch/
Dovs-dpctl.py105 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST
139 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
160 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
231 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST
/linux-6.1.9/drivers/media/common/siano/
Dsmsendian.c89 phdr->msg_flags = le16_to_cpu((__force __le16)phdr->msg_flags); in smsendian_handle_message_header()
/linux-6.1.9/net/sunrpc/
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.1.9/net/rds/
Drecv.c634 int msg_flags) in rds_recvmsg() argument
639 int ret = 0, nonblock = msg_flags & MSG_DONTWAIT; in rds_recvmsg()
647 rdsdebug("size %zu flags 0x%x timeo %ld\n", size, msg_flags, timeo); in rds_recvmsg()
649 if (msg_flags & MSG_OOB) in rds_recvmsg()
651 if (msg_flags & MSG_ERRQUEUE) in rds_recvmsg()
701 if (!rds_still_queued(rs, inc, !(msg_flags & MSG_PEEK))) { in rds_recvmsg()
710 if (msg_flags & MSG_TRUNC) in rds_recvmsg()
712 msg->msg_flags |= MSG_TRUNC; in rds_recvmsg()
/linux-6.1.9/net/smc/
Dsmc_tx.c170 if ((msg->msg_flags & MSG_MORE || in smc_tx_should_cork()
172 msg->msg_flags & MSG_SENDPAGE_NOTLAST) && in smc_tx_should_cork()
211 if (msg->msg_flags & MSG_OOB) in smc_tx_sendmsg()
222 if (msg->msg_flags & MSG_OOB) in smc_tx_sendmsg()
228 rc = smc_tx_wait(smc, msg->msg_flags); in smc_tx_sendmsg()
280 if ((msg->msg_flags & MSG_OOB) && !send_remaining) in smc_tx_sendmsg()
294 rc = sk_stream_error(sk, msg->msg_flags, rc); in smc_tx_sendmsg()
304 struct msghdr msg = {.msg_flags = flags}; in smc_tx_sendpage()
/linux-6.1.9/net/l2tp/
Dl2tp_ip6.c518 if (msg->msg_flags & MSG_OOB) in l2tp_ip6_sendmsg()
631 if (msg->msg_flags & MSG_CONFIRM) in l2tp_ip6_sendmsg()
639 msg->msg_flags); in l2tp_ip6_sendmsg()
642 else if (!(msg->msg_flags & MSG_MORE)) in l2tp_ip6_sendmsg()
654 if (msg->msg_flags & MSG_PROBE) in l2tp_ip6_sendmsg()
656 if (!(msg->msg_flags & MSG_PROBE) || len) in l2tp_ip6_sendmsg()
683 msg->msg_flags |= MSG_TRUNC; in l2tp_ip6_recvmsg()
/linux-6.1.9/net/
Dcompat.c42 kmsg->msg_flags = msg->msg_flags; in __get_compat_msghdr()
234 kmsg->msg_flags |= MSG_CTRUNC; in put_cmsg_compat()
262 kmsg->msg_flags |= MSG_CTRUNC; in put_cmsg_compat()
292 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds_compat()
321 msg->msg_flags |= MSG_CTRUNC; in scm_detach_fds_compat()
/linux-6.1.9/net/xfrm/
Despintcp.c153 msg->msg_flags |= MSG_TRUNC; in espintcp_recvmsg()
315 long timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg()
324 if (msg->msg_flags & ~MSG_DONTWAIT) in espintcp_sendmsg()
335 err = espintcp_push_msgs(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg()
337 if (err != -EAGAIN || !(msg->msg_flags & MSG_DONTWAIT)) in espintcp_sendmsg()
375 err = espintcp_push_msgs(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg()
/linux-6.1.9/net/ipv4/
Draw.c502 if (msg->msg_flags & MSG_OOB) /* Mirror BSD error message */ in raw_sendmsg()
575 if (msg->msg_flags & MSG_DONTROUTE) in raw_sendmsg()
627 if (msg->msg_flags & MSG_CONFIRM) in raw_sendmsg()
633 &rt, msg->msg_flags, &ipc.sockc); in raw_sendmsg()
641 &ipc, &rt, msg->msg_flags); in raw_sendmsg()
644 else if (!(msg->msg_flags & MSG_MORE)) { in raw_sendmsg()
662 if (msg->msg_flags & MSG_PROBE) in raw_sendmsg()
664 if (!(msg->msg_flags & MSG_PROBE) || len) in raw_sendmsg()
750 msg->msg_flags |= MSG_TRUNC; in raw_recvmsg()
/linux-6.1.9/net/ieee802154/
Dsocket.c249 if (msg->msg_flags & MSG_OOB) { in raw_sendmsg()
250 pr_debug("msg->msg_flags = 0x%x\n", msg->msg_flags); in raw_sendmsg()
283 msg->msg_flags & MSG_DONTWAIT, &err); in raw_sendmsg()
328 msg->msg_flags |= MSG_TRUNC; in raw_recvmsg()
620 if (msg->msg_flags & MSG_OOB) { in dgram_sendmsg()
621 pr_debug("msg->msg_flags = 0x%x\n", msg->msg_flags); in dgram_sendmsg()
662 msg->msg_flags & MSG_DONTWAIT, in dgram_sendmsg()
722 msg->msg_flags |= MSG_TRUNC; in dgram_recvmsg()
/linux-6.1.9/net/caif/
Dcaif_socket.c284 m->msg_flags |= MSG_TRUNC; in caif_seqpkt_recvmsg()
529 if (msg->msg_flags&MSG_OOB) in caif_seqpkt_sendmsg()
540 noblock = msg->msg_flags & MSG_DONTWAIT; in caif_seqpkt_sendmsg()
600 if (unlikely(msg->msg_flags&MSG_OOB)) in caif_stream_sendmsg()
606 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in caif_stream_sendmsg()
629 msg->msg_flags&MSG_DONTWAIT, in caif_stream_sendmsg()
650 msg->msg_flags&MSG_DONTWAIT, timeo); in caif_stream_sendmsg()
661 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL)) in caif_stream_sendmsg()
/linux-6.1.9/net/ipv6/
Draw.c453 msg->msg_flags |= MSG_TRUNC; in rawv6_recvmsg()
458 } else if (msg->msg_flags&MSG_TRUNC) { in rawv6_recvmsg()
763 if (msg->msg_flags & MSG_OOB) in rawv6_sendmsg()
909 if (msg->msg_flags&MSG_CONFIRM) in rawv6_sendmsg()
915 msg->msg_flags, &ipc6.sockc); in rawv6_sendmsg()
921 msg->msg_flags); in rawv6_sendmsg()
925 else if (!(msg->msg_flags & MSG_MORE)) in rawv6_sendmsg()
936 if (msg->msg_flags & MSG_PROBE) in rawv6_sendmsg()
938 if (!(msg->msg_flags & MSG_PROBE) || len) in rawv6_sendmsg()
/linux-6.1.9/tools/testing/selftests/net/
Dtcp_inq.c155 msg.msg_flags = 0; in main()
163 if (msg.msg_flags & MSG_CTRUNC) in main()
/linux-6.1.9/net/rxrpc/
Dsendmsg.c298 bool more = msg->msg_flags & MSG_MORE; in rxrpc_send_data()
301 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in rxrpc_send_data()
359 sk, bufsize, msg->msg_flags & MSG_DONTWAIT, &ret); in rxrpc_send_data()
474 if (msg->msg_flags & MSG_DONTWAIT) in rxrpc_send_data()
479 msg->msg_flags & MSG_WAITALL); in rxrpc_send_data()
519 if (msg->msg_flags & MSG_CMSG_COMPAT) { in rxrpc_sendmsg_cmsg()

1234567