Home
last modified time | relevance | path

Searched defs:cmsg (Results 1 – 25 of 81) sorted by relevance

1234

/kernel/linux/linux-6.6/net/handshake/
Dalert.c39 struct cmsghdr *cmsg; in tls_alert_send() local
74 u8 tls_get_record_type(const struct sock *sk, const struct cmsghdr *cmsg) in tls_get_record_type()
/kernel/linux/linux-5.10/drivers/md/
Dmd-cluster.c504 static void process_add_new_disk(struct mddev *mddev, struct cluster_msg *cmsg) in process_add_new_disk()
734 static int __sendmsg(struct md_cluster_info *cinfo, struct cluster_msg *cmsg) in __sendmsg()
785 static int sendmsg(struct md_cluster_info *cinfo, struct cluster_msg *cmsg, in sendmsg()
982 struct cluster_msg cmsg = {0}; in resync_bitmap() local
1077 struct cluster_msg cmsg; in metadata_update_finish() local
1111 struct cluster_msg cmsg = {0}; in update_bitmap_size() local
1257 struct cluster_msg cmsg; in update_size() local
1342 struct cluster_msg cmsg = {0}; in resync_info_update() local
1409 struct cluster_msg cmsg; in add_new_disk() local
1477 struct cluster_msg cmsg = {0}; in remove_disk() local
[all …]
/kernel/linux/linux-6.6/drivers/md/
Dmd-cluster.c504 static void process_add_new_disk(struct mddev *mddev, struct cluster_msg *cmsg) in process_add_new_disk()
737 static int __sendmsg(struct md_cluster_info *cinfo, struct cluster_msg *cmsg) in __sendmsg()
788 static int sendmsg(struct md_cluster_info *cinfo, struct cluster_msg *cmsg, in sendmsg()
986 struct cluster_msg cmsg = {0}; in resync_bitmap() local
1081 struct cluster_msg cmsg; in metadata_update_finish() local
1115 struct cluster_msg cmsg = {0}; in update_bitmap_size() local
1267 struct cluster_msg cmsg; in update_size() local
1349 struct cluster_msg cmsg = {0}; in resync_info_update() local
1416 struct cluster_msg cmsg; in add_new_disk() local
1484 struct cluster_msg cmsg = {0}; in remove_disk() local
[all …]
/kernel/linux/linux-6.6/drivers/isdn/capi/
Dcapiutil.c234 static void jumpcstruct(_cmsg *cmsg) in jumpcstruct()
466 static _cdebbuf *protocol_message_2_pars(_cdebbuf *cdb, _cmsg *cmsg, int level) in protocol_message_2_pars()
587 _cmsg *cmsg; in capi_message2str() local
659 _cdebbuf *capi_cmsg2str(_cmsg *cmsg) in capi_cmsg2str()
/kernel/linux/linux-5.10/drivers/isdn/capi/
Dcapiutil.c234 static void jumpcstruct(_cmsg *cmsg) in jumpcstruct()
466 static _cdebbuf *protocol_message_2_pars(_cdebbuf *cdb, _cmsg *cmsg, int level) in protocol_message_2_pars()
587 _cmsg *cmsg; in capi_message2str() local
659 _cdebbuf *capi_cmsg2str(_cmsg *cmsg) in capi_cmsg2str()
/kernel/linux/linux-5.10/tools/testing/selftests/android/ion/
Dipcsocket.c110 struct cmsghdr *cmsg; in sendtosocket() local
166 struct cmsghdr *cmsg; in receivefromsocket() local
/kernel/linux/linux-6.6/net/rds/
Drdma.c612 struct cmsghdr *cmsg, in rds_cmsg_rdma_args()
812 struct cmsghdr *cmsg) in rds_cmsg_rdma_dest()
855 struct cmsghdr *cmsg) in rds_cmsg_rdma_map()
869 struct cmsghdr *cmsg) in rds_cmsg_atomic()
Dsend.c891 struct cmsghdr *cmsg; in rds_rm_size() local
971 struct cmsghdr *cmsg) in rds_cmsg_zcopy()
987 struct cmsghdr *cmsg; in rds_cmsg_send() local
1080 struct cmsghdr *cmsg; in rds_rdma_bytes() local
/kernel/linux/linux-5.10/net/rds/
Drdma.c609 struct cmsghdr *cmsg, in rds_cmsg_rdma_args()
809 struct cmsghdr *cmsg) in rds_cmsg_rdma_dest()
852 struct cmsghdr *cmsg) in rds_cmsg_rdma_map()
866 struct cmsghdr *cmsg) in rds_cmsg_atomic()
Dsend.c892 struct cmsghdr *cmsg; in rds_rm_size() local
972 struct cmsghdr *cmsg) in rds_cmsg_zcopy()
988 struct cmsghdr *cmsg; in rds_cmsg_send() local
1081 struct cmsghdr *cmsg; in rds_rdma_bytes() local
/kernel/linux/linux-5.10/samples/seccomp/
Duser-trap.c35 struct cmsghdr *cmsg; in send_fd() local
64 struct cmsghdr *cmsg; in recv_fd() local
/kernel/linux/linux-6.6/samples/seccomp/
Duser-trap.c35 struct cmsghdr *cmsg; in send_fd() local
64 struct cmsghdr *cmsg; in recv_fd() local
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dudpgso_bench_tx.c139 static void flush_cmsg(struct cmsghdr *cmsg) in flush_cmsg()
216 struct cmsghdr *cmsg; in flush_errqueue_recv() local
339 struct cmsghdr *cmsg; in send_udp_sendmmsg() local
396 struct cmsghdr *cmsg; in send_udp_segment() local
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dudpgso_bench_tx.c139 static void flush_cmsg(struct cmsghdr *cmsg) in flush_cmsg()
216 struct cmsghdr *cmsg; in flush_errqueue_recv() local
339 struct cmsghdr *cmsg; in send_udp_sendmmsg() local
396 struct cmsghdr *cmsg; in send_udp_segment() local
Dcmsg_sender.c220 struct cmsghdr *cmsg; in ca_write_cmsg_u32() local
239 struct cmsghdr *cmsg; in cs_write_cmsg() local
333 struct cmsghdr *cmsg; in cs_read_cmsg() local
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
Dsocket.h205 #define __CMSG_LEN(cmsg) (((cmsg)->cmsg_len + sizeof(long) - 1) & ~(long)(sizeof(long) - 1)) argument
206 #define __CMSG_NEXT(cmsg) ((unsigned char *)(cmsg) + __CMSG_LEN(cmsg)) argument
209 #define CMSG_DATA(cmsg) ((unsigned char *) (((struct cmsghdr *)(cmsg)) + 1)) argument
210 #define CMSG_NXTHDR(mhdr, cmsg) ((cmsg)->cmsg_len < sizeof (struct cmsghdr) || \ argument
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/
Dcommon.h214 struct cmsghdr *cmsg; in recv_fd() local
248 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&msg); in send_fd() local
/kernel/linux/linux-5.10/include/linux/
Dsocket.h106 #define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg)) argument
107 #define CMSG_NXTHDR(mhdr, cmsg) cmsg_nxthdr((mhdr), (cmsg)) argument
111 #define CMSG_DATA(cmsg) \ argument
113 #define CMSG_USER_DATA(cmsg) \ argument
122 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ argument
126 #define for_each_cmsghdr(cmsg, msg) \ argument
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/
Dsocket.h103 #define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg)) argument
104 #define CMSG_NXTHDR(mhdr, cmsg) cmsg_nxthdr((mhdr), (cmsg)) argument
108 #define CMSG_DATA(cmsg) \ argument
110 #define CMSG_USER_DATA(cmsg) \ argument
119 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ argument
123 #define for_each_cmsghdr(cmsg, msg) \ argument
/kernel/linux/linux-6.6/tools/perf/trace/beauty/include/linux/
Dsocket.h115 #define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg)) argument
116 #define CMSG_NXTHDR(mhdr, cmsg) cmsg_nxthdr((mhdr), (cmsg)) argument
120 #define CMSG_DATA(cmsg) \ argument
122 #define CMSG_USER_DATA(cmsg) \ argument
131 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ argument
135 #define for_each_cmsghdr(cmsg, msg) \ argument
/kernel/linux/linux-6.6/include/linux/
Dsocket.h115 #define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg)) argument
116 #define CMSG_NXTHDR(mhdr, cmsg) cmsg_nxthdr((mhdr), (cmsg)) argument
120 #define CMSG_DATA(cmsg) \ argument
122 #define CMSG_USER_DATA(cmsg) \ argument
131 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ argument
135 #define for_each_cmsghdr(cmsg, msg) \ argument
/kernel/linux/linux-5.10/net/core/
Dscm.c66 static int scm_fp_copy(struct cmsghdr *cmsg, struct scm_fp_list **fplp) in scm_fp_copy()
139 struct cmsghdr *cmsg; in __scm_send() local
/kernel/linux/linux-6.6/net/core/
Dscm.c67 static int scm_fp_copy(struct cmsghdr *cmsg, struct scm_fp_list **fplp) in scm_fp_copy()
151 struct cmsghdr *cmsg; in __scm_send() local
/kernel/linux/linux-6.6/net/
Dcompat.c107 #define CMSG_COMPAT_DATA(cmsg) \ argument
125 static inline struct compat_cmsghdr __user *cmsg_compat_nxthdr(struct msghdr *msg, in cmsg_compat_nxthdr()
184 struct compat_cmsghdr cmsg; in cmsghdr_from_user_compat_to_kern() local
/kernel/linux/linux-5.10/net/
Dcompat.c109 #define CMSG_COMPAT_DATA(cmsg) \ argument
127 static inline struct compat_cmsghdr __user *cmsg_compat_nxthdr(struct msghdr *msg, in cmsg_compat_nxthdr()
186 struct compat_cmsghdr cmsg; in cmsghdr_from_user_compat_to_kern() local

1234