Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/hyperv/netvsc_drv.c netvsc_change_mtu() -> netvsc_detach()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 ndev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ndev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ndev->ip6_ptr->dev->ndisc_ops->opt_addr_space 1-u64max
PARAM_VALUE 0 ndev->ip6_ptr->dev->ndisc_ops->update 4096-ptr_max
PARAM_VALUE 0 ndev->ip6_ptr->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,33-34,50
PARAM_VALUE 0 ndev->ip6_ptr->dev->rtnl_link_ops->priv_size 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max
PARAM_VALUE 0 ndev->netdev_ops->ndo_add_slave 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_bpf 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_bridge_dellink 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_bridge_getlink 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_bridge_setlink 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_change_carrier 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_change_rx_flags 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_del_slave 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_dfwd_add_station 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_dfwd_del_station 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_do_ioctl 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_eth_ioctl 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fcoe_ddp_done 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fcoe_ddp_setup 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fcoe_ddp_target 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fcoe_disable 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fcoe_enable 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fcoe_get_hbainfo 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fcoe_get_wwn 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fdb_add 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fdb_del 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fdb_del_bulk 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fdb_dump 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fdb_get 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_features_check 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fill_forward_path 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fill_metadata_dst 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_fix_features 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_get_iflink 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_get_offload_stats 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_get_peer_dev 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_get_phys_port_id 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_get_stats 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_get_tstamp 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_get_vf_config 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_get_vf_guid 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_get_vf_port 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_get_vf_stats 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_get_xmit_slave 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_has_offload_stats 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_hwtstamp_get 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_hwtstamp_set 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_init 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_mdb_add 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_mdb_del 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_mdb_del_bulk 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_mdb_dump 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_mdb_get 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_neigh_construct 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_neigh_destroy 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_neigh_setup 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_netpoll_cleanup 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_netpoll_setup 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_poll_controller 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_rx_flow_steer 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_select_queue 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_config 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_features 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_rx_headroom 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_rx_mode_async 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_tx_maxrate 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_vf_guid 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_vf_link_state 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_vf_mac 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_vf_port 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_vf_rate 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_vf_rss_query_en 0,1019673683845902336,7002417609677762560
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_vf_spoofchk 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_vf_trust 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_set_vf_vlan 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_setup_tc 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_siocbond 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_siocdevprivate 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_siocwandev 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_sk_get_lower_dev 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_tunnel_ctl 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_uninit 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_validate_addr 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_vlan_rx_add_vid 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_vlan_rx_kill_vid 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_work 0,4222982197278961664
PARAM_VALUE 0 ndev->netdev_ops->ndo_xdp_xmit 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->ndo_xsk_wakeup 0,4096-ptr_max
PARAM_VALUE 0 ndev->netdev_ops->net_shaper_ops 0,4096-ptr_max
PARAM_VALUE 0 ndev->npinfo->dev_lock.first_waiter->up 0-1
PARAM_VALUE 0 ndev->queues_kset->uevent_ops->filter 0,373046650179297280,860499173621964800,1717398205889331200
PARAM_VALUE 0 ndev->queues_kset->uevent_ops->name 0,6398784740152971264
PARAM_VALUE 0 ndev->queues_kset->uevent_ops->uevent 0,2247312485184778240,3182165088870064128,8288671758023974912,8922156833707364352
PARAM_VALUE 0 ndev->rtnl_link_ops->alloc 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->changelink 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->dellink 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->fill_info 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->fill_linkxstats 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->fill_slave_info 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->fill_xstats 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->get_link_net 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->get_num_rx_queues 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->get_num_tx_queues 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->get_size 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->get_slave_size 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->get_xstats_size 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->kind 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->maxtype 0-6,8-10,15-16,18,20,22,24,33-34,50
PARAM_VALUE 0 ndev->rtnl_link_ops->newlink 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->peer_type 0-1
PARAM_VALUE 0 ndev->rtnl_link_ops->policy 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->priv_size 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,744,1056,1128,1336,1616,2176,2240,2272,2560,3280,3288,3296,3544,3552,9688-u64max
PARAM_VALUE 0 ndev->rtnl_link_ops->setup 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->slave_changelink 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->slave_maxtype 0,12,45
PARAM_VALUE 0 ndev->rtnl_link_ops->slave_policy 0,4096-ptr_max
PARAM_VALUE 0 ndev->rtnl_link_ops->validate 0,4096-ptr_max
PARAM_VALUE 0 ndev->work_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 ndev->work_tracker->dead 0-1
PARAM_VALUE 0 ndev->work_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 1 nvdev 4096-ptr_max
PARAM_VALUE 1 nvdev->destroy 0
BUF_SIZE 0 ndev->ethtool_ops (-1),656
BUF_SIZE 0 ndev->name_node (-1),64
BUF_SIZE 0 ndev->name_node->name (-1),16
BUF_SIZE 0 ndev->nd_net.net (-1),10304,10432
BUF_SIZE 0 ndev->rtnl_link_ops (-1),288
CAPPED_DATA 0 ndev 1
DATA_SOURCE 0 ndev $0
STR_LEN 0 ndev (-1),9-10
STR_LEN 0 ndev (-1),9-10
NOSPEC 0 ndev->flags
NOSPEC 0 ndev->ifindex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ndev->flags 0-527362[c]
USER_DATA 0 ndev->group s32min-s32max
USER_DATA 0 ndev->ifindex 0-s32max
USER_DATA 0 ndev->mtu 0-s32max[c]
USER_DATA 0 ndev->num_tc 2-16[c]
USER_DATA 0 *ndev->dev_addr 0-255
NO_OVERFLOW_SIMPLE 0 ndev->group
NO_OVERFLOW_SIMPLE 0 ndev->name
NO_OVERFLOW_SIMPLE 0 ndev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 ndev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 ndev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 ndev->proto_down
NO_OVERFLOW_SIMPLE 0 ndev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 0 ndev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 ndev->tx_queue_len

drivers/net/hyperv/netvsc_drv.c netvsc_set_channels() -> netvsc_detach()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->ethtool 4096-ptr_max
PARAM_VALUE 0 ndev->ethtool->rss_indir_user_size 0-1
PARAM_VALUE 0 ndev->ethtool->rss_lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->ethtool->rss_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ndev->ethtool->rss_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ndev->ethtool->rss_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ndev->ethtool->rss_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ndev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ndev->ethtool->rss_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 ndev->ethtool->rss_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ndev->ethtool->rss_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ndev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 *ndev->name 0
PARAM_VALUE 1 nvdev 4096-ptr_max
PARAM_VALUE 1 nvdev->destroy 0
PARAM_VALUE 1 nvdev->nvsp_version 327680-u32max
DATA_SOURCE 0 ndev $0
FUZZY_MAX 1 nvdev->nvsp_version 327680
RX_PATH
TASK_NOT_RUNNING

drivers/net/hyperv/netvsc_drv.c netvsc_set_ringparam() -> netvsc_detach()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->cfg 4096-ptr_max
PARAM_VALUE 0 ndev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 ndev->ethtool_ops->get_ringparam 4096-ptr_max
PARAM_VALUE 1 nvdev 4096-ptr_max
PARAM_VALUE 1 nvdev->destroy 0
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/hyperv/netvsc_drv.c netvsc_suspend() -> netvsc_detach()

Type Parameter Key Value
PARAM_VALUE 0 ndev->priv->dwork.work.lockdep_map->name 0-255
PARAM_VALUE 0 ndev->priv->saved_netvsc_dev_info 4096-ptr_max
PARAM_VALUE 0 ndev->priv->vfns_work.work.lockdep_map->name 0-255
PARAM_VALUE 1 nvdev 4096-ptr_max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
LOCK2 global &rtnl_mutex