Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/infiniband/core/rdma_core.c uapi_get_object() -> uapi_key_obj()

Type Parameter Key Value
PARAM_VALUE 0 id 0-65534
DATA_SOURCE 0 id $1
LOCK2 &ufile->device->disassociate_srcu
TYPE_LOCK (struct ib_uverbs_device)->disassociate_srcu

drivers/infiniband/core/uverbs_std_types_device.c uapi_get_object() -> uapi_key_obj()

Type Parameter Key Value
PARAM_VALUE 0 id 0-65534
DATA_SOURCE 0 id $1

drivers/infiniband/core/uverbs_ioctl.c ib_uverbs_cmd_verbs() -> uapi_key_obj()

Type Parameter Key Value
USER_DATA 0 id 0-u16max
LOCK2 &ufile->device->disassociate_srcu
TYPE_LOCK (struct ib_uverbs_device)->disassociate_srcu

drivers/infiniband/core/uverbs_cmd.c uapi_get_object() -> uapi_key_obj()

Type Parameter Key Value
PARAM_VALUE 0 id 1-13,15-16
DATA_SOURCE 0 id $1
HARD_MAX 0 id 16
HALF_LOCKED2 &file->device->disassociate_srcu
HALF_LOCKED2 &ibudev->xrcd_tree_mutex

drivers/infiniband/core/uverbs_uapi.c uapi_get_object() -> uapi_key_obj()

Type Parameter Key Value
PARAM_VALUE 0 id 0-65534
DATA_SOURCE 0 id $1
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/core/uverbs_uapi.c uapi_merge_def() -> uapi_key_obj()

Type Parameter Key Value
CAPPED_DATA 0 id 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ibdev->client_data_rwsem
HALF_LOCKED2 &ibdev->unregistration_lock
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem

drivers/infiniband/core/uverbs_uapi.c uapi_merge_def() -> uapi_key_obj()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ibdev->client_data_rwsem
HALF_LOCKED2 &ibdev->unregistration_lock
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem

drivers/infiniband/core/uverbs_uapi.c uapi_merge_obj_tree() -> uapi_key_obj()

Type Parameter Key Value
PARAM_VALUE 0 id 0-19,4096-4105
CAPPED_DATA 0 id 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ibdev->client_data_rwsem
HALF_LOCKED2 &ibdev->unregistration_lock
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem