Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/drm_gem.c drm_gem_object_lookup() -> objects_lookup()

Type Parameter Key Value
PARAM_VALUE 2 count 1
PARAM_VALUE 3 objs 3642925851834191872
PARAM_VALUE 3 *objs 0
BUF_SIZE 0 filp s32min-(-1),1-s32max
BUF_SIZE 0 filp s32min-(-1),1-s32max
DATA_SOURCE 0 filp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *handle 0-u32max
UNITS 0 filp unit_byte
USER_PTR 1 handle
HALF_LOCKED2 &crtc->mutex
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &dbc->req_lock
HALF_LOCKED2 &fpriv->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &rdev->exclusive_lock
HALF_LOCKED2 &sched->mutex
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 &vm->lock
HALF_LOCKED2 global &drm_unplug_srcu
HALF_LOCKED2 0 &filp->driver_priv->mutex
HALF_LOCKED2 0 &filp->prime.lock

drivers/gpu/drm/drm_gem.c drm_gem_objects_lookup() -> objects_lookup()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 1 handle 16,4096-ptr_max
PARAM_VALUE 2 count s32min-(-1),1-s32max
PARAM_VALUE 3 objs 1-18446744073709551614
BUF_SIZE 0 filp s32min-(-2),1-s32max
BUF_SIZE 0 filp s32min-(-2),1-s32max
BUF_SIZE 1 handle 4
BUF_SIZE 3 objs 0-u64max
DATA_SOURCE 0 filp $0
DATA_SOURCE 1 handle r vmemdup_array_user
DATA_SOURCE 2 count $2
DATA_SOURCE 3 objs r __kvmalloc_node_noprof
USER_DATA 1 *handle 0-u32max
USER_DATA 2 count s32min-(-1),1-s32max[u]
UNITS 2 count unit_array_size
ELEM_COUNT 3 ==objs2 8051
USER_PTR 1 handle