| /linux/net/can/ |
| H A D | bcm.c | 166 static bool bcm_is_invalid_tv(struct bcm_msg_head *msg_head) in bcm_is_invalid_tv() argument 168 if ((msg_head->ival1.tv_sec < 0) || in bcm_is_invalid_tv() 169 (msg_head->ival1.tv_sec > BCM_TIMER_SEC_MAX) || in bcm_is_invalid_tv() 170 (msg_head->ival1.tv_usec < 0) || in bcm_is_invalid_tv() 171 (msg_head->ival1.tv_usec >= USEC_PER_SEC) || in bcm_is_invalid_tv() 172 (msg_head->ival2.tv_sec < 0) || in bcm_is_invalid_tv() 173 (msg_head->ival2.tv_sec > BCM_TIMER_SEC_MAX) || in bcm_is_invalid_tv() 174 (msg_head->ival2.tv_usec < 0) || in bcm_is_invalid_tv() 175 (msg_head->ival2.tv_usec >= USEC_PER_SEC)) in bcm_is_invalid_tv() 452 struct bcm_msg_head msg_head; in bcm_tx_timeout_handler() local 614 struct bcm_msg_head msg_head; bcm_rx_timeout_handler() local 899 bcm_read_op(struct list_head * ops,struct bcm_msg_head * msg_head,int ifindex) bcm_read_op() argument 922 bcm_tx_setup(struct bcm_msg_head * msg_head,struct msghdr * msg,int ifindex,struct sock * sk) bcm_tx_setup() argument 1109 bcm_rx_setup(struct bcm_msg_head * msg_head,struct msghdr * msg,int ifindex,struct sock * sk) bcm_rx_setup() argument 1367 struct bcm_msg_head msg_head; bcm_sendmsg() local [all...] |
| /linux/net/hsr/ |
| H A D | hsr_netlink.c | 228 void *msg_head; in hsr_nl_ringerror() local 236 msg_head = genlmsg_put(skb, 0, 0, &hsr_genl_family, 0, in hsr_nl_ringerror() 238 if (!msg_head) in hsr_nl_ringerror() 249 genlmsg_end(skb, msg_head); in hsr_nl_ringerror() 270 void *msg_head; in hsr_nl_nodedown() local 278 msg_head = genlmsg_put(skb, 0, 0, &hsr_genl_family, 0, HSR_C_NODE_DOWN); in hsr_nl_nodedown() 279 if (!msg_head) in hsr_nl_nodedown() 286 genlmsg_end(skb, msg_head); in hsr_nl_nodedown() 317 void *msg_head; in hsr_get_node_status() local 353 msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, in hsr_get_node_status() [all …]
|
| /linux/fs/quota/ |
| H A D | netlink.c | 42 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()
|
| /linux/drivers/net/wwan/iosm/ |
| H A D | iosm_ipc_protocol.h | 65 phys_addr_t msg_head; member 99 __le32 msg_head; member
|
| H A D | iosm_ipc_protocol.c | 261 p_ci->msg_head = addr + offsetof(struct ipc_protocol_ap_shm, msg_head); in ipc_protocol_init()
|
| H A D | iosm_ipc_protocol_ops.c | 13 u32 head = le32_to_cpu(ipc_protocol->p_ap_shm->msg_head); in ipc_protocol_free_msg_get() 38 u32 head = le32_to_cpu(ipc_protocol->p_ap_shm->msg_head); in ipc_protocol_msg_hp_update() 42 ipc_protocol->p_ap_shm->msg_head = cpu_to_le32(new_head); in ipc_protocol_msg_hp_update()
|
| /linux/drivers/block/ |
| H A D | nbd.c | 2590 void *msg_head; in nbd_connect_reply() local 2596 msg_head = genlmsg_put_reply(skb, info, &nbd_genl_family, 0, in nbd_connect_reply() 2598 if (!msg_head) { in nbd_connect_reply() 2607 genlmsg_end(skb, msg_head); in nbd_connect_reply() 2614 void *msg_head; in nbd_mcast_index() local 2620 msg_head = genlmsg_put(skb, 0, 0, &nbd_genl_family, 0, in nbd_mcast_index() 2622 if (!msg_head) { in nbd_mcast_index() 2631 genlmsg_end(skb, msg_head); in nbd_mcast_index()
|
| /linux/Documentation/networking/ |
| H A D | can.rst | 908 struct bcm_msg_head msg_head; 913 mytxmsg.msg_head.nframes = 4; 957 struct bcm_msg_head msg_head; 961 msg.msg_head.opcode = RX_SETUP; 962 msg.msg_head.can_id = 0x42; 963 msg.msg_head.flags = 0; 964 msg.msg_head.nframes = 5; 986 struct bcm_msg_head msg_head; 990 msg.msg_head.opcode = RX_SETUP; 991 msg.msg_head.can_id = 0x42; [all …]
|
| /linux/drivers/net/wireless/virtual/ |
| H A D | mac80211_hwsim.c | 1458 void *msg_head; in mac80211_hwsim_config_mac_nl() local 1469 msg_head = genlmsg_put(skb, 0, 0, &hwsim_genl_family, 0, in mac80211_hwsim_config_mac_nl() 1472 if (!msg_head) { in mac80211_hwsim_config_mac_nl() 1484 genlmsg_end(skb, msg_head); in mac80211_hwsim_config_mac_nl() 1534 void *msg_head; in mac80211_hwsim_tx_frame_nl() local 1556 msg_head = genlmsg_put(skb, 0, 0, &hwsim_genl_family, 0, in mac80211_hwsim_tx_frame_nl() 1558 if (msg_head == NULL) { in mac80211_hwsim_tx_frame_nl() 1613 genlmsg_end(skb, msg_head); in mac80211_hwsim_tx_frame_nl() 3580 void *msg_head; in mac80211_hwsim_start_pmsr() local 3603 msg_head = genlmsg_put(skb, 0, 0, &hwsim_genl_family, 0, HWSIM_CMD_START_PMSR); in mac80211_hwsim_start_pmsr() [all …]
|