Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/fungible/funeth/funeth_main.c fun_service_cb() -> fun_create_ports()

Type Parameter Key Value
PARAM_VALUE 0 ed 4096-ptr_max
PARAM_VALUE 0 ed->num_ports 0
PARAM_VALUE 1 nports 1-s32max
DATA_SOURCE 0 ed r to_fun_ethdev
DATA_SOURCE 1 nports r fun_get_res_count
PARAM_COMPARE 0 ed->num_ports <= $1
PARAM_COMPARE 1 nports >= $0->num_ports
NOCHECK_CALL
UNITS 1 nports unit_array_size
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/fungible/funeth/funeth_main.c funeth_probe() -> fun_create_ports()

Type Parameter Key Value
PARAM_VALUE 0 ed 4096-ptr_max
PARAM_VALUE 0 ed->fdev.admin_q 4096-ptr_max
PARAM_VALUE 0 ed->fdev.bar 0
PARAM_VALUE 0 ed->fdev.dev 4096-ptr_max
PARAM_VALUE 0 ed->fdev.suppress_cmds 1
PARAM_VALUE 0 ed->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 ed->state_mutex.first_waiter 0
PARAM_VALUE 0 ed->state_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ed->state_mutex.osq.tail.counter 0
PARAM_VALUE 0 ed->state_mutex.owner.counter 0
PARAM_VALUE 1 nports 1-s32max
DATA_SOURCE 0 ed r devlink_priv
DATA_SOURCE 1 nports r fun_get_res_count
RX_PATH
TASK_NOT_RUNNING