Documented in 1 files:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/infiniband/core/roce_gid_mgmt.c enum_netdev_ipv6_ips() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->reg_state 0-1
DATA_SOURCE 0 dev $2
HARD_MAX 0 dev->reg_state 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 global &net_rwsem
HALF_LOCKED2 global &rtnl_mutex

net/ipv6/addrconf.c addrconf_prefix_rcv() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev $0

net/ipv6/addrconf.c inet6_netconf_get_devconf() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next 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->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736
CAPPED_DATA 0 dev->ifindex 1
DATA_SOURCE 0 dev r dev_get_by_index
RX_PATH
TASK_NOT_RUNNING
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

net/ipv6/anycast.c ipv6_dev_ac_dec() -> in6_dev_get()

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
CAPPED_DATA 0 dev->ifindex 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING

net/ipv6/anycast.c ipv6_sock_ac_join() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next 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
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

net/ipv6/mcast.c __ipv6_dev_mc_inc() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

net/ipv6/mcast.c __ipv6_sock_mc_drop() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next 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->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736
CAPPED_DATA 0 dev->ifindex 1
DATA_SOURCE 0 dev r dev_get_by_index
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

net/ipv6/mcast.c __mld_query_work() -> in6_dev_get()

Type Parameter Key Value
UNITS 0 dev unit_byte
LOCK2 &idev->mc_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inet6_dev)->mc_lock

net/ipv6/mcast.c __mld_report_work() -> in6_dev_get()

Type Parameter Key Value
UNITS 0 dev unit_byte
LOCK2 &idev->mc_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inet6_dev)->mc_lock

net/ipv6/mcast.c ip6_mc_find_idev() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next 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->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736
DATA_SOURCE 0 dev r ip6_mc_find_dev
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

net/ipv6/mcast.c ipv6_dev_mc_dec() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

net/ipv6/route.c fib6_nh_init() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next 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
CAPPED_DATA 0 dev->ifindex 1
DATA_SOURCE 0 dev r netdev_get_by_index
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

net/ipv6/route.c fib6_nh_init() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
PARAM_VALUE 0 dev->ip6_ptr->refcnt.refs.counter (-1073741824),0-s32max
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->next 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.quarantine.prev->next->next 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

net/ipv6/route.c icmp6_dst_alloc() -> in6_dev_get()

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->group
NO_OVERFLOW_SIMPLE 0 dev->num_tc
NO_OVERFLOW_SIMPLE 0 dev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 0 dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 dev->stats.rx_bytes
NO_OVERFLOW_SIMPLE 0 dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 dev->tx_queue_len
UNITS 0 dev unit_byte
LOCK2 rcu_read
HALF_LOCKED2 &idev->mc_lock

net/ipv6/route.c ip6_blackhole_route() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next->prev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 rcu_read
HALF_LOCKED2 &net->ipv4.mfc_mutex
HALF_LOCKED2 &net->ipv6.mfc_mutex
HALF_LOCKED2 bh

net/ipv6/route.c ip6_dst_ifdown() -> in6_dev_get()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 bh
HALF_LOCKED2 global &fnhe_lock
HALF_LOCKED2 global &rt6_exception_lock
HALF_LOCKED2 rcu_read

net/ipv6/route.c ip6_route_check_nh() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next 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
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 rcu_read
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

net/ipv6/route.c ip6_route_dev_notify() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->flags 8-u32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry->fib6_nh 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry->fib6_nh->nh_common.nhc_dev 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry->fib6_nh->nh_common.nhc_dev->flags 8-u32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry->dst.dev 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry->dst.dev->flags 8-u32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry->dst.dev_rcu 4096-ptr_max
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev r netdev_notifier_info_to_dev
BIT_INFO 0 dev->flags 0x8,0xffffffff

net/ipv6/route.c ip6_route_dev_notify() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->flags 8-u32max
PARAM_VALUE 0 dev->ip6_ptr 0,4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry->fib6_nh 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry->fib6_nh->nh_common.nhc_dev 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry->fib6_nh->nh_common.nhc_dev->flags 8-u32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry->dst.dev 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry->dst.dev->flags 8-u32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry->dst.dev_rcu 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry->rt6i_idev->refcnt.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_prohibit_entry 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_prohibit_entry->dst.dev 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_prohibit_entry->dst.dev->flags 8-u32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_prohibit_entry->dst.dev_rcu 4096-ptr_max
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev r netdev_notifier_info_to_dev
BIT_INFO 0 dev->flags 0x8,0xffffffffffffffff

