Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/infiniband/core/uverbs_std_types_device.c ib_uverbs_handler_UVERBS_METHOD_QUERY_GID_ENTRY() -> uverbs_copy_to_struct_or_zero()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->ufile 4096-ptr_max
PARAM_VALUE 0 bundle->ufile->device 4096-ptr_max
PARAM_VALUE 1 idx 3
PARAM_VALUE 2 from 7507558704363712512
PARAM_VALUE 3 size 32
BUF_SIZE 2 from 32
DATA_SOURCE 0 bundle $0
UNITS 3 size unit_byte

drivers/infiniband/core/uverbs_std_types_device.c ib_uverbs_handler_UVERBS_METHOD_QUERY_PORT() -> uverbs_copy_to_struct_or_zero()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->ufile 4096-ptr_max
PARAM_VALUE 0 bundle->ufile->device 4096-ptr_max
PARAM_VALUE 1 idx 1
PARAM_VALUE 2 from 7396340038531534848
PARAM_VALUE 3 size 48
BUF_SIZE 2 from 48
DATA_SOURCE 0 bundle $0
UNITS 3 size unit_byte

drivers/infiniband/core/uverbs_std_types_qp.c ib_uverbs_handler_UVERBS_METHOD_QP_CREATE() -> uverbs_copy_to_struct_or_zero()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->attr_present 4096-ptr_max
PARAM_VALUE 0 bundle->ufile 4096-ptr_max
PARAM_VALUE 0 bundle->ufile->device 4096-ptr_max
PARAM_VALUE 0 bundle->ufile->device->disassociate_srcu.dep_map->name 0-255
PARAM_VALUE 0 bundle->ufile->device->disassociate_srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 0 bundle->ufile->device->ib_dev 1-u64max
PARAM_VALUE 0 bundle->ufile->ucontext 4096-ptr_max
PARAM_VALUE 1 idx 13
PARAM_VALUE 2 from 7604653636097519616
PARAM_VALUE 3 size 20
BUF_SIZE 2 from 20
CAPPED_DATA 0 bundle->ufile->device->disassociate_srcu.srcu_ctrp 1
DATA_SOURCE 0 bundle $0
UNITS 3 size unit_byte

drivers/infiniband/hw/mlx5/std_types.c mlx5_ib_handler_MLX5_IB_METHOD_QUERY_PORT() -> uverbs_copy_to_struct_or_zero()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->ufile 4096-ptr_max
PARAM_VALUE 0 bundle->ufile->device 4096-ptr_max
PARAM_VALUE 1 idx 4097
PARAM_VALUE 2 from 3941414850378113024
PARAM_VALUE 3 size 40
BUF_SIZE 2 from 40
DATA_SOURCE 0 bundle $0
UNITS 3 size unit_byte

drivers/infiniband/hw/mlx5/main.c mlx5_ib_query_ucontext() -> uverbs_copy_to_struct_or_zero()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->ufile 4096-ptr_max
PARAM_VALUE 0 bundle->ufile->device 4096-ptr_max
PARAM_VALUE 1 idx 4096
PARAM_VALUE 2 from 8477927647468146688
PARAM_VALUE 3 size 72
BUF_SIZE 2 from 72
DATA_SOURCE 0 bundle $1
UNITS 3 size unit_byte

drivers/infiniband/core/uverbs_cmd.c uverbs_response() -> uverbs_copy_to_struct_or_zero()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->attr_present 4096-ptr_max
PARAM_VALUE 0 bundle->driver_udata.inlen 0-524280,18446744073709551361-u64max
PARAM_VALUE 0 bundle->driver_udata.outlen 0-524280,18446744073709551361-u64max
PARAM_VALUE 0 bundle->ucore.inlen 4-524280,18446744073709551608-u64max
PARAM_VALUE 0 bundle->ucore.outlen 0-524280
PARAM_VALUE 0 bundle->ufile 4096-ptr_max
PARAM_VALUE 0 bundle->ufile->hw_destroy_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 bundle->ufile->hw_destroy_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 bundle->uobject 0,4096-ptr_max
PARAM_VALUE 1 idx 1
PARAM_VALUE 2 from 4096-ptr_max
PARAM_VALUE 3 size 4,8,12,16,24,32,40,128,176,304
BUF_SIZE 0 bundle->ufile s32min-(-1),1-s32max
BUF_SIZE 2 from 4,8,12,16,24,32,40,128,176,304
BUF_SIZE 2 from 4,8,12,16,24,32,40,128,176,304
CAPPED_DATA 0 bundle->driver_udata.inlen 1
CAPPED_DATA 0 bundle->driver_udata.outlen 1
CAPPED_DATA 0 bundle->ucore.inlen 1
CAPPED_DATA 0 bundle->ufile 1
DATA_SOURCE 0 bundle $0
DATA_SOURCE 2 from $1
DATA_SOURCE 3 size $2
NOSPEC 0 bundle->driver_udata.inlen
NOSPEC 0 bundle->driver_udata.outlen
NOSPEC 0 bundle->ucore.inlen
HARD_MAX 3 size 304
USER_DATA 0 bundle->driver_udata.inlen 0-524280,18446744073709551361-u64max[c]
USER_DATA 0 bundle->driver_udata.outlen 0-524280,18446744073709551361-u64max[c]
USER_DATA 0 bundle->ucore.inlen 4-524280,18446744073709551608-u64max[c]
USER_DATA 0 bundle->ucore.outlen 0-524280
USER_DATA 0 bundle->uobject->user_handle 0-u64max
UNITS 3 size unit_byte
HALF_LOCKED2 &file->device->disassociate_srcu

drivers/infiniband/hw/bnxt_re/uapi.c bnxt_re_handler_BNXT_RE_METHOD_DBR_ALLOC() -> uverbs_copy_to_struct_or_zero()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->ufile 4096-ptr_max
PARAM_VALUE 0 bundle->ufile->device 4096-ptr_max
PARAM_VALUE 1 idx 4097
PARAM_VALUE 2 from 311161569248296960
PARAM_VALUE 3 size 16
BUF_SIZE 2 from 16
DATA_SOURCE 0 bundle $0
UNITS 3 size unit_byte

drivers/infiniband/hw/bnxt_re/uapi.c bnxt_re_handler_BNXT_RE_METHOD_GET_DEFAULT_DBR() -> uverbs_copy_to_struct_or_zero()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->ufile 4096-ptr_max
PARAM_VALUE 0 bundle->ufile->device 4096-ptr_max
PARAM_VALUE 1 idx 4096
PARAM_VALUE 2 from 7402627454050824192
PARAM_VALUE 3 size 16
BUF_SIZE 2 from 16
DATA_SOURCE 0 bundle $0
UNITS 3 size unit_byte