/linux-6.12.1/drivers/misc/sgi-gru/ |
D | grukservices.c | 529 struct message_header *mhdr = p + GRU_CACHE_LINE_BYTES; in get_present2() local 530 return mhdr->present; in get_present2() 535 struct message_header *mhdr = p + GRU_CACHE_LINE_BYTES; in restore_present2() local 536 mhdr->present = val; in restore_present2() 584 struct message_header save_mhdr, *mhdr = mesg; in send_noop_message() local 587 save_mhdr = *mhdr; in send_noop_message() 588 *mhdr = noop_header; in send_noop_message() 589 gru_mesq(cb, mqd->mq_gpa, gru_get_tri(mhdr), 1, IMA); in send_noop_message() 628 *mhdr = save_mhdr; in send_noop_message() 797 struct message_header *mhdr; in gru_send_message_gpa() local [all …]
|
/linux-6.12.1/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 117 #define CMSG_NXTHDR(mhdr, cmsg) cmsg_nxthdr((mhdr), (cmsg)) argument 132 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ argument 134 ((mhdr)->msg_controllen - \ 135 ((char *)(cmsg) - (char *)(mhdr)->msg_control)))
|
/linux-6.12.1/include/linux/ |
D | socket.h | 117 #define CMSG_NXTHDR(mhdr, cmsg) cmsg_nxthdr((mhdr), (cmsg)) argument 132 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ argument 134 ((mhdr)->msg_controllen - \ 135 ((char *)(cmsg) - (char *)(mhdr)->msg_control)))
|
/linux-6.12.1/net/tipc/ |
D | msg.c | 372 int tipc_msg_build(struct tipc_msg *mhdr, struct msghdr *m, int offset, in tipc_msg_build() argument 375 int mhsz = msg_hdr_sz(mhdr); in tipc_msg_build() 386 msg_set_size(mhdr, msz); in tipc_msg_build() 396 rc = tipc_msg_build(mhdr, m, offset, dsz, in tipc_msg_build() 406 skb_copy_to_linear_data(skb, mhdr, mhsz); in tipc_msg_build() 415 tipc_msg_init(msg_prevnode(mhdr), &pkthdr, MSG_FRAGMENTER, in tipc_msg_build() 416 FIRST_FRAGMENT, INT_H_SIZE, msg_destnode(mhdr)); in tipc_msg_build() 419 msg_set_importance(&pkthdr, msg_importance(mhdr)); in tipc_msg_build() 431 skb_copy_to_linear_data_offset(skb, INT_H_SIZE, mhdr, mhsz); in tipc_msg_build()
|
D | msg.h | 1171 int tipc_msg_build(struct tipc_msg *mhdr, struct msghdr *m,
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | xsk.c | 301 static int netlink_recvmsg(int sock, struct msghdr *mhdr, int flags) in netlink_recvmsg() argument 306 len = recvmsg(sock, mhdr, flags); in netlink_recvmsg() 332 struct msghdr mhdr = { in netlink_recv() local 347 len = netlink_recvmsg(sock, &mhdr, MSG_PEEK | MSG_TRUNC); in netlink_recv() 359 len = netlink_recvmsg(sock, &mhdr, 0); in netlink_recv()
|
/linux-6.12.1/tools/lib/bpf/ |
D | netlink.c | 106 static int netlink_recvmsg(int sock, struct msghdr *mhdr, int flags) in netlink_recvmsg() argument 111 len = recvmsg(sock, mhdr, flags); in netlink_recvmsg() 137 struct msghdr mhdr = { in libbpf_netlink_recv() local 153 len = netlink_recvmsg(sock, &mhdr, MSG_PEEK | MSG_TRUNC); in libbpf_netlink_recv() 165 len = netlink_recvmsg(sock, &mhdr, 0); in libbpf_netlink_recv()
|
/linux-6.12.1/drivers/net/ethernet/brocade/bna/ |
D | bfa_msgq.h | 84 typedef void (*bfa_msgq_mcfunc_t)(void *cbarg, struct bfi_msgq_mhdr *mhdr);
|
/linux-6.12.1/net/ |
D | compat.c | 119 #define CMSG_COMPAT_OK(ucmlen, ucmsg, mhdr) \ argument 122 ((mhdr)->msg_controllen - \ 123 ((char __user *)(ucmsg) - (char __user *)(mhdr)->msg_control_user)))
|
/linux-6.12.1/drivers/net/wireless/quantenna/qtnfmac/ |
D | qlink.h | 343 struct qlink_msg_header mhdr; member 1008 struct qlink_msg_header mhdr; member 1256 struct qlink_msg_header mhdr; member
|
D | event.c | 688 event_len = le16_to_cpu(event->mhdr.len); in qtnf_event_parse() 773 le16_to_cpu(event->event_id), le16_to_cpu(event->mhdr.len), in qtnf_event_process_skb()
|
D | commands.c | 43 if (unlikely(le16_to_cpu(resp->mhdr.len) < resp_size)) { in qtnf_cmd_check_reply_header() 46 le16_to_cpu(resp->mhdr.len), resp_size); in qtnf_cmd_check_reply_header() 96 cmd->mhdr.len = cpu_to_le16(cmd_skb->len); in qtnf_cmd_send_with_reply() 125 *var_resp_size = le16_to_cpu(resp->mhdr.len) - const_resp_size; in qtnf_cmd_send_with_reply() 164 cmd->mhdr.len = cpu_to_le16(cmd_skb->len); in qtnf_cmd_alloc_new_cmdskb() 165 cmd->mhdr.type = cpu_to_le16(QLINK_MSG_TYPE_CMD); in qtnf_cmd_alloc_new_cmdskb()
|
/linux-6.12.1/drivers/net/mctp/ |
D | mctp-i2c.c | 585 struct mctp_hdr *mhdr; in mctp_i2c_header_create() local 600 mhdr = mctp_hdr(skb); in mctp_i2c_header_create() 605 mhdr->ver = 0x01; in mctp_i2c_header_create()
|
/linux-6.12.1/drivers/scsi/bfa/ |
D | bfa_svc.c | 1104 switch (msg->mhdr.msg_id) { in bfa_fcxp_isr() 1110 bfa_trc(bfa, msg->mhdr.msg_id); in bfa_fcxp_isr() 1960 bfa_trc(bfa, m->mhdr.msg_id); in bfa_lps_isr() 1963 switch (m->mhdr.msg_id) { in bfa_lps_isr() 1977 bfa_trc(bfa, m->mhdr.msg_id); in bfa_lps_isr() 3533 bfa_trc(bfa, msg->mhdr.msg_id); in bfa_fcport_isr() 3536 switch (msg->mhdr.msg_id) { in bfa_fcport_isr() 4969 bfa_trc(bfa, m->mhdr.msg_id); in bfa_rport_isr() 4973 switch (m->mhdr.msg_id) { in bfa_rport_isr() 5012 bfa_trc(bfa, m->mhdr.msg_id); in bfa_rport_isr() [all …]
|
D | bfa_core.c | 726 WARN_ON(m->mhdr.msg_class >= BFI_MC_MAX); in bfa_isr_rspq() 728 bfa_isrs[m->mhdr.msg_class] (bfa, m); in bfa_isr_rspq() 892 bfa_trc(bfa, m->mhdr.msg_class); in bfa_isr_unhandled() 893 bfa_trc(bfa, m->mhdr.msg_id); in bfa_isr_unhandled() 894 bfa_trc(bfa, m->mhdr.mtag.i2htok); in bfa_isr_unhandled()
|
D | bfa_fcpim.h | 280 struct bfi_mhdr_s mhdr; /* pre-built mhdr */ member
|
D | bfi_ms.h | 308 struct bfi_mhdr_s *mhdr; member
|
D | bfi.h | 161 struct bfi_mhdr_s mhdr; member
|
D | bfa_fcpim.c | 1310 bfa_trc(bfa, m->mhdr.msg_id); in bfa_itnim_isr() 1314 switch (m->mhdr.msg_id) { in bfa_itnim_isr() 1339 bfa_trc(bfa, m->mhdr.msg_id); in bfa_itnim_isr()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_discovery.c | 551 struct mall_info_header *mhdr = in amdgpu_discovery_init() local 554 if (le32_to_cpu(mhdr->table_id) != MALL_INFO_TABLE_ID) { in amdgpu_discovery_init() 561 le32_to_cpu(mhdr->size_bytes), checksum)) { in amdgpu_discovery_init()
|