Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bridge/br_vlan.c __br_vlan_set_default_pvid() -> nbp_vlan_add()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 vid 1-u16max
PARAM_VALUE 2 flags 6
PARAM_VALUE 3 changed 4085204255324286976
PARAM_VALUE 4 extack 948854884830830592,4971238048455385088
PARAM_VALUE 4 extack->bad_attr 0
PARAM_VALUE 4 extack->cookie_len 0
PARAM_VALUE 4 extack->miss_nest 0
PARAM_VALUE 4 extack->miss_type 0
PARAM_VALUE 4 extack->policy 0
CAPPED_DATA 0 port->vlgrp 1
CAPPED_DATA 0 &port->list 1
CAPPED_DATA 1 vid 1
DATA_SOURCE 1 vid $1
DATA_SOURCE 4 extack $2
NOSPEC 1 vid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 vid 1-4094[c]
USER_DATA 3 *changed 0-1
USER_PTR 3 changed
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &of->mutex

net/bridge/br_vlan.c __br_vlan_set_default_pvid() -> nbp_vlan_add()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->vlgrp->pvid 1-u16max
PARAM_VALUE 1 vid 1-u16max
PARAM_VALUE 2 flags 6
PARAM_VALUE 3 changed 4085204255324286976
PARAM_VALUE 4 extack 0
CAPPED_DATA 0 &port->list 1
CAPPED_DATA 1 vid 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 *changed 0-1
USER_PTR 3 changed
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &of->mutex

