Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/infiniband/sw/rxe/rxe_verbs.c, line 62
- fs/smb/server/smb2pdu.c, line 8723
- net/8021q/vlan_dev.c, line 1056
- net/bridge/br_netlink.c, line 488
- net/core/dev.c, line 9753
- net/core/dev_ioctl.c, line 150
- net/core/rtnetlink.c
- net/ipv4/fib_frontend.c, line 1541
- net/ipv4/fib_semantics.c, line 2103
- net/ipv4/nexthop.c, line 4003
- net/ipv6/addrconf.c, line 6117
- net/mpls/af_mpls.c
- net/wireless/wext-core.c, line 433
Smatch caller information:
net/ipv4/nexthop.c nh_netdev_event() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | r netdev_notifier_info_to_dev |
net/ipv4/fib_frontend.c fib_netdev_event() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | dev->ip_ptr | 1 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | r netdev_notifier_info_to_dev |
net/mpls/af_mpls.c mpls_dev_notify() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | dev->mpls_ptr | 1 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | r netdev_notifier_info_to_dev |
| LOCK2 | &net->mpls.platform_mutex | ||
| TYPE_LOCK | (struct netns_mpls)->platform_mutex |
net/mpls/af_mpls.c mpls_dev_notify() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | dev->mpls_ptr | 1 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | r netdev_notifier_info_to_dev |
| LOCK2 | &net->mpls.platform_mutex | ||
| TYPE_LOCK | (struct netns_mpls)->platform_mutex |
net/mpls/af_mpls.c mpls_nh_assign_dev() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 1-u32max |
| CAPPED_DATA | 0 | dev->mpls_ptr | 1 |
| DATA_SOURCE | 0 | dev | r find_outdev |
| BIT_INFO | 0 | dev->flags | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &net->mpls.platform_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| 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 &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct netns_mpls)->platform_mutex |
net/core/dev_ioctl.c dev_ifsioc_locked() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| DATA_SOURCE | 0 | dev | r dev_get_by_name_rcu |
| LOCK2 | rcu_read |
net/wireless/wext-core.c rtnetlink_ifinfo_prep() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tc | |
| UNITS | 0 | dev | unit_byte |
| USER_PTR | 0 | dev->ieee80211_ptr->u.client.ssid | |
| HALF_LOCKED2 | &priv->action_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/fib_semantics.c fib_sync_up() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 1-u32max |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->flags | 0x1,0xffffffff |
net/ipv6/addrconf.c inet6_fill_ifinfo() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/bridge/br_netlink.c br_fill_ifinfo() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $7 |
| NOSPEC | 0 | dev->ifindex | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->flags | 0-527361[c] |
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tc | |
| 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 | |
| NO_OVERFLOW_SIMPLE | 0 | dev->tx_queue_len | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | rcu_read |
fs/smb/server/smb2pdu.c fsctl_query_iface_info_ioctl() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | &dev->dev_list | 1 |
| LOCK2 | &pool->lock | ||
| LOCK2 | global &rtnl_mutex |
net/8021q/vlan_dev.c vlan_dev_work() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/core/rtnetlink.c ndo_dflt_bridge_getlink() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/core/rtnetlink.c rtnl_fill_ifinfo() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-1025,1027-1029,1031-u64max |
| BUF_SIZE | 0 | dev->ethtool_ops | (-1),656 |
| BUF_SIZE | 0 | dev->header_ops | (-1)-0,48 |
| BUF_SIZE | 0 | dev->nd_net.net | (-1),10304,10496 |
| BUF_SIZE | 0 | dev->rtnl_link_ops | (-1),288 |
| DATA_SOURCE | 0 | dev | $1 |
| STR_LEN | 0 | dev | (-1) |
| STR_LEN | 0 | dev | (-1) |
| STR_LEN | 0 | dev->nd_net.net | (-1) |
| NOSPEC | 0 | dev->flags | |
| NOSPEC | 0 | dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->flags | 0-527617[c] |
| USER_DATA | 0 | dev->ifindex | s32min-s32max |
| USER_DATA | 0 | dev->mtu | 0-s32max[c] |
| USER_DATA | 0 | dev->num_tc | 2-16[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->mem_start | |
| NO_OVERFLOW_SIMPLE | 0 | dev->name | |
| 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->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | dev->tx_queue_len | |
| UNITS | 0 | dev | unit_byte |
| USER_PTR | 0 | dev->broadcast | |
| USER_PTR | 0 | dev->name | |
| HALF_LOCKED2 | 0 | &dev->ethtool->rss_lock | |
| HALF_LOCKED2 | 0 | &dev->lock |
drivers/infiniband/sw/rxe/rxe_verbs.c rxe_query_port() -> netif_get_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | r ib_device_get_netdev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rxe->usdev_lock | ||
| TYPE_LOCK | (struct rxe_dev)->usdev_lock |