/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/drivers/net/ethernet/huawei/hinic3/ |
H A D | hinic3_nic_cfg.c | 30 if (err || feature_nego.msg_head.status) { in hinic3_feature_nego() 32 err, feature_nego.msg_head.status); in hinic3_feature_nego() 75 if (err || cmd_func_tbl.msg_head.status) { in hinic3_set_function_table() 78 cfg_bitmap, err, cmd_func_tbl.msg_head.status); in hinic3_set_function_table() 128 if (err || hinic3_check_mac_info(hwdev, mac_info.msg_head.status, in hinic3_set_mac() 132 err, mac_info.msg_head.status); in hinic3_set_mac() 136 if (mac_info.msg_head.status == MGMT_STATUS_PF_SET_VF_ALREADY) { in hinic3_set_mac() 141 if (mac_info.msg_head.status == MGMT_STATUS_EXIST) { in hinic3_set_mac() 173 err, mac_info.msg_head.status); in hinic3_del_mac() 202 if (err || hinic3_check_mac_info(hwdev, mac_info.msg_head in hinic3_update_mac() [all...] |
H A D | hinic3_mgmt_interface.h | 14 struct mgmt_msg_head msg_head; member 34 struct mgmt_msg_head msg_head; member 42 struct mgmt_msg_head msg_head; member 50 struct mgmt_msg_head msg_head; member 60 struct mgmt_msg_head msg_head; member
|
/linux/net/hsr/ |
H A D | hsr_netlink.c | 214 void *msg_head; in hsr_nl_ringerror() local 222 msg_head = genlmsg_put(skb, 0, 0, &hsr_genl_family, 0, in hsr_nl_ringerror() 224 if (!msg_head) in hsr_nl_ringerror() 235 genlmsg_end(skb, msg_head); in hsr_nl_ringerror() 256 void *msg_head; in hsr_nl_nodedown() local 264 msg_head = genlmsg_put(skb, 0, 0, &hsr_genl_family, 0, HSR_C_NODE_DOWN); in hsr_nl_nodedown() 265 if (!msg_head) in hsr_nl_nodedown() 272 genlmsg_end(skb, msg_head); in hsr_nl_nodedown() 303 void *msg_head; in hsr_get_node_status() local 339 msg_head in hsr_get_node_status() 440 void *msg_head; hsr_get_node_list() local [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 | 50 * @msg_head: 64 bit address to message head pointer 65 phys_addr_t msg_head; member 89 * @msg_head: Point to msg head 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/net/batman-adv/ |
H A D | netlink.c | 709 void *msg_head; in batadv_netlink_tp_meter_start() local 730 msg_head = genlmsg_put(msg, info->snd_portid, info->snd_seq, in batadv_netlink_tp_meter_start() 733 if (!msg_head) { in batadv_netlink_tp_meter_start() 749 genlmsg_end(msg, msg_head); in batadv_netlink_tp_meter_start()
|
/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 [all...] |