/linux/security/selinux/ |
A D | netlink.c | 24 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()
|
/linux/include/linux/ |
A D | ptp_classify.h | 117 u8 msgtype; in ptp_get_msgtype() local 121 msgtype = hdr->control; in ptp_get_msgtype() 123 msgtype = hdr->tsmt & 0x0f; in ptp_get_msgtype() 126 return msgtype; in ptp_get_msgtype()
|
/linux/include/uapi/scsi/ |
A D | scsi_netlink.h | 32 __u16 msgtype; member 104 (hdr)->msgtype = mtype; \
|
/linux/include/net/ |
A D | rtnetlink.h | 16 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);
|
/linux/drivers/hv/ |
A D | channel_mgmt.c | 423 msg.header.msgtype = CHANNELMSG_RELID_RELEASED; in vmbus_release_relid() 840 if (hdr->msgtype == CHANNELMSG_UNLOAD_RESPONSE) in vmbus_wait_for_unload() 903 hdr.msgtype = CHANNELMSG_UNLOAD; in vmbus_initiate_unload() 1305 if (requestheader->msgtype == CHANNELMSG_OPENCHANNEL) { in vmbus_onopen_result() 1352 if (requestheader->msgtype == CHANNELMSG_GPADL_HEADER) { in vmbus_ongpadl_created() 1396 if (responseheader->msgtype == CHANNELMSG_MODIFYCHANNEL) { in vmbus_onmodifychannel_response() 1441 if (requestheader->msgtype == CHANNELMSG_GPADL_TEARDOWN) { in vmbus_ongpadl_torndown() 1484 if (requestheader->msgtype == in vmbus_onversion_response() 1545 channel_message_table[hdr->msgtype].message_handler(hdr); in vmbus_onmessage() 1565 msg->msgtype = CHANNELMSG_REQUESTOFFERS; in vmbus_request_offers()
|
A D | channel.c | 201 conn_msg.header.msgtype = CHANNELMSG_TL_CONNECT_REQUEST; in vmbus_send_tl_connect_request() 219 msg.header.msgtype = CHANNELMSG_MODIFYCHANNEL; in send_modifychannel_without_ack() 246 msg->header.msgtype = CHANNELMSG_MODIFYCHANNEL; in send_modifychannel_with_ack() 491 gpadlmsg->header.msgtype = CHANNELMSG_GPADL_HEADER; in __vmbus_establish_gpadl() 520 gpadl_body->header.msgtype = in __vmbus_establish_gpadl() 720 open_msg->header.msgtype = CHANNELMSG_OPENCHANNEL; in __vmbus_open() 845 msg->header.msgtype = CHANNELMSG_GPADL_TEARDOWN; in vmbus_teardown_gpadl() 946 msg->header.msgtype = CHANNELMSG_CLOSECHANNEL; in vmbus_close_internal()
|
A D | hv_trace.h | 14 TP_STRUCT__entry(__field(unsigned int, msgtype)), 15 TP_fast_assign(__entry->msgtype = hdr->msgtype;), 16 TP_printk("msgtype=%u", __entry->msgtype)
|
A D | vmbus_drv.c | 1078 enum vmbus_channel_message_type msgtype; in vmbus_on_msg_dpc() local 1105 msgtype = hdr->msgtype; in vmbus_on_msg_dpc() 1109 if (msgtype >= CHANNELMSG_COUNT) { in vmbus_on_msg_dpc() 1110 WARN_ONCE(1, "unknown msgtype=%d\n", msgtype); in vmbus_on_msg_dpc() 1120 entry = &channel_message_table[msgtype]; in vmbus_on_msg_dpc() 1126 WARN_ONCE(1, "message too short: msgtype=%d len=%d\n", msgtype, payload_size); in vmbus_on_msg_dpc() 1145 switch (msgtype) { in vmbus_on_msg_dpc() 1232 rescind->header.msgtype = CHANNELMSG_RESCIND_CHANNELOFFER; in vmbus_force_channel_rescinded()
|
A D | connection.c | 85 msg->header.msgtype = CHANNELMSG_INITIATE_CONTACT; in vmbus_negotiate_version() 488 if (hdr->msgtype == CHANNELMSG_INITIATE_CONTACT) in vmbus_post_msg()
|
/linux/drivers/scsi/ |
A D | scsi_netlink.c | 82 switch (hdr->msgtype) { in scsi_nl_rcv_msg() 93 __func__, hdr->msgtype, err); in scsi_nl_rcv_msg()
|
A D | nsp32.c | 1939 unsigned char msgtype; in nsp32_msgin_occur() local 1953 msgtype = data->msginbuf[0]; in nsp32_msgin_occur() 1956 data->msgin_len, msg, msgtype); in nsp32_msgin_occur() 1970 if (msgtype & 0x80) { in nsp32_msgin_occur() 1976 newlun = msgtype & 0x1f; /* TODO: SPI-3 compliant? */ in nsp32_msgin_occur() 1990 switch (msgtype) { in nsp32_msgin_occur() 2066 "unsupported message: 0x%x", msgtype); in nsp32_msgin_occur() 2219 msg, data->msgin_len, msgtype); in nsp32_msgin_occur()
|
/linux/drivers/ptp/ |
A D | ptp_ines.c | 440 u8 msgtype; in ines_match() local 450 msgtype = ptp_get_msgtype(hdr, ptp_class); in ines_match() 455 if (tag_to_msgtype(ts->tag & 0x7) != msgtype) { in ines_match() 457 tag_to_msgtype(ts->tag & 0x7), msgtype); in ines_match() 673 u8 msgtype; in is_sync_pdelay_resp() local 679 msgtype = ptp_get_msgtype(hdr, type); in is_sync_pdelay_resp() 681 switch (msgtype) { in is_sync_pdelay_resp()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | msgbuf.c | 76 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()
|
/linux/drivers/net/phy/ |
A D | dp83640.c | 84 u16 msgtype; /* messageType[3:0], hash[11:0] */ member 99 u8 msgtype; member 283 rxts->msgtype = (p->msgtype >> 12) & 0xf; in phy2rxts() 284 rxts->hash = p->msgtype & 0x0fff; in phy2rxts() 815 u8 msgtype; in match() local 825 msgtype = ptp_get_msgtype(hdr, type); in match() 827 if (rxts->msgtype != (msgtype & 0xf)) in match()
|
/linux/drivers/net/ethernet/ti/ |
A D | cpts.c | 450 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()
|
A D | am65-cpts.c | 754 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()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc.c | 94 u8 *msgtype, u8 *twostep, in enetc_ptp_parse() argument 116 *msgtype = ptp_get_msgtype(hdr, ptp_class); in enetc_ptp_parse() 134 u8 msgtype, twostep, udp; in enetc_map_tx_buffs() local 164 if (enetc_ptp_parse(skb, &udp, &msgtype, &twostep, &offset1, in enetc_map_tx_buffs() 166 msgtype != PTP_MSGTYPE_SYNC || twostep) in enetc_map_tx_buffs() 632 u8 udp, msgtype, twostep; in enetc_xmit() local 645 if (enetc_ptp_parse(skb, &udp, &msgtype, &twostep, in enetc_xmit() 647 msgtype != PTP_MSGTYPE_SYNC || twostep != 0) in enetc_xmit()
|
/linux/net/core/ |
A D | rtnetlink.c | 144 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 rcu_dereference_rtnl(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 287 int rtnl_unregister(int protocol, int msgtype) in rtnl_unregister() argument [all …]
|
/linux/kernel/ |
A D | audit.h | 340 extern int audit_filter(int msgtype, unsigned int listtype);
|
A D | auditfilter.c | 1329 int audit_filter(int msgtype, unsigned int listtype) in audit_filter() argument 1363 result = audit_comparator(msgtype, f->op, f->val); in audit_filter()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-eth.c | 657 u8 *msgtype, u8 *twostep, u8 *udp, in dpaa2_eth_ptp_parse() argument 674 *msgtype = ptp_get_msgtype(hdr, ptp_class); in dpaa2_eth_ptp_parse() 699 u8 msgtype, twostep, udp; in dpaa2_eth_enable_tx_tstamp() local 724 if (dpaa2_eth_ptp_parse(skb, &msgtype, &twostep, &udp, in dpaa2_eth_enable_tx_tstamp() 726 msgtype != PTP_MSGTYPE_SYNC || twostep) { in dpaa2_eth_enable_tx_tstamp() 1234 u8 msgtype, twostep, udp; in dpaa2_eth_tx() local 1249 if (!dpaa2_eth_ptp_parse(skb, &msgtype, &twostep, &udp, in dpaa2_eth_tx() 1251 if (msgtype == PTP_MSGTYPE_SYNC && twostep == 0) { in dpaa2_eth_tx()
|
/linux/drivers/media/usb/tm6000/ |
A D | tm6000-cards.c | 1146 char *msgtype, in get_max_endpoint() argument 1163 msgtype, curr_e->desc.bEndpointAddress, in get_max_endpoint()
|
/linux/drivers/media/common/siano/ |
A D | smscoreapi.h | 1105 char *smscore_translate_msg(enum msg_types msgtype);
|
A D | smscoreapi.c | 372 char *smscore_translate_msg(enum msg_types msgtype) in smscore_translate_msg() argument 374 int i = msgtype - MSG_TYPE_BASE_VAL; in smscore_translate_msg()
|
/linux/drivers/net/ethernet/mscc/ |
A D | ocelot.c | 745 u8 msgtype, twostep; in ocelot_ptp_is_onestep_sync() local 751 msgtype = ptp_get_msgtype(hdr, ptp_class); in ocelot_ptp_is_onestep_sync() 754 if (msgtype == PTP_MSGTYPE_SYNC && twostep == 0) in ocelot_ptp_is_onestep_sync()
|