Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/netdevsim/fib.c nsim_fib4_rt_hw_flags_set() -> fib_alias_hw_flags_set()

Type Parameter Key Value
PARAM_VALUE 1 fri 8618831922099597312
PARAM_VALUE 1 fri->dst_len 0-255
PARAM_VALUE 1 fri->offload 0
PARAM_VALUE 1 fri->offload_failed 0
BUF_SIZE 0 net (-1),10432,10496
BUF_SIZE 0 net (-1),10432,10496
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &data->fib_lock
HALF_LOCKED2 &pool->lock

drivers/net/netdevsim/fib.c nsim_fib4_rt_offload_failed_flag_set() -> fib_alias_hw_flags_set()

Type Parameter Key Value
PARAM_VALUE 1 fri 4081738771419803648
PARAM_VALUE 1 fri->offload 0
PARAM_VALUE 1 fri->offload_failed 1
PARAM_VALUE 1 fri->trap 0
BUF_SIZE 0 net (-1),10432,10496
BUF_SIZE 0 net (-1),10432,10496
DATA_SOURCE 0 net $0
NOCHECK_CALL
LOCK2 &data->fib_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nsim_fib_data)->fib_lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib4_entry_hw_flags_clear() -> fib_alias_hw_flags_set()

Type Parameter Key Value
PARAM_VALUE 1 fri 1499752400904011776
PARAM_VALUE 1 fri->dst_len 0-255
PARAM_VALUE 1 fri->offload 0
PARAM_VALUE 1 fri->offload_failed 0
PARAM_VALUE 1 fri->trap 0
BUF_SIZE 0 net (-1),10432,10496
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mlxsw_sp->router->lock
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib4_entry_hw_flags_set() -> fib_alias_hw_flags_set()

Type Parameter Key Value
PARAM_VALUE 1 fri 1912236809850937344
PARAM_VALUE 1 fri->dst_len 0-255
PARAM_VALUE 1 fri->offload_failed 0
BUF_SIZE 0 net (-1),10432,10496
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mlxsw_sp->router->lock
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib4_offload_failed_flag_set() -> fib_alias_hw_flags_set()

Type Parameter Key Value
PARAM_VALUE 1 fri 6588476130982858752
PARAM_VALUE 1 fri->fi 4096-ptr_max
PARAM_VALUE 1 fri->offload 0
PARAM_VALUE 1 fri->offload_failed 1
PARAM_VALUE 1 fri->trap 0
BUF_SIZE 0 net (-1),10432,10496
NOCHECK_CALL
LOCK2 &mlxsw_sp->router->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlxsw_sp_router)->lock

drivers/net/ethernet/marvell/prestera/prestera_router.c __prestera_k_arb_fib_lpm_offload_set() -> fib_alias_hw_flags_set()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 fri 6817313806515322880
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex