Home
last modified time | relevance | path

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

/Linux-v4.19/security/selinux/
Dnetlink.c27 static int selnl_msglen(int msgtype) in selnl_msglen() argument
31 switch (msgtype) { in selnl_msglen()
46 static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data) in selnl_add_payload() argument
48 switch (msgtype) { in selnl_add_payload()
70 static void selnl_notify(int msgtype, void *data) in selnl_notify() argument
77 len = selnl_msglen(msgtype); in selnl_notify()
84 nlh = nlmsg_put(skb, 0, 0, msgtype, len, 0); in selnl_notify()
87 selnl_add_payload(nlh, len, msgtype, data); in selnl_notify()
/Linux-v4.19/drivers/hv/
Dchannel_mgmt.c381 msg.header.msgtype = CHANNELMSG_RELID_RELEASED; in vmbus_release_relid()
745 if (hdr->msgtype == CHANNELMSG_UNLOAD_RESPONSE) in vmbus_wait_for_unload()
791 hdr.msgtype = CHANNELMSG_UNLOAD; in vmbus_initiate_unload()
1007 if (requestheader->msgtype == CHANNELMSG_OPENCHANNEL) { in vmbus_onopen_result()
1054 if (requestheader->msgtype == CHANNELMSG_GPADL_HEADER) { in vmbus_ongpadl_created()
1103 if (requestheader->msgtype == CHANNELMSG_GPADL_TEARDOWN) { in vmbus_ongpadl_torndown()
1146 if (requestheader->msgtype == in vmbus_onversion_response()
1200 if (hdr->msgtype >= CHANNELMSG_COUNT) { in vmbus_onmessage()
1202 hdr->msgtype, size); in vmbus_onmessage()
1208 if (channel_message_table[hdr->msgtype].message_handler) in vmbus_onmessage()
[all …]
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.c175 open_msg->header.msgtype = CHANNELMSG_OPENCHANNEL; in vmbus_open()
258 conn_msg.header.msgtype = CHANNELMSG_TL_CONNECT_REQUEST; in vmbus_send_tl_connect_request()
440 gpadlmsg->header.msgtype = CHANNELMSG_GPADL_HEADER; in vmbus_establish_gpadl()
469 gpadl_body->header.msgtype = in vmbus_establish_gpadl()
527 msg->header.msgtype = CHANNELMSG_GPADL_TEARDOWN; in vmbus_teardown_gpadl()
626 msg->header.msgtype = CHANNELMSG_CLOSECHANNEL; in vmbus_close_internal()
Dconnection.c88 msg->header.msgtype = CHANNELMSG_INITIATE_CONTACT; in vmbus_negotiate_version()
415 if (hdr->msgtype == CHANNELMSG_INITIATE_CONTACT) in vmbus_post_msg()
Dvmbus_drv.c857 if (hdr->msgtype >= CHANNELMSG_COUNT) { in vmbus_on_msg_dpc()
858 WARN_ONCE(1, "unknown msgtype=%d\n", hdr->msgtype); in vmbus_on_msg_dpc()
862 entry = &channel_message_table[hdr->msgtype]; in vmbus_on_msg_dpc()
877 switch (hdr->msgtype) { in vmbus_on_msg_dpc()
/Linux-v4.19/include/uapi/scsi/
Dscsi_netlink.h47 uint16_t msgtype; member
119 (hdr)->msgtype = mtype; \
/Linux-v4.19/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);
/Linux-v4.19/drivers/scsi/
Dscsi_netlink.c96 switch (hdr->msgtype) { in scsi_nl_rcv_msg()
107 __func__, hdr->msgtype, err); in scsi_nl_rcv_msg()
Dnsp32.c1938 unsigned char msgtype; in nsp32_msgin_occur() local
1952 msgtype = data->msginbuf[0]; in nsp32_msgin_occur()
1955 data->msgin_len, msg, msgtype); in nsp32_msgin_occur()
1969 if (msgtype & 0x80) { in nsp32_msgin_occur()
1975 newlun = msgtype & 0x1f; /* TODO: SPI-3 compliant? */ in nsp32_msgin_occur()
1989 switch (msgtype) { in nsp32_msgin_occur()
2065 "unsupported message: 0x%x", msgtype); in nsp32_msgin_occur()
2218 msg, data->msgin_len, msgtype); in nsp32_msgin_occur()
/Linux-v4.19/drivers/net/phy/
Ddp83640.c89 u16 msgtype; /* messageType[3:0], hash[11:0] */ member
104 u8 msgtype; member
287 rxts->msgtype = (p->msgtype >> 12) & 0xf; in phy2rxts()
288 rxts->hash = p->msgtype & 0x0fff; in phy2rxts()
802 u8 *msgtype, *data = skb_mac_header(skb); in match() local
827 msgtype = data + offset + OFF_PTP_CONTROL; in match()
829 msgtype = data + offset; in match()
830 if (rxts->msgtype != (*msgtype & 0xf)) in match()
973 u8 *data = skb->data, *msgtype; in is_sync() local
999 msgtype = data + offset; in is_sync()
[all …]
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c85 u8 msgtype; member
442 request->msg.msgtype = MSGBUF_TYPE_IOCTLPTR_REQ; in brcmf_msgbuf_tx_ioctl()
610 create->msg.msgtype = MSGBUF_TYPE_FLOW_RING_CREATE; in brcmf_msgbuf_flowring_create_worker()
731 tx_msghdr->msg.msgtype = MSGBUF_TYPE_TX_POST; in brcmf_msgbuf_txflow()
943 rx_bufpost->msg.msgtype = MSGBUF_TYPE_RXBUF_POST; in brcmf_msgbuf_rxbuf_data_post()
1039 rx_bufpost->msg.msgtype = MSGBUF_TYPE_EVENT_BUF_POST; in brcmf_msgbuf_rxbuf_ctrl_post()
1041 rx_bufpost->msg.msgtype = in brcmf_msgbuf_rxbuf_ctrl_post()
1243 switch (msg->msgtype) { in brcmf_msgbuf_process_msgtype()
1272 brcmf_err("Unsupported msgtype %d\n", msg->msgtype); in brcmf_msgbuf_process_msgtype()
1365 delete->msg.msgtype = MSGBUF_TYPE_FLOW_RING_DELETE; in brcmf_msgbuf_delete_flowring()
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpts.c326 u8 *msgtype, *data = skb->data; in cpts_match() local
349 msgtype = data + offset + OFF_PTP_CONTROL; in cpts_match()
351 msgtype = data + offset; in cpts_match()
355 return (ts_msgtype == (*msgtype & 0xf) && ts_seqid == ntohs(*seqid)); in cpts_match()
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c364 static int is_pdelay_resp(u8 *msgtype) in is_pdelay_resp() argument
366 return (*msgtype & 0xf) == 3; in is_pdelay_resp()
/Linux-v4.19/net/core/
Drtnetlink.c143 static inline int rtm_msgindex(int msgtype) in rtm_msgindex() argument
145 int msgindex = msgtype - RTM_BASE; in rtm_msgindex()
157 static struct rtnl_link *rtnl_get_link(int protocol, int msgtype) in rtnl_get_link() argument
168 return tab[msgtype]; in rtnl_get_link()
172 int protocol, int msgtype, in rtnl_register_internal() argument
182 msgindex = rtm_msgindex(msgtype); in rtnl_register_internal()
241 int protocol, int msgtype, in rtnl_register_module() argument
245 return rtnl_register_internal(owner, protocol, msgtype, in rtnl_register_module()
266 void rtnl_register(int protocol, int msgtype, in rtnl_register() argument
272 err = rtnl_register_internal(NULL, protocol, msgtype, doit, dumpit, in rtnl_register()
[all …]
/Linux-v4.19/kernel/
Daudit.h333 extern int audit_filter(int msgtype, unsigned int listtype);
Dauditfilter.c1312 int audit_filter(int msgtype, unsigned int listtype) in audit_filter() argument
1348 result = audit_comparator(msgtype, f->op, f->val); in audit_filter()
/Linux-v4.19/drivers/media/usb/tm6000/
Dtm6000-cards.c1146 char *msgtype, in get_max_endpoint() argument
1163 msgtype, curr_e->desc.bEndpointAddress, in get_max_endpoint()
/Linux-v4.19/drivers/media/common/siano/
Dsmscoreapi.h1121 char *smscore_translate_msg(enum msg_types msgtype);
Dsmscoreapi.c380 char *smscore_translate_msg(enum msg_types msgtype) in smscore_translate_msg() argument
382 int i = msgtype - MSG_TYPE_BASE_VAL; in smscore_translate_msg()
/Linux-v4.19/include/linux/
Dhyperv.h435 enum vmbus_channel_message_type msgtype; member
/Linux-v4.19/fs/ocfs2/cluster/
Dtcp.c148 static void o2net_init_nst(struct o2net_send_tracking *nst, u32 msgtype, in o2net_init_nst() argument
153 nst->st_msg_type = msgtype; in o2net_init_nst()
/Linux-v4.19/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c1229 int msgtype = (bulk->dir == VCHIQ_BULK_TRANSMIT) ? in notify_bulks() local
1231 int msgid = VCHIQ_MAKE_MSG(msgtype, service->localport, in notify_bulks()