Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/vdpa/solidrun/snet_main.c snet_vdpa_probe_vf() -> __vdpa_alloc_device()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 config 4733749656340234240
PARAM_VALUE 2 map 0
PARAM_VALUE 3 ngroups 1
PARAM_VALUE 4 nas 1
PARAM_VALUE 5 size 2400
PARAM_VALUE 6 name 0
PARAM_VALUE 7 use_va 0
RX_PATH
TASK_NOT_RUNNING
UNITS 5 size unit_byte

drivers/vdpa/pds/vdpa_dev.c pds_vdpa_dev_add() -> __vdpa_alloc_device()

Type Parameter Key Value
PARAM_VALUE 1 config 94765689163321344
PARAM_VALUE 2 map 0
PARAM_VALUE 3 ngroups 1
PARAM_VALUE 4 nas 1
PARAM_VALUE 5 size 11272
PARAM_VALUE 6 name 4096-ptr_max
PARAM_VALUE 7 use_va 0
BUF_SIZE 0 parent 1616
DATA_SOURCE 6 name $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 6 *name 0-255
UNITS 5 size unit_byte
USER_PTR 6 name
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/mlx5/net/mlx5_vnet.c mlx5_vdpa_dev_add() -> __vdpa_alloc_device()

Type Parameter Key Value
PARAM_VALUE 1 config 4096-ptr_max
PARAM_VALUE 2 map 0
PARAM_VALUE 3 ngroups 3
PARAM_VALUE 4 nas 2
PARAM_VALUE 5 size 5256
PARAM_VALUE 6 name 4096-ptr_max
PARAM_VALUE 7 use_va 0
DATA_SOURCE 6 name $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 6 *name 0-255
UNITS 0 parent unit_byte
UNITS 5 size unit_byte
USER_PTR 6 name
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/virtio_pci/vp_vdpa.c vp_vdpa_dev_add() -> __vdpa_alloc_device()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 config 4796793156554887168
PARAM_VALUE 2 map 0
PARAM_VALUE 3 ngroups 1
PARAM_VALUE 4 nas 1
PARAM_VALUE 5 size 2152
PARAM_VALUE 6 name 4096-ptr_max
PARAM_VALUE 7 use_va 0
BUF_SIZE 0 parent 1616
DATA_SOURCE 6 name $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 6 *name 0-255
UNITS 5 size unit_byte
USER_PTR 6 name
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/ifcvf/ifcvf_main.c ifcvf_vdpa_dev_add() -> __vdpa_alloc_device()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 config 9039869541982425088
PARAM_VALUE 2 map 0
PARAM_VALUE 3 ngroups 1
PARAM_VALUE 4 nas 1
PARAM_VALUE 5 size 1848
PARAM_VALUE 6 name 0
PARAM_VALUE 7 use_va 0
RX_PATH
TASK_NOT_RUNNING
UNITS 5 size 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/alibaba/eni_vdpa.c eni_vdpa_probe() -> __vdpa_alloc_device()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 config 8326921368606605312
PARAM_VALUE 2 map 0
PARAM_VALUE 3 ngroups 1
PARAM_VALUE 4 nas 1
PARAM_VALUE 5 size 2168
PARAM_VALUE 6 name 0
PARAM_VALUE 7 use_va 0
BUF_SIZE 0 parent 1616
RX_PATH
TASK_NOT_RUNNING
UNITS 5 size unit_byte

drivers/vdpa/vdpa_user/vduse_dev.c vduse_dev_init_vdpa() -> __vdpa_alloc_device()

Type Parameter Key Value
PARAM_VALUE 1 config 3451747831500697600,7187044402527076352
PARAM_VALUE 2 map 898183219430080512
PARAM_VALUE 5 size 1840
PARAM_VALUE 6 name 4096-ptr_max
PARAM_VALUE 7 use_va 1
BUF_SIZE 1 config 376
DATA_SOURCE 6 name $1
BIT_INFO 1 config 0x23a5024c14920000,0x6fff92df77d6f000
BIT_INFO 1 config 0x23a5024c14920000,0x6fff92df77d6f000
RX_PATH
TASK_NOT_RUNNING
USER_DATA 6 *name 0-255
UNITS 3 ngroups unit_array_size
UNITS 4 nas unit_array_size
UNITS 5 size unit_byte
USER_PTR 6 name
LOCK2 global &vdpa_dev_lock
LOCK2 global &vduse_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/vdpa_sim/vdpa_sim.c vdpasim_create() -> __vdpa_alloc_device()

Type Parameter Key Value
PARAM_VALUE 0 parent 0
PARAM_VALUE 1 config 1311037343941595136,7009444482973564928
PARAM_VALUE 2 map 0
PARAM_VALUE 3 ngroups 1-2
PARAM_VALUE 4 nas 1-2
PARAM_VALUE 5 size 2280,2376
PARAM_VALUE 6 name 4096-ptr_max
BUF_SIZE 1 config 376
BIT_INFO 1 config 0x8c84a0600000,0x7377bd9ea4ff1000
BIT_INFO 1 config 0x8c84a0600000,0x7377bd9ea4ff1000
HARD_MAX 3 ngroups 2
HARD_MAX 4 nas 2
HARD_MAX 5 size 2376
RX_PATH
TASK_NOT_RUNNING
UNITS 4 nas unit_array_size
UNITS 5 size unit_byte
USER_PTR 6 name
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/octeon_ep/octep_vdpa_main.c octep_vdpa_dev_add() -> __vdpa_alloc_device()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 config 1286933331742568448
PARAM_VALUE 2 map 0
PARAM_VALUE 3 ngroups 1
PARAM_VALUE 4 nas 1
PARAM_VALUE 5 size 1848
PARAM_VALUE 6 name 0
PARAM_VALUE 7 use_va 0
RX_PATH
TASK_NOT_RUNNING
UNITS 5 size unit_byte
HALF_LOCKED2 global &vdpa_dev_lock