Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/infiniband/ulp/ipoib/ipoib_main.c
- drivers/net/hyperv/netvsc_drv.c, line 2198
- drivers/net/ipvlan/ipvlan_main.c
- drivers/net/netkit.c
- drivers/net/vrf.c
- net/core/dev_api.c, line 74
- net/core/dev_ioctl.c, line 555
- net/core/net-sysfs.c, line 501
- net/ipv4/devinet.c, line 1199
- net/ipv4/ipconfig.c
Smatch caller information:
drivers/net/netkit.c netkit_new_link() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->_rx | 16,4096-ptr_max |
| PARAM_VALUE | 0 | dev->_rx->groups | 0,757233477060755456 |
| PARAM_VALUE | 0 | dev->_rx->mp_params.mp_ops | 0,6506451227844239360,7109504027901313024 |
| PARAM_VALUE | 0 | dev->_tx | 16,4096-ptr_max |
| PARAM_VALUE | 0 | dev->adj_list.lower.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->adj_list.lower.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->adj_list.lower.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->adj_list.lower.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->adj_list.lower.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->adj_list.upper.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->adj_list.upper.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->adj_list.upper.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->adj_list.upper.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->adj_list.upper.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cfg_pending | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->close_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->close_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->close_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->close_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->close_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_addrs.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_addrs.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_addrs.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_addrs.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_addrs.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 1-u64max |
| PARAM_VALUE | 0 | dev->gso_max_segs | 0-65534 |
| PARAM_VALUE | 0 | dev->gso_max_size | 0-4294967294 |
| PARAM_VALUE | 0 | dev->link_watch_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->link_watch_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->link_watch_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->link_watch_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | dev->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | dev->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | dev->lower_level | 1 |
| PARAM_VALUE | 0 | dev->mc.count | 0 |
| PARAM_VALUE | 0 | dev->mc.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mc.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mc.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mc.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mc.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->name_assign_type | 1,3 |
| PARAM_VALUE | 0 | dev->napi_config | 16,4096-ptr_max |
| PARAM_VALUE | 0 | dev->napi_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->napi_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->napi_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->napi_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->napi_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->nested_level | 0 |
| PARAM_VALUE | 0 | dev->net_notifier_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net_notifier_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net_notifier_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net_notifier_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net_notifier_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->nf_hooks_egress | 0 |
| PARAM_VALUE | 0 | dev->nf_hooks_ingress | 0 |
| PARAM_VALUE | 0 | dev->num_napi_configs | 1-u32max |
| PARAM_VALUE | 0 | dev->num_rx_queues | 1-4096 |
| PARAM_VALUE | 0 | dev->num_tx_queues | 1-4096 |
| PARAM_VALUE | 0 | dev->pcpu_refcnt | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv_flags | 131104,655392 |
| PARAM_VALUE | 0 | dev->priv_len | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u32max |
| PARAM_VALUE | 0 | dev->ptype_all.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ptype_all.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ptype_all.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ptype_all.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ptype_all.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ptype_specific.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ptype_specific.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ptype_specific.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ptype_specific.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ptype_specific.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->qdisc_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.class | 7541498157787627520 |
| PARAM_VALUE | 0 | dev->refcnt_tracker.dead | 0 |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.no_tracker.refs.counter | 1 |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine_avail | 128 |
| PARAM_VALUE | 0 | dev->rtnl_link_initializing | 1 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops | 4081548727733526528 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->alloc | 3130032447137456128 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_rx_queues | 0 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_tx_queues | 0 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->maxtype | 10 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->peer_type | 1 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->setup | 4678335598627680256 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->validate | 169055173447340032 |
| PARAM_VALUE | 0 | dev->rx_mode_addr_cache.count | 0 |
| PARAM_VALUE | 0 | dev->rx_mode_addr_cache.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_mode_addr_cache.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_mode_addr_cache.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_mode_addr_cache.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_mode_addr_cache.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_mode_retry_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | dev->rx_mode_retry_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | dev->rx_mode_retry_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->tso_max_size | 0-524280 |
| PARAM_VALUE | 0 | dev->uc.count | 0 |
| PARAM_VALUE | 0 | dev->uc.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->uc.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->uc.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->uc.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->uc.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unlink_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unlink_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unlink_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unlink_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unlink_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unreg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unreg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unreg_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unreg_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unreg_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unreg_list_net.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unreg_list_net.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unreg_list_net.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unreg_list_net.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->unreg_list_net.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->upper_level | 1 |
| PARAM_VALUE | 0 | dev->watchdog_ref_held | 0 |
| PARAM_VALUE | 0 | dev->work_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->xdp_zc_max_segs | 1 |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 2 | extack | 0 |
| BUF_SIZE | 0 | dev | s32min-s32max |
| BUF_SIZE | 0 | dev->rtnl_link_ops | 288 |
| CAPPED_DATA | 0 | dev->num_rx_queues | 1 |
| CAPPED_DATA | 0 | dev->num_tx_queues | 1 |
| DATA_SOURCE | 0 | dev | r rtnl_create_link |
| BIT_INFO | 1 | flags | 0x0,0xffffff7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | dev->ifindex | s32min-s32max |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/netkit.c netkit_new_link() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->_rx->groups | 0-9223372036854775807 |
| PARAM_VALUE | 0 | dev->_rx->rps_flow_table | 0-9223372036854775807 |
| PARAM_VALUE | 0 | dev->ifindex | 0-s32max |
| PARAM_VALUE | 0 | dev->nd_net.net | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_initializing | 1 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->alloc | 0,1182153660833808384,3130032447137456128 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_rx_queues | 0,1694260139628544000,4559208055891021824,7097615251001798656,8443738062496038912 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_tx_queues | 0,1694260139628544000,4559208055891021824,7071371917186535424,8443738062496038912 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->peer_type | 0-1 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,1056,1128,1336,1616,2176,2240,2272,2560,3296,9688-u64max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->setup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->validate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 2 | extack | 0 |
| BUF_SIZE | 0 | dev->nd_net.net | (-1),10304,10432 |
| CAPPED_DATA | 0 | dev->ifindex | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 1 | flags | 0x0,0xffffff7f |
| NOSPEC | 0 | dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| USER_DATA | 0 | *dev->name | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_tx_queues | |
| USER_PTR | 0 | dev->name | |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/vrf.c cycle_netdev() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->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,3552,3720,9688-u64max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_set_config | 0,1586268954384080896,2133952100825280512,4430316855586635776 |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->alloc | 0,1182153660833808384,3130032447137456128 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_rx_queues | 0,1694260139628544000,4559208055891021824,7097615251001798656,8443738062496038912 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_tx_queues | 0,1694260139628544000,4559208055891021824,7071371917186535424,8443738062496038912 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->peer_type | 0-1 |
| PARAM_VALUE | 0 | 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,3552,3720,9688-u64max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->setup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->validate | 0,4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0,2-u32max |
| PARAM_VALUE | 2 | extack | 0,4971238048455385088 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | extack | $1 |
| BIT_INFO | 1 | flags | 0x0,0xfffffffe |
| NOSPEC | 0 | dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->flags | 0-526849[c] |
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| USER_DATA | 0 | dev->num_tc | 2-16[c] |
| USER_DATA | 1 | flags | 0,2-526848[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/vrf.c cycle_netdev() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->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,3552,3720,9688-u64max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mctp_ptr->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_set_config | 0,1586268954384080896,2133952100825280512,4430316855586635776 |
| PARAM_VALUE | 0 | dev->priv->curr_active_slave->dev->allmulti | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->curr_active_slave->dev->flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->curr_active_slave->dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->priv->curr_active_slave->dev->mc.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->curr_active_slave->dev->promiscuity | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->curr_active_slave->dev->refcnt_tracker.untracked.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->curr_active_slave->dev->rx_mode_addr_cache.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->curr_active_slave->dev->rx_mode_retry_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->curr_active_slave->dev->uc.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->curr_active_slave->dev->uc_promisc | 0-1 |
| PARAM_VALUE | 0 | dev->priv->dev->card_data.hydra.transid | 0-255 |
| PARAM_VALUE | 0 | dev->priv->fbd->fw_cap.need_bmc_macda_sync | 1 |
| PARAM_VALUE | 0 | dev->priv->fbd->tce_tcam_last | 0-255 |
| PARAM_VALUE | 0 | dev->priv->fbd->uc_addr0 | 0 |
| PARAM_VALUE | 0 | dev->priv->fbd->uc_addr4 | 0 |
| PARAM_VALUE | 0 | dev->priv->fs->l2.allmulti.rule->num_rules | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | dev->priv->fs->l2.allmulti_enabled | 0-1 |
| PARAM_VALUE | 0 | dev->priv->fs->l2.broadcast.rule->num_rules | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | dev->priv->fs->l2.broadcast_enabled | 0-1 |
| PARAM_VALUE | 0 | dev->priv->fs->l2.ft.t->node.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dev->priv->fs->l2.ft.t->node.lock.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | dev->priv->fs->l2.ft.t->node.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dev->priv->fs->l2.promisc_enabled | 0-1 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.pool->dev->iommu->fault_param->queue->wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.pool->dev->iommu->fault_param->queue->wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.pool->dev->iommu->lock.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.pool->dev->iommu->lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.token | 1-255 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.throttle_sem.count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.throttle_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.throttle_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.throttle_sem.last_holder | 0 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.throttle_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.throttle_sem.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.throttle_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.unprivileged_sem.count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.unprivileged_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.unprivileged_sem.last_holder | 0 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.unprivileged_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.unprivileged_sem.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->priv->fs->mdev->cmd.vars.unprivileged_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->autogroup.active | 1 |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->autogroup.num_groups | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->fgs_hash.ht.nelems.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->fgs_hash.ht.run_irq_work.node.a_flags.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->fgs_hash.ht.tbl->hash_rnd | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->fgs_hash.ht.tbl->nest | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->fgs_hash.ht.tbl->size | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->node.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->node.lock.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->node.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->node.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->fs->promisc.ft.t->node.version.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->lowerdev->allmulti | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->lowerdev->flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->lowerdev->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->priv->lowerdev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->priv->lowerdev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->priv->lowerdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->lowerdev->mc.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->lowerdev->promiscuity | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->lowerdev->refcnt_tracker.untracked.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->lowerdev->rx_mode_addr_cache.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->lowerdev->rx_mode_retry_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->lowerdev->uc.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->lowerdev->uc_promisc | 0-1 |
| PARAM_VALUE | 0 | dev->priv->phy_dev->allmulti | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->phy_dev->flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->phy_dev->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->priv->phy_dev->mc.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->phy_dev->promiscuity | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->phy_dev->refcnt_tracker.untracked.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->phy_dev->rx_mode_addr_cache.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->phy_dev->rx_mode_retry_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->phy_dev->uc.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->phy_dev->uc_promisc | 0-1 |
| PARAM_VALUE | 0 | dev->priv->rocker->cmd_ring.head | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->allmulti | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->mc.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->promiscuity | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->refcnt_tracker.untracked.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->rx_mode_addr_cache.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->rx_mode_retry_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->uc.count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->vf_netdev->uc_promisc | 0-1 |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->alloc | 0,1182153660833808384,3130032447137456128 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_rx_queues | 0,1694260139628544000,4559208055891021824,7097615251001798656,8443738062496038912 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_tx_queues | 0,1694260139628544000,4559208055891021824,7071371917186535424,8443738062496038912 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->peer_type | 0-1 |
| PARAM_VALUE | 0 | 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,3552,3720,9688-u64max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->setup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->validate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_mode_addr_cache.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_mode_addr_cache.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_mode_retry_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_mode_retry_timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | dev->work_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | dev->work_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 0 | *dev->priv->curr_active_slave->dev->name | 0-255 |
| PARAM_VALUE | 0 | *dev->priv->curr_active_slave->dev->pcpu_refcnt | s32min-s32max |
| PARAM_VALUE | 0 | *dev->priv->fs->mdev->cmd.vars.throttle_sem.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *dev->priv->fs->mdev->cmd.vars.unprivileged_sem.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *dev->priv->fs->promisc.ft->t->lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *dev->priv->fs->promisc.ft.t->lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *dev->priv->fs->promisc.rule->num_rules | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | *dev->priv->lowerdev->name | 0-255 |
| PARAM_VALUE | 0 | *dev->priv->lowerdev->pcpu_refcnt | s32min-s32max |
| PARAM_VALUE | 0 | *dev->priv->phy_dev->name | 0-255 |
| PARAM_VALUE | 0 | *dev->priv->phy_dev->pcpu_refcnt | s32min-s32max |
| PARAM_VALUE | 0 | *dev->priv->vf_netdev->name | 0-255 |
| PARAM_VALUE | 0 | *dev->priv->vf_netdev->pcpu_refcnt | s32min-s32max |
| PARAM_VALUE | 2 | extack | 0,4971238048455385088 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | extack | $1 |
| NOSPEC | 0 | dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| USER_DATA | 0 | dev->num_tc | 2-16[c] |
| USER_DATA | 1 | flags | 0-526849[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/dev_ioctl.c dev_ifsioc() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0-s16max,4294934528-u32max |
| PARAM_VALUE | 2 | extack | 0 |
| DATA_SOURCE | 0 | dev | r __dev_get_by_name |
| USER_DATA | 1 | flags | 0-s16max,4294934528-u32max |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
drivers/net/hyperv/netvsc_drv.c __netvsc_vf_setup() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | flags | 0,2048-u32max |
| PARAM_VALUE | 2 | extack | 0 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| BIT_INFO | 1 | flags | 0x800,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
drivers/infiniband/ulp/ipoib/ipoib_main.c ipoib_ifupdown_task() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | extack | 0 |
| PARAM_COMPARE | 0 | dev->flags | != $1 |
| PARAM_COMPARE | 1 | flags | != $0->flags |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/ulp/ipoib/ipoib_main.c ipoib_parent_unregister_pre() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0,2-u32max |
| PARAM_VALUE | 2 | extack | 0 |
| BIT_INFO | 1 | flags | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &hca->client_data_rwsem | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem |
net/core/net-sysfs.c change_flags() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->reg_state | 0-1 |
| PARAM_VALUE | 2 | extack | 0 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | flags | $1 |
| NS_CAPABLE | 0 | 12 | |
| HARD_MAX | 0 | dev->reg_state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | flags | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | flags | |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ipvlan/ipvlan_main.c ipvlan_set_port_mode() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0,128-u32max |
| PARAM_VALUE | 2 | extack | 4971238048455385088 |
| PARAM_VALUE | 2 | extack->bad_attr | 0 |
| PARAM_VALUE | 2 | extack->cookie_len | 0 |
| PARAM_VALUE | 2 | extack->miss_nest | 0 |
| PARAM_VALUE | 2 | extack->miss_type | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| DATA_SOURCE | 2 | extack | $2 |
| BIT_INFO | 1 | flags | 0x80,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &port->pnodes_lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct ipvl_port)->pnodes_lock |
drivers/net/ipvlan/ipvlan_main.c ipvlan_set_port_mode() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | extack | 4971238048455385088 |
| PARAM_VALUE | 2 | extack->bad_attr | 0 |
| PARAM_VALUE | 2 | extack->cookie_len | 0 |
| PARAM_VALUE | 2 | extack->miss_nest | 0 |
| PARAM_VALUE | 2 | extack->miss_type | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| DATA_SOURCE | 2 | extack | $2 |
| BIT_INFO | 1 | flags | 0x0,0xffffff7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &port->pnodes_lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct ipvl_port)->pnodes_lock |
drivers/net/ipvlan/ipvlan_main.c ipvlan_set_port_mode() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | flags | 0,128-u32max |
| PARAM_VALUE | 2 | extack | 0 |
| BIT_INFO | 1 | flags | 0x80,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->pnodes_lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct ipvl_port)->pnodes_lock |
drivers/net/ipvlan/ipvlan_main.c ipvlan_set_port_mode() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 2 | extack | 0 |
| BIT_INFO | 1 | flags | 0x0,0xffffff7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->pnodes_lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct ipvl_port)->pnodes_lock |
net/ipv4/ipconfig.c ic_close_devs() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | extack | 0 |
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | global &rtnl_mutex |
net/ipv4/ipconfig.c ic_open_devs() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 8-u32max |
| PARAM_VALUE | 2 | extack | 0 |
| CAPPED_DATA | 0 | &dev->dev_list | 1 |
| BIT_INFO | 0 | dev->flags | 0x8,0xffffffff |
| BIT_INFO | 1 | flags | 0x9,0xffffffff |
| LOCK2 | global &rtnl_mutex |
net/ipv4/ipconfig.c ic_open_devs() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | flags | 1-65536 |
| PARAM_VALUE | 2 | extack | 0 |
| CAPPED_DATA | 0 | &dev->dev_list | 1 |
| BIT_INFO | 1 | flags | 0x1,0xffff |
| LOCK2 | global &rtnl_mutex |
net/ipv4/devinet.c devinet_ioctl() -> dev_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0-s16max,4294934528-u32max |
| PARAM_VALUE | 2 | extack | 0 |
| CAPPED_DATA | 0 | dev->ip_ptr | 1 |
| DATA_SOURCE | 0 | dev | r __dev_get_by_name |
| NS_CAPABLE | 0 | 12 | |
| USER_DATA | 1 | flags | 0-s16max,4294934528-u32max |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |