Home
last modified time | relevance | path

Searched refs:msg_head (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/can/
Dbcm.c152 static bool bcm_is_invalid_tv(struct bcm_msg_head *msg_head) in bcm_is_invalid_tv() argument
154 if ((msg_head->ival1.tv_sec < 0) || in bcm_is_invalid_tv()
155 (msg_head->ival1.tv_sec > BCM_TIMER_SEC_MAX) || in bcm_is_invalid_tv()
156 (msg_head->ival1.tv_usec < 0) || in bcm_is_invalid_tv()
157 (msg_head->ival1.tv_usec >= USEC_PER_SEC) || in bcm_is_invalid_tv()
158 (msg_head->ival2.tv_sec < 0) || in bcm_is_invalid_tv()
159 (msg_head->ival2.tv_sec > BCM_TIMER_SEC_MAX) || in bcm_is_invalid_tv()
160 (msg_head->ival2.tv_usec < 0) || in bcm_is_invalid_tv()
161 (msg_head->ival2.tv_usec >= USEC_PER_SEC)) in bcm_is_invalid_tv()
404 struct bcm_msg_head msg_head; in bcm_tx_timeout_handler() local
[all …]
/kernel/linux/linux-5.10/net/hsr/
Dhsr_netlink.c190 void *msg_head; in hsr_nl_ringerror() local
198 msg_head = genlmsg_put(skb, 0, 0, &hsr_genl_family, 0, in hsr_nl_ringerror()
200 if (!msg_head) in hsr_nl_ringerror()
211 genlmsg_end(skb, msg_head); in hsr_nl_ringerror()
232 void *msg_head; in hsr_nl_nodedown() local
240 msg_head = genlmsg_put(skb, 0, 0, &hsr_genl_family, 0, HSR_C_NODE_DOWN); in hsr_nl_nodedown()
241 if (!msg_head) in hsr_nl_nodedown()
248 genlmsg_end(skb, msg_head); in hsr_nl_nodedown()
279 void *msg_head; in hsr_get_node_status() local
315 msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, in hsr_get_node_status()
[all …]
/kernel/linux/linux-5.10/fs/quota/
Dnetlink.c42 void *msg_head; in quota_send_warning() local
56 msg_head = genlmsg_put(skb, 0, atomic_add_return(1, &seq), in quota_send_warning()
58 if (!msg_head) { in quota_send_warning()
85 genlmsg_end(skb, msg_head); in quota_send_warning()
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dsocket_adapter.c961 struct hmdfs_msg_idr_head *msg_head = NULL; in hmdfs_response_handle_sync() local
966 msg_head = hmdfs_find_msg_head(con, msg_id); in hmdfs_response_handle_sync()
967 if (!msg_head) in hmdfs_response_handle_sync()
970 switch (msg_head->type) { in hmdfs_response_handle_sync()
972 msg_info = (struct sendmsg_wait_queue *)msg_head; in hmdfs_response_handle_sync()
986 mp = (struct hmdfs_msg_parasite *)msg_head; in hmdfs_response_handle_sync()
1004 msg_head->type, msg_id, cmd); in hmdfs_response_handle_sync()
/kernel/linux/linux-5.10/net/batman-adv/
Dnetlink.c714 void *msg_head; in batadv_netlink_tp_meter_start() local
735 msg_head = genlmsg_put(msg, info->snd_portid, info->snd_seq, in batadv_netlink_tp_meter_start()
738 if (!msg_head) { in batadv_netlink_tp_meter_start()
754 genlmsg_end(msg, msg_head); in batadv_netlink_tp_meter_start()
/kernel/linux/linux-5.10/drivers/block/
Dnbd.c2437 void *msg_head; in nbd_connect_reply() local
2443 msg_head = genlmsg_put_reply(skb, info, &nbd_genl_family, 0, in nbd_connect_reply()
2445 if (!msg_head) { in nbd_connect_reply()
2454 genlmsg_end(skb, msg_head); in nbd_connect_reply()
2461 void *msg_head; in nbd_mcast_index() local
2467 msg_head = genlmsg_put(skb, 0, 0, &nbd_genl_family, 0, in nbd_mcast_index()
2469 if (!msg_head) { in nbd_mcast_index()
2478 genlmsg_end(skb, msg_head); in nbd_mcast_index()
/kernel/linux/linux-5.10/Documentation/networking/
Dcan.rst869 struct bcm_msg_head msg_head;
874 mytxmsg.msg_head.nframes = 4;
918 struct bcm_msg_head msg_head;
922 msg.msg_head.opcode = RX_SETUP;
923 msg.msg_head.can_id = 0x42;
924 msg.msg_head.flags = 0;
925 msg.msg_head.nframes = 5;
947 struct bcm_msg_head msg_head;
951 msg.msg_head.opcode = RX_SETUP;
952 msg.msg_head.can_id = 0x42;
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/
Dmac80211_hwsim.c1129 void *msg_head; in mac80211_hwsim_config_mac_nl() local
1138 msg_head = genlmsg_put(skb, 0, 0, &hwsim_genl_family, 0, in mac80211_hwsim_config_mac_nl()
1141 if (!msg_head) { in mac80211_hwsim_config_mac_nl()
1153 genlmsg_end(skb, msg_head); in mac80211_hwsim_config_mac_nl()
1203 void *msg_head; in mac80211_hwsim_tx_frame_nl() local
1225 msg_head = genlmsg_put(skb, 0, 0, &hwsim_genl_family, 0, in mac80211_hwsim_tx_frame_nl()
1227 if (msg_head == NULL) { in mac80211_hwsim_tx_frame_nl()
1282 genlmsg_end(skb, msg_head); in mac80211_hwsim_tx_frame_nl()