Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/tipc/bcast.c tipc_bcast_add_peer() -> tipc_bcbase_select_primary()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_main->tb_id 0-4294967295
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
LOCK2 &n->lock
LOCK2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct tipc_node)->lock

net/tipc/bcast.c tipc_bcast_dec_bearer_dst_cnt() -> tipc_bcbase_select_primary()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_main->tb_id 0-4294967295
PARAM_VALUE 0 *net->loopback_dev->broadcast 0-255
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
LOCK2 &n->lock
LOCK2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct tipc_node)->lock

net/tipc/bcast.c tipc_bcast_inc_bearer_dst_cnt() -> tipc_bcbase_select_primary()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_main->tb_id 0-4294967295
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
LOCK2 &n->lock
LOCK2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct tipc_node)->lock

net/tipc/bcast.c tipc_bcast_remove_peer() -> tipc_bcbase_select_primary()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 0 net->ipv4.fib_main->tb_id 0-4294967295
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
LOCK2 &n->lock
LOCK2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct tipc_node)->lock