/Linux-v6.6/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() 404 struct bcm_msg_head msg_head; in bcm_tx_timeout_handler() local [all …]
|
/Linux-v6.6/net/hsr/ |
D | hsr_netlink.c | 190 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 …]
|
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/block/ |
D | nbd.c | 2432 void *msg_head; in nbd_connect_reply() local 2438 msg_head = genlmsg_put_reply(skb, info, &nbd_genl_family, 0, in nbd_connect_reply() 2440 if (!msg_head) { in nbd_connect_reply() 2449 genlmsg_end(skb, msg_head); in nbd_connect_reply() 2456 void *msg_head; in nbd_mcast_index() local 2462 msg_head = genlmsg_put(skb, 0, 0, &nbd_genl_family, 0, in nbd_mcast_index() 2464 if (!msg_head) { in nbd_mcast_index() 2473 genlmsg_end(skb, msg_head); in nbd_mcast_index()
|
/Linux-v6.6/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-v6.6/drivers/net/wireless/virtual/ |
D | mac80211_hwsim.c | 1415 void *msg_head; in mac80211_hwsim_config_mac_nl() local 1426 msg_head = genlmsg_put(skb, 0, 0, &hwsim_genl_family, 0, in mac80211_hwsim_config_mac_nl() 1429 if (!msg_head) { in mac80211_hwsim_config_mac_nl() 1441 genlmsg_end(skb, msg_head); in mac80211_hwsim_config_mac_nl() 1491 void *msg_head; in mac80211_hwsim_tx_frame_nl() local 1513 msg_head = genlmsg_put(skb, 0, 0, &hwsim_genl_family, 0, in mac80211_hwsim_tx_frame_nl() 1515 if (msg_head == NULL) { in mac80211_hwsim_tx_frame_nl() 1570 genlmsg_end(skb, msg_head); in mac80211_hwsim_tx_frame_nl() 3404 void *msg_head; in mac80211_hwsim_start_pmsr() local 3427 msg_head = genlmsg_put(skb, 0, 0, &hwsim_genl_family, 0, HWSIM_CMD_START_PMSR); in mac80211_hwsim_start_pmsr() [all …]
|