net/bridge/br_vlan.c nbp_vlan_init() -> nbp_vlan_add()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->br 4096-ptr_max
PARAM_VALUE 0 port->br->default_pvid 1-u16max
PARAM_VALUE 0 port->br->dev 4096-ptr_max
PARAM_VALUE 0 port->config_pending 0
PARAM_VALUE 0 port->dev 4096-ptr_max
PARAM_VALUE 0 port->dev->addr_len 6
PARAM_VALUE 0 port->dev->dev_addr 4096-ptr_max
PARAM_VALUE 0 port->dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 port->dev->type 1
PARAM_VALUE 0 port->dev_tracker 0,4096-ptr_max
PARAM_VALUE 0 port->dev_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 port->dev_tracker->dead 0-1
PARAM_VALUE 0 port->dev_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 port->flags 18528
PARAM_VALUE 0 port->forward_delay_timer.entry.pprev 0
PARAM_VALUE 0 port->forward_delay_timer.flags 0-4194302
PARAM_VALUE 0 port->forward_delay_timer.lockdep_map->name 0-255
PARAM_VALUE 0 port->hold_timer.entry.pprev 0
PARAM_VALUE 0 port->hold_timer.flags 0-4194302
PARAM_VALUE 0 port->hold_timer.lockdep_map->name 0-255
PARAM_VALUE 0 port->kobj.entry.next 4096-ptr_max
PARAM_VALUE 0 port->kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 port->kobj.kset->list.prev 4096-ptr_max
PARAM_VALUE 0 port->kobj.kset->list.prev->next 4096-ptr_max
PARAM_VALUE 0 port->kobj.kset->list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 port->kobj.kset->list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->kobj.ktype 4096-ptr_max
PARAM_VALUE 0 port->kobj.parent 4096-ptr_max
PARAM_VALUE 0 port->kobj.sd 4096-ptr_max
PARAM_VALUE 0 port->kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 port->kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 port->kobj.sd->priv 4096-ptr_max
PARAM_VALUE 0 port->kobj.state_add_uevent_sent 0
PARAM_VALUE 0 port->kobj.state_in_sysfs 1
PARAM_VALUE 0 port->kobj.state_initialized 1
PARAM_VALUE 0 port->kobj.state_remove_uevent_sent 0
PARAM_VALUE 0 port->list.next 4096-ptr_max
PARAM_VALUE 0 port->list.prev 4096-ptr_max
PARAM_VALUE 0 port->mcast_stats 4096-ptr_max
PARAM_VALUE 0 port->message_age_timer.entry.pprev 0
PARAM_VALUE 0 port->message_age_timer.flags 0-4194302
PARAM_VALUE 0 port->message_age_timer.lockdep_map->name 0-255
PARAM_VALUE 0 port->multicast_ctx.ip4_mc_router_timer.flags 0-4194302
PARAM_VALUE 0 port->multicast_ctx.ip4_mc_router_timer.lockdep_map->name 0-255
PARAM_VALUE 0 port->multicast_ctx.ip4_own_query.timer.flags 0-4194302
PARAM_VALUE 0 port->multicast_ctx.ip4_own_query.timer.lockdep_map->name 0-255
PARAM_VALUE 0 port->multicast_ctx.ip6_mc_router_timer.flags 0-4194302
PARAM_VALUE 0 port->multicast_ctx.ip6_mc_router_timer.lockdep_map->name 0-255
PARAM_VALUE 0 port->multicast_ctx.ip6_own_query.timer.flags 0-4194302
PARAM_VALUE 0 port->multicast_ctx.ip6_own_query.timer.lockdep_map->name 0-255
PARAM_VALUE 0 port->multicast_ctx.multicast_router 1
PARAM_VALUE 0 port->multicast_ctx.port 4096-ptr_max
PARAM_VALUE 0 port->multicast_ctx.port->br 4096-ptr_max
PARAM_VALUE 0 port->multicast_ctx.port->config_pending 0
PARAM_VALUE 0 port->multicast_ctx.port->dev 4096-ptr_max
PARAM_VALUE 0 port->multicast_ctx.port->dev_tracker 0,4096-ptr_max
PARAM_VALUE 0 port->multicast_ctx.port->flags 18528
PARAM_VALUE 0 port->multicast_ctx.port->forward_delay_timer.flags 0-4194302
PARAM_VALUE 0 port->multicast_ctx.port->hold_timer.flags 0-4194302
PARAM_VALUE 0 port->multicast_ctx.port->message_age_timer.flags 0-4194302
PARAM_VALUE 0 port->multicast_ctx.port->multicast_eht_hosts_limit 512
PARAM_VALUE 0 port->multicast_ctx.port->path_cost 2-5,7,19,100,2500
PARAM_VALUE 0 port->multicast_ctx.port->port_no 0-64
PARAM_VALUE 0 port->multicast_ctx.port->priority 32
PARAM_VALUE 0 port->multicast_ctx.port->state 0,4
PARAM_VALUE 0 port->multicast_ctx.vlan 0
PARAM_VALUE 0 port->multicast_eht_hosts_limit 512
PARAM_VALUE 0 port->path_cost 2-5,7,19,100,2500
PARAM_VALUE 0 port->port_no 0-64
PARAM_VALUE 0 port->priority 32
PARAM_VALUE 0 port->state 0,4
PARAM_VALUE 0 port->sysfs_name 1-u64max
PARAM_VALUE 0 port->topology_change_ack 0
PARAM_VALUE 0 port->vlgrp 4096-ptr_max
PARAM_VALUE 0 *port->dev->name 0-255
PARAM_VALUE 0 *port->sysfs_name 0-255
PARAM_VALUE 1 vid 1-u16max
PARAM_VALUE 2 flags 6
PARAM_VALUE 3 changed 6562743160022474752
PARAM_VALUE 4 extack 0,4971238048455385088
BUF_SIZE 0 port 1392
CAPPED_DATA 0 port 1
DATA_SOURCE 0 port $0
DATA_SOURCE 4 extack $1
NOSPEC 0 port->dev->ifindex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 port->dev->flags 0-525313[c]
USER_DATA 0 port->dev->ifindex 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 port->dev->group
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_netlink.c br_vlan_info() -> nbp_vlan_add()

Type Parameter Key Value
PARAM_VALUE 0 port 1-u64max
PARAM_VALUE 1 vid 0-4094
PARAM_VALUE 3 changed 2055444928036663296
PARAM_VALUE 4 extack 0,4971238048455385088
DATA_SOURCE 0 port $1
DATA_SOURCE 4 extack $5
NOSPEC 1 vid
NOSPEC 1 vid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 vid 1-4094
USER_DATA 2 flags 0-u16max
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