Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/tipc/monitor.c __tipc_nl_add_monitor() -> tipc_mon_is_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | mon | 4096-ptr_max |
| PARAM_VALUE | 1 | mon->lock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | mon | r tipc_monitor |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 1 | &mon->lock | |
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex | ||
| TYPE_LOCK | (struct tipc_monitor)->lock |
net/tipc/monitor.c tipc_mon_get_state() -> tipc_mon_is_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | mon | r tipc_monitor |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | &le->lock | ||
| LOCK2 | &n->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct tipc_link_entry)->lock | ||
| TYPE_LOCK | (struct tipc_node)->lock |
net/tipc/monitor.c tipc_mon_prep() -> tipc_mon_is_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | mon | 4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | mon | r tipc_monitor |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &le->lock | ||
| HALF_LOCKED2 | &n->lock | ||
| HALF_LOCKED2 | &node->lock |
net/tipc/monitor.c tipc_mon_remove_peer() -> tipc_mon_is_active()
| 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 | 1 | mon | 4096-ptr_max |
| PARAM_VALUE | 1 | mon->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mon->lock.owner_cpu | 0 |
| PARAM_VALUE | 1 | mon->lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | *mon->self->domain->members | 0-4294967295 |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 1 | mon->peer_cnt | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | mon | r tipc_monitor |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 1 | &mon->lock | |
| TYPE_LOCK | (struct tipc_monitor)->lock |