/linux-5.19.10/net/can/ |
D | bcm.c | 152 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() 403 struct bcm_msg_head msg_head; in bcm_tx_timeout_handler() local [all …]
|
/linux-5.19.10/net/hsr/ |
D | hsr_netlink.c | 192 void *msg_head; in hsr_nl_ringerror() local 200 msg_head = genlmsg_put(skb, 0, 0, &hsr_genl_family, 0, in hsr_nl_ringerror() 202 if (!msg_head) in hsr_nl_ringerror() 213 genlmsg_end(skb, msg_head); in hsr_nl_ringerror() 234 void *msg_head; in hsr_nl_nodedown() local 242 msg_head = genlmsg_put(skb, 0, 0, &hsr_genl_family, 0, HSR_C_NODE_DOWN); in hsr_nl_nodedown() 243 if (!msg_head) in hsr_nl_nodedown() 250 genlmsg_end(skb, msg_head); in hsr_nl_nodedown() 281 void *msg_head; in hsr_get_node_status() local 317 msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, in hsr_get_node_status() [all …]
|
/linux-5.19.10/fs/quota/ |
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-5.19.10/drivers/net/wwan/iosm/ |
D | iosm_ipc_protocol.h | 65 phys_addr_t msg_head; member 99 __le32 msg_head; member
|
D | iosm_ipc_protocol.c | 261 p_ci->msg_head = addr + offsetof(struct ipc_protocol_ap_shm, msg_head); in ipc_protocol_init()
|
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-5.19.10/net/batman-adv/ |
D | netlink.c | 713 void *msg_head; in batadv_netlink_tp_meter_start() local 734 msg_head = genlmsg_put(msg, info->snd_portid, info->snd_seq, in batadv_netlink_tp_meter_start() 737 if (!msg_head) { in batadv_netlink_tp_meter_start() 753 genlmsg_end(msg, msg_head); in batadv_netlink_tp_meter_start()
|
/linux-5.19.10/drivers/block/ |
D | nbd.c | 2424 void *msg_head; in nbd_connect_reply() local 2430 msg_head = genlmsg_put_reply(skb, info, &nbd_genl_family, 0, in nbd_connect_reply() 2432 if (!msg_head) { in nbd_connect_reply() 2441 genlmsg_end(skb, msg_head); in nbd_connect_reply() 2448 void *msg_head; in nbd_mcast_index() local 2454 msg_head = genlmsg_put(skb, 0, 0, &nbd_genl_family, 0, in nbd_mcast_index() 2456 if (!msg_head) { in nbd_mcast_index() 2465 genlmsg_end(skb, msg_head); in nbd_mcast_index()
|
/linux-5.19.10/Documentation/networking/ |
D | can.rst | 906 struct bcm_msg_head msg_head; 911 mytxmsg.msg_head.nframes = 4; 955 struct bcm_msg_head msg_head; 959 msg.msg_head.opcode = RX_SETUP; 960 msg.msg_head.can_id = 0x42; 961 msg.msg_head.flags = 0; 962 msg.msg_head.nframes = 5; 984 struct bcm_msg_head msg_head; 988 msg.msg_head.opcode = RX_SETUP; 989 msg.msg_head.can_id = 0x42; [all …]
|
/linux-5.19.10/drivers/net/wireless/ |
D | mac80211_hwsim.c | 1271 void *msg_head; in mac80211_hwsim_config_mac_nl() local 1280 msg_head = genlmsg_put(skb, 0, 0, &hwsim_genl_family, 0, in mac80211_hwsim_config_mac_nl() 1283 if (!msg_head) { in mac80211_hwsim_config_mac_nl() 1295 genlmsg_end(skb, msg_head); in mac80211_hwsim_config_mac_nl() 1345 void *msg_head; in mac80211_hwsim_tx_frame_nl() local 1367 msg_head = genlmsg_put(skb, 0, 0, &hwsim_genl_family, 0, in mac80211_hwsim_tx_frame_nl() 1369 if (msg_head == NULL) { in mac80211_hwsim_tx_frame_nl() 1424 genlmsg_end(skb, msg_head); in mac80211_hwsim_tx_frame_nl()
|