Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/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
68 u8 msg_flags; member
/linux-6.6.21/io_uring/
Dnet.c62 unsigned msg_flags; member
215 ret = sendmsg_copy_msghdr(&iomsg->msg, sr->umsg, sr->msg_flags, in io_sendmsg_copy_hdr()
290 sr->msg_flags = READ_ONCE(sqe->msg_flags) | MSG_NOSIGNAL; in io_sendmsg_prep()
291 if (sr->msg_flags & MSG_DONTWAIT) in io_sendmsg_prep()
296 sr->msg_flags |= MSG_CMSG_COMPAT; in io_sendmsg_prep()
329 flags = sr->msg_flags; in io_sendmsg()
406 flags = sr->msg_flags; in io_send()
413 msg.msg_flags = flags; in io_send()
593 sr->msg_flags = READ_ONCE(sqe->msg_flags); in io_recvmsg_prep()
594 if (sr->msg_flags & MSG_DONTWAIT) in io_recvmsg_prep()
[all …]
/linux-6.6.21/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.c106 if (event->msg_flags & MSG_EOR) in sctp_ulpq_tail_data()
114 event_eor = (event->msg_flags & MSG_EOR) ? 1 : 0; in sctp_ulpq_tail_data()
221 if ((event->msg_flags & MSG_NOTIFICATION) || in sctp_ulpq_tail_event()
223 (event->msg_flags & SCTP_DATA_FRAG_MASK))) in sctp_ulpq_tail_event()
226 clear_pd = event->msg_flags & MSG_EOR; in sctp_ulpq_tail_event()
429 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_ulpq_retrieve_reassembled()
496 retval->msg_flags |= MSG_EOR; in sctp_ulpq_retrieve_reassembled()
526 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_ulpq_retrieve_partial()
562 retval->msg_flags |= MSG_EOR; in sctp_ulpq_retrieve_partial()
577 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.6.21/net/core/
Dscm.c224 if (msg->msg_flags & MSG_CMSG_COMPAT) in put_cmsg()
228 msg->msg_flags |= MSG_CTRUNC; in put_cmsg()
232 msg->msg_flags |= MSG_CTRUNC; in put_cmsg()
313 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds()
322 if (msg->msg_flags & MSG_CMSG_COMPAT) { in scm_detach_fds()
351 msg->msg_flags |= MSG_CTRUNC; in scm_detach_fds()
/linux-6.6.21/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.6.21/net/xfrm/
Despintcp.c154 msg->msg_flags |= MSG_TRUNC; in espintcp_recvmsg()
209 .msg_flags = flags | MSG_SPLICE_PAGES | MSG_MORE, in espintcp_sendskmsg_locked()
227 msghdr.msg_flags &= ~MSG_MORE; in espintcp_sendskmsg_locked()
322 long timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg()
331 if (msg->msg_flags & ~MSG_DONTWAIT) in espintcp_sendmsg()
342 err = espintcp_push_msgs(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg()
344 if (err != -EAGAIN || !(msg->msg_flags & MSG_DONTWAIT)) in espintcp_sendmsg()
382 err = espintcp_push_msgs(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg()
/linux-6.6.21/include/uapi/scsi/
Dscsi_bsg_mpi3mr.h464 __u8 msg_flags; member
480 __u8 msg_flags; member
502 __u8 msg_flags; member
531 __u8 msg_flags; member
/linux-6.6.21/net/phonet/
Ddatagram.c76 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pn_sendmsg()
90 msg->msg_flags & MSG_DONTWAIT, &err); in pn_sendmsg()
131 msg->msg_flags |= MSG_TRUNC; in pn_recvmsg()
/linux-6.6.21/drivers/media/common/siano/
Dsmsendian.c89 phdr->msg_flags = le16_to_cpu((__force __le16)phdr->msg_flags); in smsendian_handle_message_header()
/linux-6.6.21/net/rds/
Dtcp_send.c63 .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL, in rds_tcp_sendmsg()
116 msg.msg_flags = MSG_SPLICE_PAGES | MSG_DONTWAIT | MSG_NOSIGNAL; in rds_tcp_xmit()
118 msg.msg_flags |= MSG_MORE; in rds_tcp_xmit()
Drecv.c635 int msg_flags) in rds_recvmsg() argument
640 int ret = 0, nonblock = msg_flags & MSG_DONTWAIT; in rds_recvmsg()
648 rdsdebug("size %zu flags 0x%x timeo %ld\n", size, msg_flags, timeo); in rds_recvmsg()
650 if (msg_flags & MSG_OOB) in rds_recvmsg()
652 if (msg_flags & MSG_ERRQUEUE) in rds_recvmsg()
702 if (!rds_still_queued(rs, inc, !(msg_flags & MSG_PEEK))) { in rds_recvmsg()
711 if (msg_flags & MSG_TRUNC) in rds_recvmsg()
713 msg->msg_flags |= MSG_TRUNC; in rds_recvmsg()
/linux-6.6.21/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.6.21/include/net/
Dscm.h132 if (msg->msg_flags & MSG_CMSG_COMPAT) in scm_pidfd_recv()
138 msg->msg_flags |= MSG_CTRUNC; in scm_pidfd_recv()
167 msg->msg_flags |= MSG_CTRUNC; in __scm_recv_common()
/linux-6.6.21/crypto/
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()
192 msg->msg_flags |= MSG_TRUNC; in hash_recvmsg()
/linux-6.6.21/drivers/nvme/target/
Dtcp.c582 .msg_flags = MSG_DONTWAIT | MSG_MORE | MSG_SPLICE_PAGES, in nvmet_try_send_data_pdu()
613 .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, in nvmet_try_send_data()
622 msg.msg_flags |= MSG_MORE; in nvmet_try_send_data()
662 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, }; in nvmet_try_send_response()
669 msg.msg_flags |= MSG_MORE; in nvmet_try_send_response()
671 msg.msg_flags |= MSG_EOR; in nvmet_try_send_response()
692 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, }; in nvmet_try_send_r2t()
699 msg.msg_flags |= MSG_MORE; in nvmet_try_send_r2t()
701 msg.msg_flags |= MSG_EOR; in nvmet_try_send_r2t()
722 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_try_send_ddgst()
[all …]
/linux-6.6.21/net/l2tp/
Dl2tp_ip6.c512 if (msg->msg_flags & MSG_OOB) in l2tp_ip6_sendmsg()
625 if (msg->msg_flags & MSG_CONFIRM) in l2tp_ip6_sendmsg()
634 msg->msg_flags); in l2tp_ip6_sendmsg()
637 else if (!(msg->msg_flags & MSG_MORE)) in l2tp_ip6_sendmsg()
649 if (msg->msg_flags & MSG_PROBE) in l2tp_ip6_sendmsg()
651 if (!(msg->msg_flags & MSG_PROBE) || len) in l2tp_ip6_sendmsg()
678 msg->msg_flags |= MSG_TRUNC; in l2tp_ip6_recvmsg()
/linux-6.6.21/net/
Dcompat.c42 kmsg->msg_flags = msg->msg_flags; in __get_compat_msghdr()
236 kmsg->msg_flags |= MSG_CTRUNC; in put_cmsg_compat()
264 kmsg->msg_flags |= MSG_CTRUNC; in put_cmsg_compat()
294 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds_compat()
323 msg->msg_flags |= MSG_CTRUNC; in scm_detach_fds_compat()
/linux-6.6.21/tools/testing/selftests/net/openvswitch/
Dovs-dpctl.py1492 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST
1535 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1556 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1647 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST
1674 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1702 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1720 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1903 msg_flags=NLM_F_REQUEST | NLM_F_ACK,
1929 msg_flags=NLM_F_REQUEST | NLM_F_ACK,
1954 msg_flags = NLM_F_REQUEST | NLM_F_ACK
[all …]
/linux-6.6.21/net/ipv4/
Dtcp_bpf.c110 msghdr.msg_flags = flags | MSG_SPLICE_PAGES; in tcp_bpf_push()
113 msghdr.msg_flags |= MSG_SENDPAGE_NOPOLICY; in tcp_bpf_push()
116 msghdr.msg_flags |= MSG_MORE; in tcp_bpf_push()
504 flags = (msg->msg_flags & ~MSG_SENDPAGE_DECRYPTED); in tcp_bpf_sendmsg()
512 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in tcp_bpf_sendmsg()
577 err = sk_stream_error(sk, msg->msg_flags, err); in tcp_bpf_sendmsg()
/linux-6.6.21/net/smc/
Dsmc_tx.c170 if ((msg->msg_flags & MSG_MORE || in smc_tx_should_cork()
210 if (msg->msg_flags & MSG_OOB) in smc_tx_sendmsg()
221 if (msg->msg_flags & MSG_OOB) in smc_tx_sendmsg()
227 rc = smc_tx_wait(smc, msg->msg_flags); in smc_tx_sendmsg()
279 if ((msg->msg_flags & MSG_OOB) && !send_remaining) in smc_tx_sendmsg()
293 rc = sk_stream_error(sk, msg->msg_flags, rc); in smc_tx_sendmsg()
/linux-6.6.21/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()
618 if (msg->msg_flags & MSG_OOB) { in dgram_sendmsg()
619 pr_debug("msg->msg_flags = 0x%x\n", msg->msg_flags); in dgram_sendmsg()
660 msg->msg_flags & MSG_DONTWAIT, in dgram_sendmsg()
720 msg->msg_flags |= MSG_TRUNC; in dgram_recvmsg()

1234567