Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/mpls/af_mpls.c mpls_dev_notify() -> mpls_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 net->mpls.platform_mutex.dep_map->name 0-255
PARAM_VALUE 0 net->mpls.platform_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 net->mpls.platform_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 net->mpls.platform_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 net->mpls.platform_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 net->mpls.platform_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 net->mpls.platform_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.dep_map->name 0-255
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &net->mpls.platform_mutex 1
CAPPED_DATA 1 dev->nd_net.net 1
DATA_SOURCE 1 dev r netdev_notifier_info_to_dev
UNITS 0 net unit_byte
LOCK2 0 &net->mpls.platform_mutex
TYPE_LOCK (struct netns_mpls)->platform_mutex

net/mpls/af_mpls.c mpls_dev_notify() -> mpls_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->mpls.platform_labels 0-u32max
PARAM_VALUE 0 net->mpls.platform_mutex.dep_map->name 0-255
PARAM_VALUE 0 net->mpls.platform_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 net->mpls.platform_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 net->mpls.platform_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 net->mpls.platform_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 net->mpls.platform_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 net->mpls.platform_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->nd_net.net 4096-ptr_max
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_labels 0-u32max
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.dep_map->name 0-255
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &net->mpls.platform_mutex 1
CAPPED_DATA 1 dev 1
CAPPED_DATA 1 dev->mpls_ptr 1
CAPPED_DATA 1 dev->nd_net.net 1
CAPPED_DATA 1 dev->nd_net.net->mpls.platform_labels 1
DATA_SOURCE 1 dev r netdev_notifier_info_to_dev
UNITS 0 net unit_byte
UNITS 1 dev unit_byte
LOCK2 0 &net->mpls.platform_mutex
TYPE_LOCK (struct netns_mpls)->platform_mutex

net/mpls/af_mpls.c mpls_dev_notify() -> mpls_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 net->mpls.platform_mutex.dep_map->name 0-255
PARAM_VALUE 0 net->mpls.platform_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 net->mpls.platform_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 net->mpls.platform_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 net->mpls.platform_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 net->mpls.platform_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 net->mpls.platform_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.dep_map->name 0-255
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 dev->nd_net.net->mpls.platform_mutex.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &net->mpls.platform_mutex 1
CAPPED_DATA 1 dev->mpls_ptr 1
CAPPED_DATA 1 dev->nd_net.net 1
DATA_SOURCE 1 dev r netdev_notifier_info_to_dev
UNITS 0 net unit_byte
LOCK2 0 &net->mpls.platform_mutex
TYPE_LOCK (struct netns_mpls)->platform_mutex

net/mpls/af_mpls.c mpls_nh_assign_dev() -> mpls_dev_get()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_main->tb_data->kv->bits 1-255
PARAM_VALUE 0 net->ipv4.fib_main->tb_data->kv->key 0-4294967295
PARAM_VALUE 0 net->ipv4.fib_main->tb_data->kv->pos 0-254
PARAM_VALUE 0 net->ipv4.fib_main->tb_data->kv->slen 1-255
PARAM_VALUE 0 net->ipv4.fib_main->tb_data->stats->backtrack 0-4294967295
PARAM_VALUE 0 net->ipv4.fib_main->tb_data->stats->gets 0-4294967295
PARAM_VALUE 0 net->ipv4.fib_main->tb_data->stats->null_node_hit 0-4294967295
PARAM_VALUE 0 net->ipv4.fib_main->tb_data->stats->semantic_match_miss 0-4294967295
PARAM_VALUE 0 net->ipv6.ip6_null_entry->dst.dst_trace_seq.counter s32min-s32max
PARAM_VALUE 0 net->loopback_dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 net->loopback_dev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 net->mpls.platform_label 4096-ptr_max
PARAM_VALUE 0 net->mpls.platform_labels 17-u64max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 1 dev->refcnt_tracker.list.next->prev 4096-ptr_max
DATA_SOURCE 0 net $0
DATA_SOURCE 1 dev r find_outdev
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
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