Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/tipc/node.c tipc_node_apply_property() -> tipc_link_set_mtu()

Type Parameter Key Value
PARAM_VALUE 0 l 1-u64max
PARAM_VALUE 0 l->mtu 0-u16max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 mtu unit_byte
LOCK2 &n->lock
LOCK2 bh
LOCK2 global &rtnl_mutex
LOCK2 rcu_read
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
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 &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rx_queue_mutex
TYPE_LOCK (struct tipc_node)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 l 4096-ptr_max
PARAM_VALUE 0 l->mtu 0-u16max
PARAM_VALUE 1 mtu s32min-65534
CAPPED_DATA 1 mtu 1
DATA_SOURCE 1 mtu r tipc_bearer_mtu
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &n->lock
LOCK2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct tipc_node)->lock