Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/vdpa/pds/vdpa_dev.c pds_vdpa_get_mgmt_info() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 0 padev 4096-ptr_max
PARAM_VALUE 0 padev->vf_pdev 4096-ptr_max
PARAM_VALUE 0 padev->vf_pdev->is_virtfn 0
PARAM_VALUE 1 req 7718587729746432000
PARAM_VALUE 1 req->fwctl.ep 0
PARAM_VALUE 1 req->fwctl.op 0
PARAM_VALUE 1 req->opcode 0
PARAM_VALUE 1 req->vdpa_ident.ident_pa 0-18446744073709551614
PARAM_VALUE 1 req->vdpa_ident.len 16
PARAM_VALUE 1 req->vdpa_ident.opcode 49
PARAM_VALUE 1 req->vdpa_status.status 0
PARAM_VALUE 2 req_len 16
PARAM_VALUE 3 resp 3366765049723482112
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_len unit_byte

drivers/vdpa/pds/cmds.c pds_vdpa_cmd_init_vq() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 1 req 189216783670284288
PARAM_VALUE 1 req->fwctl.ep 0
PARAM_VALUE 1 req->fwctl.op 0
PARAM_VALUE 1 req->opcode 0
PARAM_VALUE 1 req->vdpa_status.status 0
PARAM_VALUE 1 req->vdpa_vq_init.len 0-31,u16max
PARAM_VALUE 1 req->vdpa_vq_init.opcode 53
PARAM_VALUE 2 req_len 40
PARAM_VALUE 3 resp 222312767253688320
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
NOSPEC 1 req->vdpa_vq_init.intr_index
NOSPEC 1 req->vdpa_vq_init.qid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 req->vdpa_vq_init.intr_index 0-u16max[c]
USER_DATA 1 req->vdpa_vq_init.qid 0-u16max[c]
UNITS 2 req_len unit_byte
HALF_LOCKED2 &d->mutex

drivers/vdpa/pds/cmds.c pds_vdpa_cmd_reset() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 1 req 6997057150778261504
PARAM_VALUE 1 req->fwctl.ep 0
PARAM_VALUE 1 req->fwctl.op 0
PARAM_VALUE 1 req->opcode 0
PARAM_VALUE 1 req->vdpa.opcode 51
PARAM_VALUE 1 req->vdpa_status.status 0
PARAM_VALUE 2 req_len 4
PARAM_VALUE 3 resp 4542866288083845120
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_len unit_byte
HALF_LOCKED2 &vdpa_dev->cf_lock
HALF_LOCKED2 global &vdpa_dev_lock

drivers/vdpa/pds/cmds.c pds_vdpa_cmd_reset_vq() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 1 req 556794419443171328
PARAM_VALUE 1 req->fwctl.ep 0
PARAM_VALUE 1 req->fwctl.op 0
PARAM_VALUE 1 req->opcode 0
PARAM_VALUE 1 req->vdpa_status.status 0
PARAM_VALUE 1 req->vdpa_vq_reset.opcode 52
PARAM_VALUE 2 req_len 6
PARAM_VALUE 3 resp 8856308441808084992
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
NOSPEC 1 req->vdpa_vq_reset.qid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 req->vdpa_vq_reset.qid 0-u16max[c]
UNITS 2 req_len unit_byte
HALF_LOCKED2 &vdpa_dev->cf_lock

drivers/vdpa/pds/cmds.c pds_vdpa_cmd_set_mac() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 0 padev 4096-ptr_max
PARAM_VALUE 0 padev->vf_pdev 4096-ptr_max
PARAM_VALUE 1 req 6545086025560793088
PARAM_VALUE 1 req->fwctl.ep 0
PARAM_VALUE 1 req->fwctl.op 0
PARAM_VALUE 1 req->opcode 0
PARAM_VALUE 1 req->vdpa_setattr.attr 1
PARAM_VALUE 1 req->vdpa_setattr.opcode 56
PARAM_VALUE 1 req->vdpa_status.status 0
PARAM_VALUE 2 req_len 14
PARAM_VALUE 3 resp 1061630290815938560
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_len unit_byte
HALF_LOCKED2 &vdpa_dev->cf_lock
HALF_LOCKED2 global &vdpa_dev_lock

drivers/vdpa/pds/cmds.c pds_vdpa_cmd_set_max_vq_pairs() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 0 padev 4096-ptr_max
PARAM_VALUE 0 padev->vf_pdev 4096-ptr_max
PARAM_VALUE 1 req 2838758762444353536
PARAM_VALUE 1 req->fwctl.ep 0
PARAM_VALUE 1 req->fwctl.op 0
PARAM_VALUE 1 req->opcode 0
PARAM_VALUE 1 req->vdpa_setattr.attr 2
PARAM_VALUE 1 req->vdpa_setattr.opcode 56
PARAM_VALUE 1 req->vdpa_status.status 0
PARAM_VALUE 2 req_len 14
PARAM_VALUE 3 resp 1372388918773129216
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_len unit_byte
LOCK2 global &vdpa_dev_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/vdpa/pds/cmds.c pds_vdpa_cmd_set_status() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 1 req 7087545555762204672
PARAM_VALUE 1 req->fwctl.ep 0
PARAM_VALUE 1 req->fwctl.op 0
PARAM_VALUE 1 req->opcode 0
PARAM_VALUE 1 req->vdpa_status.opcode 54
PARAM_VALUE 2 req_len 6
PARAM_VALUE 3 resp 7704385649387438080
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 req->vdpa_status.status 0-255
USER_DATA 1 req->vdpa_status.status 1-255
UNITS 2 req_len unit_byte
LOCK2 &vdpa_dev->cf_lock
TYPE_LOCK (struct vdpa_device)->cf_lock

drivers/vdpa/pds/cmds.c pds_vdpa_init_hw() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 0 padev 4096-ptr_max
PARAM_VALUE 0 padev->vf_pdev 4096-ptr_max
PARAM_VALUE 1 req 2803349272018829312
PARAM_VALUE 1 req->fwctl.ep 0
PARAM_VALUE 1 req->fwctl.op 0
PARAM_VALUE 1 req->opcode 0
PARAM_VALUE 1 req->vdpa_init.opcode 48
PARAM_VALUE 1 req->vdpa_status.status 0
PARAM_VALUE 2 req_len 4
PARAM_VALUE 3 resp 5057505898259468288
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_len unit_byte
LOCK2 global &vdpa_dev_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/fwctl/pds/main.c pdsfc_fw_rpc() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 1 req 3142994923067785216
PARAM_VALUE 2 req_len 64
PARAM_VALUE 3 resp 152205915647295488
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
UNITS 2 req_len unit_byte
LOCK2 _T->lock

drivers/fwctl/pds/main.c pdsfc_get_endpoints() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 0 padev 4096-ptr_max
PARAM_VALUE 0 padev->vf_pdev->is_virtfn 0
PARAM_VALUE 1 req 381131768432496640
PARAM_VALUE 2 req_len 64
PARAM_VALUE 3 resp 3565004983822012416
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_len unit_byte

drivers/fwctl/pds/main.c pdsfc_get_operations() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 1 req 7959225523818418176
PARAM_VALUE 2 req_len 64
PARAM_VALUE 3 resp 3666748436985815040
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
UNITS 2 req_len unit_byte
LOCK2 &ep_info->lock
LOCK2 _T->lock
TYPE_LOCK (struct pdsfc_rpc_endpoint_info)->lock

drivers/fwctl/pds/main.c pdsfc_identify() -> pds_client_adminq_cmd()

Type Parameter Key Value
PARAM_VALUE 0 padev 4096-ptr_max
PARAM_VALUE 1 req 48018341587529728
PARAM_VALUE 2 req_len 64
PARAM_VALUE 3 resp 9184464047062564864
PARAM_VALUE 3 resp->color 0
PARAM_VALUE 3 resp->rsvd 0
PARAM_VALUE 3 resp->status 0
PARAM_VALUE 4 flags 0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 req_len unit_byte