Home
last modified time | relevance | path

Searched refs:msgtype (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/security/selinux/
Dnetlink.c24 static int selnl_msglen(int msgtype) in selnl_msglen() argument
28 switch (msgtype) { in selnl_msglen()
43 static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data) in selnl_add_payload() argument
45 switch (msgtype) { in selnl_add_payload()
67 static void selnl_notify(int msgtype, void *data) in selnl_notify() argument
74 len = selnl_msglen(msgtype); in selnl_notify()
81 nlh = nlmsg_put(skb, 0, 0, msgtype, len, 0); in selnl_notify()
84 selnl_add_payload(nlh, len, msgtype, data); in selnl_notify()
/kernel/linux/linux-5.10/include/linux/
Dptp_classify.h111 u8 msgtype; in ptp_get_msgtype() local
115 msgtype = hdr->control; in ptp_get_msgtype()
117 msgtype = hdr->tsmt & 0x0f; in ptp_get_msgtype()
120 return msgtype; in ptp_get_msgtype()
Dhyperv.h485 enum vmbus_channel_message_type msgtype; member
/kernel/linux/linux-5.10/include/uapi/scsi/
Dscsi_netlink.h32 __u16 msgtype; member
104 (hdr)->msgtype = mtype; \
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/scsi/
Dscsi_netlink.h30 __u16 msgtype; member
50 …I_NL_VERSION; (hdr)->transport = t; (hdr)->magic = SCSI_NL_MAGIC; (hdr)->msgtype = mtype; (hdr)->m…
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/scsi/
Dscsi_netlink.h18 uint16_t msgtype; member
45 (hdr)->msgtype = mtype; \
/kernel/linux/linux-5.10/include/net/
Drtnetlink.h16 void rtnl_register(int protocol, int msgtype,
18 int rtnl_register_module(struct module *owner, int protocol, int msgtype,
20 int rtnl_unregister(int protocol, int msgtype);
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_netlink.c82 switch (hdr->msgtype) { in scsi_nl_rcv_msg()
93 __func__, hdr->msgtype, err); in scsi_nl_rcv_msg()
Dnsp32.c1928 unsigned char msgtype; in nsp32_msgin_occur() local
1942 msgtype = data->msginbuf[0]; in nsp32_msgin_occur()
1945 data->msgin_len, msg, msgtype); in nsp32_msgin_occur()
1959 if (msgtype & 0x80) { in nsp32_msgin_occur()
1965 newlun = msgtype & 0x1f; /* TODO: SPI-3 compliant? */ in nsp32_msgin_occur()
1979 switch (msgtype) { in nsp32_msgin_occur()
2055 "unsupported message: 0x%x", msgtype); in nsp32_msgin_occur()
2208 msg, data->msgin_len, msgtype); in nsp32_msgin_occur()
/kernel/linux/linux-5.10/drivers/hv/
Dchannel_mgmt.c393 msg.header.msgtype = CHANNELMSG_RELID_RELEASED; in vmbus_release_relid()
778 if (hdr->msgtype == CHANNELMSG_UNLOAD_RESPONSE) in vmbus_wait_for_unload()
836 hdr.msgtype = CHANNELMSG_UNLOAD; in vmbus_initiate_unload()
1205 if (requestheader->msgtype == CHANNELMSG_OPENCHANNEL) { in vmbus_onopen_result()
1252 if (requestheader->msgtype == CHANNELMSG_GPADL_HEADER) { in vmbus_ongpadl_created()
1301 if (requestheader->msgtype == CHANNELMSG_GPADL_TEARDOWN) { in vmbus_ongpadl_torndown()
1344 if (requestheader->msgtype == in vmbus_onversion_response()
1403 channel_message_table[hdr->msgtype].message_handler(hdr); in vmbus_onmessage()
1423 msg->msgtype = CHANNELMSG_REQUESTOFFERS; in vmbus_request_offers()
Dhv_trace.h14 TP_STRUCT__entry(__field(unsigned int, msgtype)),
15 TP_fast_assign(__entry->msgtype = hdr->msgtype;),
16 TP_printk("msgtype=%u", __entry->msgtype)
Dchannel.c200 conn_msg.header.msgtype = CHANNELMSG_TL_CONNECT_REQUEST; in vmbus_send_tl_connect_request()
228 conn_msg.header.msgtype = CHANNELMSG_MODIFYCHANNEL; in vmbus_send_modifychannel()
416 gpadlmsg->header.msgtype = CHANNELMSG_GPADL_HEADER; in __vmbus_establish_gpadl()
445 gpadl_body->header.msgtype = in __vmbus_establish_gpadl()
563 open_msg->header.msgtype = CHANNELMSG_OPENCHANNEL; in __vmbus_open()
687 msg->header.msgtype = CHANNELMSG_GPADL_TEARDOWN; in vmbus_teardown_gpadl()
780 msg->header.msgtype = CHANNELMSG_CLOSECHANNEL; in vmbus_close_internal()
Dconnection.c80 msg->header.msgtype = CHANNELMSG_INITIATE_CONTACT; in vmbus_negotiate_version()
395 if (hdr->msgtype == CHANNELMSG_INITIATE_CONTACT) in vmbus_post_msg()
Dvmbus_drv.c1076 if (hdr->msgtype >= CHANNELMSG_COUNT) { in vmbus_on_msg_dpc()
1077 WARN_ONCE(1, "unknown msgtype=%d\n", hdr->msgtype); in vmbus_on_msg_dpc()
1087 entry = &channel_message_table[hdr->msgtype]; in vmbus_on_msg_dpc()
1094 hdr->msgtype, msg->header.payload_size); in vmbus_on_msg_dpc()
1115 switch (hdr->msgtype) { in vmbus_on_msg_dpc()
1202 rescind->header.msgtype = CHANNELMSG_RESCIND_CHANNELOFFER; in vmbus_force_channel_rescinded()
/kernel/linux/linux-5.10/drivers/ptp/
Dptp_ines.c445 u8 msgtype; in ines_match() local
455 msgtype = ptp_get_msgtype(hdr, ptp_class); in ines_match()
460 if (tag_to_msgtype(ts->tag & 0x7) != msgtype) { in ines_match()
462 tag_to_msgtype(ts->tag & 0x7), msgtype); in ines_match()
678 u8 msgtype; in is_sync_pdelay_resp() local
684 msgtype = ptp_get_msgtype(hdr, type); in is_sync_pdelay_resp()
686 switch ((msgtype & 0xf)) { in is_sync_pdelay_resp()
/kernel/linux/linux-5.10/drivers/net/phy/
Ddp83640.c76 u16 msgtype; /* messageType[3:0], hash[11:0] */ member
91 u8 msgtype; member
275 rxts->msgtype = (p->msgtype >> 12) & 0xf; in phy2rxts()
276 rxts->hash = p->msgtype & 0x0fff; in phy2rxts()
806 u8 msgtype; in match() local
816 msgtype = ptp_get_msgtype(hdr, type); in match()
818 if (rxts->msgtype != (msgtype & 0xf)) in match()
967 u8 msgtype; in is_sync() local
973 msgtype = ptp_get_msgtype(hdr, type); in is_sync()
975 return (msgtype & 0xf) == 0; in is_sync()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c76 u8 msgtype; member
449 request->msg.msgtype = MSGBUF_TYPE_IOCTLPTR_REQ; in brcmf_msgbuf_tx_ioctl()
619 create->msg.msgtype = MSGBUF_TYPE_FLOW_RING_CREATE; in brcmf_msgbuf_flowring_create_worker()
741 tx_msghdr->msg.msgtype = MSGBUF_TYPE_TX_POST; in brcmf_msgbuf_txflow()
954 rx_bufpost->msg.msgtype = MSGBUF_TYPE_RXBUF_POST; in brcmf_msgbuf_rxbuf_data_post()
1051 rx_bufpost->msg.msgtype = MSGBUF_TYPE_EVENT_BUF_POST; in brcmf_msgbuf_rxbuf_ctrl_post()
1053 rx_bufpost->msg.msgtype = in brcmf_msgbuf_rxbuf_ctrl_post()
1287 switch (msg->msgtype) { in brcmf_msgbuf_process_msgtype()
1324 bphy_err(drvr, "Unsupported msgtype %d\n", msg->msgtype); in brcmf_msgbuf_process_msgtype()
1424 delete->msg.msgtype = MSGBUF_TYPE_FLOW_RING_DELETE; in brcmf_msgbuf_delete_flowring()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpts.c450 u8 msgtype; in cpts_skb_get_mtype_seqid() local
460 msgtype = ptp_get_msgtype(hdr, ptp_class); in cpts_skb_get_mtype_seqid()
463 *mtype_seqid = (msgtype & MESSAGE_TYPE_MASK) << MESSAGE_TYPE_SHIFT; in cpts_skb_get_mtype_seqid()
Dam65-cpts.c754 u8 msgtype; in am65_skb_get_mtype_seqid() local
764 msgtype = ptp_get_msgtype(hdr, ptp_class); in am65_skb_get_mtype_seqid()
767 *mtype_seqid = (msgtype << AM65_CPTS_EVENT_1_MESSAGE_TYPE_SHIFT) & in am65_skb_get_mtype_seqid()
/kernel/linux/linux-5.10/kernel/
Daudit.h330 extern int audit_filter(int msgtype, unsigned int listtype);
Dauditfilter.c1320 int audit_filter(int msgtype, unsigned int listtype) in audit_filter() argument
1354 result = audit_comparator(msgtype, f->op, f->val); in audit_filter()
/kernel/linux/linux-5.10/net/core/
Drtnetlink.c144 static inline int rtm_msgindex(int msgtype) in rtm_msgindex() argument
146 int msgindex = msgtype - RTM_BASE; in rtm_msgindex()
158 static struct rtnl_link *rtnl_get_link(int protocol, int msgtype) in rtnl_get_link() argument
169 return tab[msgtype]; in rtnl_get_link()
173 int protocol, int msgtype, in rtnl_register_internal() argument
183 msgindex = rtm_msgindex(msgtype); in rtnl_register_internal()
242 int protocol, int msgtype, in rtnl_register_module() argument
246 return rtnl_register_internal(owner, protocol, msgtype, in rtnl_register_module()
267 void rtnl_register(int protocol, int msgtype, in rtnl_register() argument
273 err = rtnl_register_internal(NULL, protocol, msgtype, doit, dumpit, in rtnl_register()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c630 u8 *msgtype, u8 *twostep, u8 *udp, in dpaa2_eth_ptp_parse() argument
647 *msgtype = ptp_get_msgtype(hdr, ptp_class); in dpaa2_eth_ptp_parse()
672 u8 msgtype, twostep, udp; in dpaa2_eth_enable_tx_tstamp() local
697 if (dpaa2_eth_ptp_parse(skb, &msgtype, &twostep, &udp, in dpaa2_eth_enable_tx_tstamp()
699 msgtype != 0 || twostep) { in dpaa2_eth_enable_tx_tstamp()
1208 u8 msgtype, twostep, udp; in dpaa2_eth_tx() local
1223 if (!dpaa2_eth_ptp_parse(skb, &msgtype, &twostep, &udp, in dpaa2_eth_tx()
1225 if (msgtype == 0 && twostep == 0) { in dpaa2_eth_tx()
/kernel/linux/linux-5.10/drivers/media/usb/tm6000/
Dtm6000-cards.c1146 char *msgtype, in get_max_endpoint() argument
1163 msgtype, curr_e->desc.bEndpointAddress, in get_max_endpoint()
/kernel/linux/linux-5.10/drivers/media/common/siano/
Dsmscoreapi.h1110 char *smscore_translate_msg(enum msg_types msgtype);

12