Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/airoha/airoha_eth.c airoha_alloc_gdm_port() -> airoha_alloc_gdm_device()

Type Parameter Key Value
PARAM_VALUE 0 eth 4096-ptr_max
PARAM_VALUE 0 eth->dev 4096-ptr_max
PARAM_VALUE 0 eth->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 eth->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 eth->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 eth->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 eth->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 eth->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 eth->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 eth->dev->dma_mask 4096-ptr_max
PARAM_VALUE 0 eth->dev->dma_mem 0,4096-ptr_max
PARAM_VALUE 0 eth->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 eth->dev->driver 4096-ptr_max
PARAM_VALUE 0 eth->dev->of_node 1-u64max
PARAM_VALUE 0 eth->fe_regs 4096-ptr_max
PARAM_VALUE 0 eth->flow_table.key_len 0-u16max
PARAM_VALUE 0 eth->flow_table.max_elems 0-2147483646,2147483648
PARAM_VALUE 0 eth->flow_table.nelems.counter 0
PARAM_VALUE 0 eth->flow_table.p.insecure_elasticity 0
PARAM_VALUE 0 eth->flow_table.p.min_size 4-u16max
PARAM_VALUE 0 eth->flow_table.rhlist 0
PARAM_VALUE 0 eth->flow_table.run_work.func 0
PARAM_VALUE 0 eth->flow_table.tbl 0,4096-ptr_max
PARAM_VALUE 0 eth->flow_table.tbl->rcu.func (-1)
PARAM_VALUE 0 eth->flow_table.tbl->size 4-4294967295
PARAM_VALUE 0 eth->napi_dev 4096-ptr_max
PARAM_VALUE 0 eth->napi_dev->lock.dep_map->name 0-255
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 eth->napi_dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 eth->napi_dev->threaded 0
PARAM_VALUE 0 eth->ppe 4096-ptr_max
PARAM_VALUE 0 eth->ppe->dev.ops.check_skb 1298464244716335104
PARAM_VALUE 0 eth->ppe->dev.ops.setup_tc_block_cb 4681123245545222144
PARAM_VALUE 0 eth->ppe->dev.priv 4096-ptr_max
PARAM_VALUE 0 eth->ppe->eth 4096-ptr_max
PARAM_VALUE 0 eth->soc 4096-ptr_max
PARAM_VALUE 0 eth->xsi_rsts 1-u64max
PARAM_VALUE 1 port 4096-ptr_max
PARAM_VALUE 1 port->id 3-4
PARAM_VALUE 2 nbq 0-1,4-5
PARAM_VALUE 3 np 4096-ptr_max
PARAM_VALUE 3 np->properties 4096-ptr_max
BUF_SIZE 0 eth 94904
BUF_SIZE 0 eth->dev 1616
BUF_SIZE 1 port 152
CAPPED_DATA 0 eth->soc->num_xsi_rsts 1
DATA_SOURCE 0 eth $0
DATA_SOURCE 1 port r devm_kzalloc
DATA_SOURCE 2 nbq r __be32_to_cpup
MEM_ZERO 0 eth
MEM_ZERO 0 &eth->flow_table
MEM_ZERO 1 port
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 eth->soc->num_xsi_rsts

drivers/net/ethernet/airoha/airoha_eth.c airoha_alloc_gdm_port() -> airoha_alloc_gdm_device()

Type Parameter Key Value
PARAM_VALUE 0 eth 4096-ptr_max
PARAM_VALUE 0 eth->dev 4096-ptr_max
PARAM_VALUE 0 eth->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 eth->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 eth->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 eth->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 eth->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 eth->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 eth->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 eth->dev->dma_mask 4096-ptr_max
PARAM_VALUE 0 eth->dev->dma_mem 0,4096-ptr_max
PARAM_VALUE 0 eth->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 eth->dev->driver 4096-ptr_max
PARAM_VALUE 0 eth->dev->of_node 1-u64max
PARAM_VALUE 0 eth->fe_regs 4096-ptr_max
PARAM_VALUE 0 eth->flow_table.key_len 0-u16max
PARAM_VALUE 0 eth->flow_table.max_elems 0-2147483646,2147483648
PARAM_VALUE 0 eth->flow_table.nelems.counter 0
PARAM_VALUE 0 eth->flow_table.p.insecure_elasticity 0
PARAM_VALUE 0 eth->flow_table.p.min_size 4-u16max
PARAM_VALUE 0 eth->flow_table.rhlist 0
PARAM_VALUE 0 eth->flow_table.run_work.func 0
PARAM_VALUE 0 eth->flow_table.tbl 0,4096-ptr_max
PARAM_VALUE 0 eth->flow_table.tbl->rcu.func (-1)
PARAM_VALUE 0 eth->flow_table.tbl->size 4-4294967295
PARAM_VALUE 0 eth->napi_dev 4096-ptr_max
PARAM_VALUE 0 eth->napi_dev->lock.dep_map->name 0-255
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 eth->napi_dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 eth->napi_dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 eth->napi_dev->threaded 0
PARAM_VALUE 0 eth->ppe 4096-ptr_max
PARAM_VALUE 0 eth->ppe->dev.ops.check_skb 1298464244716335104
PARAM_VALUE 0 eth->ppe->dev.ops.setup_tc_block_cb 4681123245545222144
PARAM_VALUE 0 eth->ppe->dev.priv 4096-ptr_max
PARAM_VALUE 0 eth->ppe->eth 4096-ptr_max
PARAM_VALUE 0 eth->soc 4096-ptr_max
PARAM_VALUE 0 eth->xsi_rsts 1-u64max
PARAM_VALUE 1 port 4096-ptr_max
PARAM_VALUE 1 port->id 1-4
PARAM_VALUE 2 nbq 0,4
PARAM_VALUE 3 np 4096-ptr_max
PARAM_VALUE 3 np->properties 4096-ptr_max
BUF_SIZE 0 eth 94904
BUF_SIZE 0 eth->dev 1616
BUF_SIZE 1 port 152
CAPPED_DATA 0 eth->soc->num_xsi_rsts 1
DATA_SOURCE 0 eth $0
DATA_SOURCE 1 port r devm_kzalloc
DATA_SOURCE 3 np $1
FUZZY_MAX 2 nbq 4
BIT_INFO 2 nbq 0x0,0x4
HARD_MAX 2 nbq 4
MEM_ZERO 0 eth
MEM_ZERO 0 &eth->flow_table
MEM_ZERO 1 port
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 eth->soc->num_xsi_rsts