Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
- net/ipv4/ipmr.c
- net/ipv6/ip6mr.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c mlxsw_sp_mr_route_create() -> mr_cache_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->mfc_un.res.ttls | 4096-ptr_max |
| DATA_SOURCE | 0 | c | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &mlxsw_sp->router->lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mlxsw_sp_router)->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c mlxsw_sp_mr_route_destroy() -> mr_cache_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mlxsw_sp->router->lock | ||
| HALF_LOCKED2 | &mr_table->route_list_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/ip6mr.c ip6mr_mfc_delete() -> mr_cache_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->ipv6.mfc_mutex | ||
| TYPE_LOCK | (struct netns_ipv6)->mfc_mutex |
net/ipv6/ip6mr.c mroute_clean_tables() -> mr_cache_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| CAPPED_DATA | 0 | &c->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->ipv6.mfc_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct netns_ipv6)->mfc_mutex |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fibmr_event_work() -> mr_cache_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &mlxsw_sp->router->lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mlxsw_sp_router)->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fibmr_event_work() -> mr_cache_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &mlxsw_sp->router->lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mlxsw_sp_router)->lock |
net/ipv4/ipmr.c ipmr_mfc_delete() -> mr_cache_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->ipv4.mfc_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct netns_ipv4)->mfc_mutex |
net/ipv4/ipmr.c mroute_clean_tables() -> mr_cache_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| CAPPED_DATA | 0 | &c->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->ipv4.mfc_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct netns_ipv4)->mfc_mutex |