Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/infiniband/core/ib_core_uverbs.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-63,u32max
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/core/ib_core_uverbs.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-63,u32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &attrs_bundle->ufile->hw_destroy_rwsem

drivers/infiniband/core/ib_core_uverbs.c uverbs_finalize_uobj_create() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 1-2,u32max

drivers/infiniband/hw/bnxt_re/ib_verbs.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 1,3-u32max
BIT_INFO 0 attr_key 0x4,0xffffffff
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/bnxt_re/ib_verbs.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 1,3-u32max
BIT_INFO 0 attr_key 0x4,0xffffffff
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx5/dm.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value

drivers/infiniband/hw/mlx5/dm.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value

drivers/infiniband/core/uverbs_std_types_async_fd.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 1

drivers/infiniband/core/uverbs_std_types_async_fd.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 1

drivers/infiniband/core/uverbs_std_types_comp_cntr.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-8

drivers/infiniband/core/uverbs_std_types_comp_cntr.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-63,u32max

drivers/infiniband/core/uverbs_std_types_cq.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-16

drivers/infiniband/core/uverbs_std_types_cq.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-16

drivers/infiniband/hw/efa/efa_verbs.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 2

drivers/infiniband/hw/efa/efa_verbs.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 2

drivers/infiniband/core/uverbs_std_types_dmabuf.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 1

drivers/infiniband/core/uverbs_std_types_dmabuf.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 1

drivers/infiniband/core/uverbs_std_types_device.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 5

drivers/infiniband/core/uverbs_std_types_device.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 5

drivers/infiniband/core/uverbs_std_types_dmah.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-8

drivers/infiniband/core/uverbs_std_types_dmah.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-8

drivers/infiniband/core/uverbs_std_types_qp.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-26

drivers/infiniband/core/uverbs_std_types_qp.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-26

drivers/infiniband/core/uverbs_ioctl.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-5,u32max
HALF_LOCKED2 &ufile->device->disassociate_srcu

drivers/infiniband/core/uverbs_ioctl.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-5,u32max
HALF_LOCKED2 &ufile->device->disassociate_srcu

drivers/infiniband/core/uverbs_ioctl.c uverbs_set_attr() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-63,u32max
DATA_SOURCE 0 attr_key r uapi_key_attr
USER_DATA 0 attr_key 0-63[c]
LOCK2 &ufile->device->disassociate_srcu
TYPE_LOCK (struct ib_uverbs_device)->disassociate_srcu

drivers/infiniband/core/umem.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0,2-24
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &attrs_bundle->ufile->hw_destroy_rwsem

drivers/infiniband/core/umem.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0,2-24
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/core/uverbs_std_types_dm.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-6

drivers/infiniband/core/uverbs_std_types_dm.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-6

drivers/infiniband/core/uverbs_std_types_mr.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-18

drivers/infiniband/core/uverbs_std_types_mr.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-18

drivers/infiniband/hw/mlx5/std_types.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 2

drivers/infiniband/hw/mlx5/std_types.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 2

drivers/infiniband/hw/mlx5/main.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 2

drivers/infiniband/hw/mlx5/main.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 2

drivers/infiniband/core/uverbs_cmd.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 5
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/core/uverbs_cmd.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0,2-6
HALF_LOCKED2 &file->hw_destroy_rwsem
HALF_LOCKED2 &file->ucontext_lock

drivers/infiniband/core/uverbs_std_types_srq.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-22

drivers/infiniband/core/uverbs_std_types_srq.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-22

drivers/infiniband/core/uverbs_std_types_wq.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-16

drivers/infiniband/core/uverbs_std_types_wq.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-16

drivers/infiniband/core/uverbs_std_types_counters.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-4

drivers/infiniband/core/uverbs_std_types_counters.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-4

drivers/infiniband/hw/mlx5/cq.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 1,3-u32max
BIT_INFO 0 attr_key 0x4,0xffffffff

drivers/infiniband/hw/mlx5/cq.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 1,3-u32max
BIT_INFO 0 attr_key 0x4,0xffffffff

drivers/infiniband/core/uverbs_uapi.c uapi_finalize_ioctl_method() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 0-63
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ibdev->client_data_rwsem
LOCK2 global &clients_rwsem
LOCK2 global &devices_rwsem
HALF_LOCKED2 &ibdev->unregistration_lock
TYPE_LOCK (struct ib_device)->client_data_rwsem

drivers/infiniband/hw/mlx5/qos.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value

drivers/infiniband/hw/mlx5/qos.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value

drivers/infiniband/hw/mlx5/devx.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value

drivers/infiniband/hw/mlx5/devx.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value

drivers/infiniband/hw/mlx5/fs.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value

drivers/infiniband/hw/mlx5/fs.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value

drivers/infiniband/hw/bnxt_re/uapi.c uverbs_attr_get() -> uapi_bkey_attr()

Type Parameter Key Value

drivers/infiniband/hw/bnxt_re/uapi.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value

drivers/infiniband/hw/mlx5/mr.c uverbs_attr_is_valid() -> uapi_bkey_attr()

Type Parameter Key Value
PARAM_VALUE 0 attr_key 2