net/ipv6/route.c ip6_route_dev_notify() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->flags 8-u32max
PARAM_VALUE 0 dev->ip6_ptr 0,4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry->fib6_nh 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry->fib6_nh->nh_common.nhc_dev 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.fib6_null_entry->fib6_nh->nh_common.nhc_dev->flags 8-u32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_blk_hole_entry 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_blk_hole_entry->dst.dev 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_blk_hole_entry->dst.dev->flags 8-u32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_blk_hole_entry->dst.dev_rcu 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry->dst.dev 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry->dst.dev->flags 8-u32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry->dst.dev_rcu 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_null_entry->rt6i_idev->refcnt.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_prohibit_entry 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_prohibit_entry->dst.dev 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_prohibit_entry->dst.dev->flags 8-u32max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_prohibit_entry->dst.dev_rcu 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_prohibit_entry->rt6i_idev->refcnt.refs.counter (-1073741824),0-s32max
CAPPED_DATA 0 dev->ip6_ptr 1
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev r netdev_notifier_info_to_dev
BIT_INFO 0 dev->flags 0x8,0xffffffffffffffff

net/ipv6/route.c ip6_route_init_special_entries() -> in6_dev_get()

Type Parameter Key Value
UNITS 0 dev unit_byte

net/ipv6/route.c ip6_route_init_special_entries() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ip6_ptr 0,4096-ptr_max
UNITS 0 dev unit_byte

net/ipv6/route.c ip6_route_init_special_entries() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ip6_ptr 0,4096-ptr_max
CAPPED_DATA 0 dev->ip6_ptr 1
UNITS 0 dev unit_byte

net/ipv6/route.c ip6_rt_copy_init() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/ipv6/route.c rt6_uncached_list_flush_dev() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ul->lock
LOCK2 bh
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &init_net.rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct uncached_list)->lock

drivers/net/usb/cdc_mbim.c do_neigh_solicit() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/ipv6/xfrm6_policy.c xfrm6_dst_ifdown() -> in6_dev_get()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 bh
HALF_LOCKED2 global &fnhe_lock
HALF_LOCKED2 global &rt6_exception_lock
HALF_LOCKED2 rcu_read

net/ipv6/xfrm6_policy.c xfrm6_fill_dst() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next 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
DATA_SOURCE 0 dev $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

net/ipv6/ndisc.c ndisc_constructor() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->group
NO_OVERFLOW_SIMPLE 0 dev->num_tc
NO_OVERFLOW_SIMPLE 0 dev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 0 dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 dev->stats.rx_bytes
NO_OVERFLOW_SIMPLE 0 dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 dev->tx_queue_len
UNITS 0 dev unit_byte
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex

net/ipv6/ndisc.c ndisc_ifinfo_sysctl_change() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
BUF_SIZE 0 dev 1-s32max
BUF_SIZE 0 dev 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &pool->lock

net/ipv6/ndisc.c ndisc_netdev_event() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->nd_net.net->ipv6.ip6_fib_timer.entry->pprev 4096-ptr_max
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev r netdev_notifier_info_to_dev

net/ipv6/ndisc.c ndisc_netdev_event() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev r netdev_notifier_info_to_dev

net/ipv6/ndisc.c ndisc_recv_ns() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 dev->nd_net.net 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->group
NO_OVERFLOW_SIMPLE 0 dev->num_tc
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.rx_bytes
NO_OVERFLOW_SIMPLE 0 dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 dev->tx_queue_len
UNITS 0 dev unit_byte
HALF_LOCKED2 &tbl->proxy_queue.lock
HALF_LOCKED2 rcu_read

net/ipv6/ndisc.c ndisc_send_unsol_na() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev $0

drivers/net/wireless/ath/ath12k/wow.c ath12k_wow_prepare_ns_offload() -> in6_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &local->hw.wiphy->mtx
HALF_LOCKED2 &rdev->wiphy.mtx
TYPE_LOCK (struct wiphy)->mtx