Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

net/bridge/br_vlan_options.c br_vlan_multicast_router() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING

net/bridge/br_vlan_options.c br_vlan_opts_eq_range() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
CAPPED_DATA 0 v->flags 1
CAPPED_DATA 0 v->state 1
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/bridge/br_vlan_options.c br_vlan_should_use() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 1-u64max
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 v->br_mcast_ctx.multicast_router
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/bridge/br_mst.c br_mst_vlan_init_state() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
BUF_SIZE 0 v->stats (-1),32
DATA_SOURCE 0 v $0
NOSPEC 0 v->br_mcast_ctx.vlan->vid
NOSPEC 0 v->port_mcast_ctx.vlan->vid
NOSPEC 0 v->vid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 v->br_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->br_mcast_ctx.vlan->vid 1-4094
USER_DATA 0 v->flags 1-65533[c]
USER_DATA 0 v->port->designated_port 0-65534[c]
USER_DATA 0 v->port_mcast_ctx.port->designated_port 0-65534[c]
USER_DATA 0 v->port_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->port_mcast_ctx.vlan->vid 1-4094
USER_DATA 0 v->vid 1-4094
NO_OVERFLOW_SIMPLE 0 v->br->vlan_proto
NO_OVERFLOW_SIMPLE 0 v->br_mcast_ctx.br->vlan_proto
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_fdb.c br_vlan_should_use() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 1-u64max
DATA_SOURCE 0 v $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &br->hash_lock
HALF_LOCKED2 bh
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_netlink_tunnel.c br_vlan_should_use() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

net/bridge/br_vlan.c __vlan_add() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
BUF_SIZE 0 v 1304
BUF_SIZE 0 v->stats (-1),32
DATA_SOURCE 0 v $0
NOSPEC 0 v->vid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 v->flags 1-65533[c]
USER_DATA 0 v->vid 1-4094
NO_OVERFLOW_SIMPLE 0 v->br->vlan_proto
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_vlan.c __vlan_add_list() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
BUF_SIZE 0 v 1304
BUF_SIZE 0 v->stats (-1),32
DATA_SOURCE 0 v $0
NOSPEC 0 v->br_mcast_ctx.vlan->vid
NOSPEC 0 v->port_mcast_ctx.vlan->vid
NOSPEC 0 v->vid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 v->br_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->br_mcast_ctx.vlan->vid 1-4094
USER_DATA 0 v->flags 1-65533[c]
USER_DATA 0 v->port_mcast_ctx.port->designated_port 0-65534[c]
USER_DATA 0 v->port_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->port_mcast_ctx.vlan->vid 1-4094
USER_DATA 0 v->vid 1-4094
NO_OVERFLOW_SIMPLE 0 v->br->vlan_proto
NO_OVERFLOW_SIMPLE 0 v->br_mcast_ctx.br->vlan_proto
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_vlan.c __vlan_del() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 1-u64max
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING

net/bridge/br_vlan.c __vlan_flags_update() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 1-u64max
BUF_SIZE 0 v->stats (-1),32
DATA_SOURCE 0 v $0
NOSPEC 0 v->br_mcast_ctx.vlan->vid
NOSPEC 0 v->port_mcast_ctx.vlan->vid
NOSPEC 0 v->vid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 v->br_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->br_mcast_ctx.vlan->vid 1-4094
USER_DATA 0 v->flags 0-u16max[c]
USER_DATA 0 v->port->designated_port 0-65534[c]
USER_DATA 0 v->port_mcast_ctx.port->designated_port 0-65534[c]
USER_DATA 0 v->port_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->port_mcast_ctx.vlan->vid 1-4094
USER_DATA 0 v->vid 1-4094
NO_OVERFLOW_SIMPLE 0 v->br->vlan_proto
NO_OVERFLOW_SIMPLE 0 v->br_mcast_ctx.br->vlan_proto
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_vlan.c br_master_vlan_rcu_free() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu

net/bridge/br_vlan.c br_vlan_init_state() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
BUF_SIZE 0 v 1304
BUF_SIZE 0 v->stats (-1),32
DATA_SOURCE 0 v $0
NOSPEC 0 v->br_mcast_ctx.vlan->vid
NOSPEC 0 v->port_mcast_ctx.vlan->vid
NOSPEC 0 v->vid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 v->br_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->br_mcast_ctx.vlan->vid 1-4094
USER_DATA 0 v->flags 1-65533[c]
USER_DATA 0 v->port_mcast_ctx.port->designated_port 0-65534[c]
USER_DATA 0 v->port_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->port_mcast_ctx.vlan->vid 1-4094
USER_DATA 0 v->vid 1-4094
NO_OVERFLOW_SIMPLE 0 v->br->vlan_proto
NO_OVERFLOW_SIMPLE 0 v->br_mcast_ctx.br->vlan_proto
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_vlan.c br_vlan_put_master() -> br_vlan_is_master()

Type Parameter Key Value
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING

net/bridge/br_vlan.c br_vlan_should_use() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 1-u64max
BUF_SIZE 0 v (-1),1304
BUF_SIZE 0 v (-1),1304
BUF_SIZE 0 v->stats (-1),32
DATA_SOURCE 0 v $0
NOSPEC 0 v->br_mcast_ctx.vlan->vid
NOSPEC 0 v->port_mcast_ctx.vlan->vid
NOSPEC 0 v->vid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 v->br_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->br_mcast_ctx.vlan->vid 1-4094
USER_DATA 0 v->flags 1-65533[c]
USER_DATA 0 v->port_mcast_ctx.port->designated_port 0-65534[c]
USER_DATA 0 v->port_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->port_mcast_ctx.vlan->vid 1-4094
USER_DATA 0 v->vid 1-4094
NO_OVERFLOW_SIMPLE 0 v->br->vlan_proto
NO_OVERFLOW_SIMPLE 0 v->br_mcast_ctx.br->vlan_proto
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read

net/bridge/br_vlan.c nbp_vlan_rcu_free() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu

net/bridge/br_switchdev.c br_vlan_should_use() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0

net/bridge/br_netlink.c br_vlan_should_use() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

net/bridge/br_multicast.c br_multicast_rcv() -> br_vlan_is_master()

Type Parameter Key Value
DATA_SOURCE 0 v $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/bridge/br_multicast.c br_multicast_set_vlan_router() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
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/bridge/br_multicast.c br_multicast_toggle_one_vlan() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
BUF_SIZE 0 v (-1),1304
BUF_SIZE 0 v (-1),1304
BUF_SIZE 0 v->stats (-1),32
DATA_SOURCE 0 v $0
NOSPEC 0 v->br_mcast_ctx.vlan->vid
NOSPEC 0 v->port_mcast_ctx.vlan->vid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 v->br_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->br_mcast_ctx.vlan->vid 1-4094
USER_DATA 0 v->flags 0-u16max[c]
USER_DATA 0 v->port_mcast_ctx.port->designated_port 0-65534[c]
USER_DATA 0 v->port_mcast_ctx.vlan->flags 1-65533[c]
USER_DATA 0 v->port_mcast_ctx.vlan->vid 1-4094
NO_OVERFLOW_SIMPLE 0 v->br->vlan_proto
NO_OVERFLOW_SIMPLE 0 v->br_mcast_ctx.br->vlan_proto

net/bridge/br_multicast.c br_multicast_toggle_vlan() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_multicast.c br_multicast_update_vlan_mcast_ctx() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING

net/bridge/br_multicast.c br_vlan_should_use() -> br_vlan_is_master()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING