Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/infiniband/core/uverbs_std_types_mr.c ib_uverbs_handler_UVERBS_METHOD_ADVISE_MR() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 3
DATA_SOURCE 0 attrs_bundle $0

drivers/infiniband/core/uverbs_cmd.c ib_init_ucontext() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 0 attrs_bundle 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->attr_present 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->context 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->context->cg_obj.cg 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->context->device 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->context->device->cg_device.rpools.prev 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->context->device->cg_device.rpools.prev->next 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->context->device->cg_device.rpools.prev->next->next 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->context->mmap_xa.xa_flags 33554436
PARAM_VALUE 0 attrs_bundle->context->mmap_xa.xa_head 0
PARAM_VALUE 0 attrs_bundle->context->res.comp.done 0
PARAM_VALUE 0 attrs_bundle->context->res.comp.wait.lock.magic 3735899821
PARAM_VALUE 0 attrs_bundle->context->res.comp.wait.lock.owner (-1)
PARAM_VALUE 0 attrs_bundle->context->res.comp.wait.lock.owner_cpu u32max
PARAM_VALUE 0 attrs_bundle->context->res.comp.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->context->res.comp.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->context->res.kref.refcount.refs.counter 1
PARAM_VALUE 0 attrs_bundle->context->res.type 5
PARAM_VALUE 0 attrs_bundle->context->res.user 1
PARAM_VALUE 0 attrs_bundle->context->ufile 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->driver_udata.inlen 0-524280,18446744073709551361-u64max
PARAM_VALUE 0 attrs_bundle->driver_udata.outlen 0-524280,18446744073709551361-u64max
PARAM_VALUE 0 attrs_bundle->ucore.inlen 0-524280,18446744073709551361-u64max
PARAM_VALUE 0 attrs_bundle->ucore.outlen 0-524280,18446744073709551361-u64max
PARAM_VALUE 0 attrs_bundle->ufile 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile->device 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile->device->ib_dev->ops.size_ib_ucontext 0-4000000
PARAM_VALUE 0 attrs_bundle->ufile->hw_destroy_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 attrs_bundle->ufile->hw_destroy_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 attrs_bundle->ufile->ucontext 0
PARAM_VALUE 0 attrs_bundle->ufile->ucontext_lock.dep_map->name 0-255
PARAM_VALUE 0 attrs_bundle->ufile->ucontext_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 attrs_bundle->ufile->ucontext_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 attrs_bundle->ufile->ucontext_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 attrs_bundle->ufile->ucontext_lock.wait_lock.owner (-1)
PARAM_VALUE 0 attrs_bundle->ufile->ucontext_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 idx 2
CAPPED_DATA 0 attrs_bundle->ufile->device->ib_dev 1
DATA_SOURCE 0 attrs_bundle $0
NOSPEC 0 attrs_bundle->ucore.inlen
USER_DATA 0 attrs_bundle->driver_udata.inlen 0-524280,18446744073709551361-u64max
USER_DATA 0 attrs_bundle->driver_udata.outlen 0-524280,18446744073709551361-u64max
USER_DATA 0 attrs_bundle->ucore.inlen 4-120[c]
USER_DATA 0 attrs_bundle->ucore.outlen 0-524280[c]
LOCK2 &file->hw_destroy_rwsem
LOCK2 &file->ucontext_lock
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->ucontext_lock

drivers/infiniband/hw/mlx5/qos.c mlx5_ib_handler_MLX5_IB_METHOD_PP_OBJ_ALLOC() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 0 attrs_bundle 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile->device 4096-ptr_max
PARAM_VALUE 1 idx 4097
DATA_SOURCE 0 attrs_bundle $0

drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_OBJ_ASYNC_QUERY() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 4097
DATA_SOURCE 0 attrs_bundle $0

drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_OBJ_CREATE() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 4097
DATA_SOURCE 0 attrs_bundle $0

drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_OBJ_MODIFY() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 4097
DATA_SOURCE 0 attrs_bundle $0

drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_OBJ_QUERY() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 4097
DATA_SOURCE 0 attrs_bundle $0

drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_OTHER() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 4096
DATA_SOURCE 0 attrs_bundle $0

drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 0 attrs_bundle->attr_present 4096-ptr_max
PARAM_VALUE 1 idx 4098
DATA_SOURCE 0 attrs_bundle $0

drivers/infiniband/hw/mlx5/fs.c mlx5_ib_handler_MLX5_IB_METHOD_CREATE_FLOW() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 0 attrs_bundle 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->attr_present 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile->device 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile->device->disassociate_srcu.dep_map->name 0-255
PARAM_VALUE 0 attrs_bundle->ufile->device->disassociate_srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile->ucontext 4096-ptr_max
PARAM_VALUE 1 idx 4104
CAPPED_DATA 0 attrs_bundle->ufile->device->disassociate_srcu.srcu_ctrp 1
DATA_SOURCE 0 attrs_bundle $0

drivers/infiniband/hw/mlx5/fs.c mlx5_ib_handler_MLX5_IB_METHOD_CREATE_FLOW() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 0 attrs_bundle 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile->device 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile->device->disassociate_srcu.dep_map->name 0-255
PARAM_VALUE 0 attrs_bundle->ufile->device->disassociate_srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 0 attrs_bundle->ufile->ucontext 4096-ptr_max
PARAM_VALUE 1 idx 4097
CAPPED_DATA 0 attrs_bundle->ufile->device->disassociate_srcu.srcu_ctrp 1
DATA_SOURCE 0 attrs_bundle $0

drivers/infiniband/hw/mlx5/fs.c mlx5_ib_handler_MLX5_IB_METHOD_FLOW_ACTION_CREATE_MODIFY_HEADER() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 4097
DATA_SOURCE 0 attrs_bundle $0

drivers/infiniband/hw/mlx5/fs.c mlx5_ib_handler_MLX5_IB_METHOD_FLOW_ACTION_CREATE_PACKET_REFORMAT() -> uverbs_attr_get_alloced_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 4099
DATA_SOURCE 0 attrs_bundle $0