Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_drv_ctl() -> bnx2x_init_mac_obj()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 mac_obj 4096-ptr_max
PARAM_VALUE 7 state 0
PARAM_VALUE 8 pstate 4096-ptr_max
PARAM_VALUE 9 type 0
PARAM_VALUE 10 macs_pool 4096-ptr_max
BUF_SIZE 5 rdata 1032
NOCHECK_CALL

drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_init_vlan_mac_fp_objs() -> bnx2x_init_mac_obj()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->sp_objs 4096-ptr_max
PARAM_VALUE 3 cid 0-s32max
PARAM_VALUE 7 state 0
PARAM_VALUE 8 pstate 4096-ptr_max
PARAM_VALUE 9 type 2
PARAM_VALUE 10 macs_pool 4096-ptr_max
BUF_SIZE 5 rdata 1032
CAPPED_DATA 3 cid 1
DATA_SOURCE 9 type $1
NOCHECK_CALL
UNITS 3 cid unit_array_size

drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bnx2x_leading_vfq_init() -> bnx2x_init_mac_obj()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->bnx2x_txq->tx_buf_ring 0
PARAM_VALUE 0 bp->bnx2x_txq->tx_db.data.zero_fill1 0
PARAM_VALUE 0 bp->bnx2x_txq->tx_db.raw 0
PARAM_VALUE 0 bp->bnx2x_txq->tx_desc_mapping 0
PARAM_VALUE 0 bp->dmae_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bp->dmae_ready s32min-(-1),1-s32max
PARAM_VALUE 0 bp->ilt->start_line 0-97920
PARAM_VALUE 0 bp->link_params.bp->dev->ethtool_ops->rxfh_max_num_contexts 0,2,8,16,33
PARAM_VALUE 0 bp->pdev->sriov->pos 0,256-4092
PARAM_VALUE 0 bp->slowpath->wb_comp 0
PARAM_VALUE 0 bp->stats_lock.first_waiter->up 0-1
PARAM_VALUE 0 bp->vfdb 4096-ptr_max
PARAM_VALUE 0 bp->vfdb->event_mutex.dep_map->name 0-255
PARAM_VALUE 0 bp->vfdb->event_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bp->vfdb->event_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->vfdb->event_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bp->vfdb->event_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->vfdb->event_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 bp->vfdb->event_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->vfdb->event_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 bp->vfdb->event_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 bp->vfdb->event_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 bp->vfdb->event_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->vfdb->event_occur 0
PARAM_VALUE 0 bp->vfdb->first_vf_igu_entry 0-135
PARAM_VALUE 0 bp->vfdb->mbxs 4096-ptr_max
PARAM_VALUE 0 bp->vfdb->sriov.cap 0
PARAM_VALUE 0 bp->vfdb->sriov.ctrl 0
PARAM_VALUE 0 bp->vfdb->sriov.first_vf_in_pf 0-120,4294967232-u32max
PARAM_VALUE 0 bp->vfdb->sriov.initial 0
PARAM_VALUE 0 bp->vfdb->sriov.link 0
PARAM_VALUE 0 bp->vfdb->sriov.nr_virtfn 1-u16max
PARAM_VALUE 0 bp->vfdb->sriov.nres 0
PARAM_VALUE 0 bp->vfdb->sriov.offset 0
PARAM_VALUE 0 bp->vfdb->sriov.pgsz 0
PARAM_VALUE 0 bp->vfdb->sriov.pos 0,256-4092
PARAM_VALUE 0 bp->vfdb->sriov.stride 0
PARAM_VALUE 0 bp->vfdb->sriov.total 0
PARAM_VALUE 0 *bp->vfdb->flrd_vfs 0-4294967295
PARAM_VALUE 1 mac_obj 4096-ptr_max
PARAM_VALUE 7 state 0
PARAM_VALUE 8 pstate 4096-ptr_max
PARAM_VALUE 9 type 2
PARAM_VALUE 10 macs_pool 4096-ptr_max
DATA_SOURCE 0 bp $0
DATA_SOURCE 2 cl_id r vfq_cl_id
NOCHECK_CALL
LOCK2 &vf->op_mutex
TYPE_LOCK (struct bnx2x_virtf)->op_mutex