Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_shader_define() -> vmw_user_bo_lookup()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 filp->minor 4096-ptr_max
PARAM_VALUE 0 filp->minor->dev 4096-ptr_max
PARAM_VALUE 1 handle 0-4294967294
PARAM_VALUE 2 out 1683984364616986624
PARAM_VALUE 2 *out 0
BUF_SIZE 0 filp s32min-(-2),1-s32max
BUF_SIZE 0 filp s32min-(-2),1-s32max
DATA_SOURCE 0 filp $1
DATA_SOURCE 1 handle $3
USER_DATA 1 handle 0-4294967294[u]

drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_user_object_lookup() -> vmw_user_bo_lookup()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 2 out 6633407560607899656
PARAM_VALUE 2 *out 0
BUF_SIZE 0 filp s32min-(-1),1-s32max
BUF_SIZE 0 filp s32min-(-1),1-s32max
DATA_SOURCE 0 filp $1
DATA_SOURCE 1 handle $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 handle 0-u32max
HALF_LOCKED2 &crtc->cursor->mutex
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_buffer_prime_to_surface_base() -> vmw_user_bo_lookup()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 filp->minor 4096-ptr_max
PARAM_VALUE 0 filp->minor->dev 4096-ptr_max
PARAM_VALUE 0 filp->prime.dmabufs.rb_node 1-u64max
PARAM_VALUE 0 filp->prime.lock.dep_map->name 0-255
PARAM_VALUE 0 filp->prime.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 filp->prime.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 filp->prime.lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 filp->prime.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 filp->prime.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 filp->prime.lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 filp->prime.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 filp->prime.lock.osq.tail.counter 0-s32max
PARAM_VALUE 2 out 456941708843683840
BUF_SIZE 0 filp s32min-(-2),1-s32max
BUF_SIZE 0 filp s32min-(-2),1-s32max
DATA_SOURCE 0 filp $1
UNITS 0 filp unit_byte
HALF_LOCKED2 &dev_priv->drm.object_name_lock

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_define_internal() -> vmw_user_bo_lookup()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->minor 4096-ptr_max
PARAM_VALUE 1 handle 0-s32max
PARAM_VALUE 2 out 4096-ptr_max
BUF_SIZE 0 filp s32min-(-1),1-s32max
BUF_SIZE 0 filp s32min-(-1),1-s32max
DATA_SOURCE 0 filp $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 handle 0-s32max[u]

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_translate_guest_ptr() -> vmw_user_bo_lookup()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->minor 4096-ptr_max
PARAM_VALUE 2 out 4352871913902129152
BUF_SIZE 0 filp s32min-(-2),1-s32max
BUF_SIZE 0 filp s32min-(-2),1-s32max
USER_DATA 1 handle 0-u32max[u]
UNITS 1 handle unit_page
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_translate_mob_ptr() -> vmw_user_bo_lookup()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->minor 4096-ptr_max
PARAM_VALUE 2 out 741016263228956672
BUF_SIZE 0 filp s32min-(-2),1-s32max
BUF_SIZE 0 filp s32min-(-2),1-s32max
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_bo.c vmw_user_bo_synccpu_ioctl() -> vmw_user_bo_lookup()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 filp->minor 4096-ptr_max
PARAM_VALUE 0 filp->minor->dev 4096-ptr_max
PARAM_VALUE 2 out 3806973315165044736
BUF_SIZE 0 filp s32min-(-2),1-s32max
BUF_SIZE 0 filp s32min-(-2),1-s32max
DATA_SOURCE 0 filp $2
USER_DATA 1 handle 0-u32max[u]

drivers/gpu/drm/vmwgfx/vmwgfx_bo.c vmw_user_bo_synccpu_release() -> vmw_user_bo_lookup()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 filp->minor 4096-ptr_max
PARAM_VALUE 0 filp->minor->dev 4096-ptr_max
PARAM_VALUE 2 out 1036870250879152128
BUF_SIZE 0 filp s32min-(-2),1-s32max
BUF_SIZE 0 filp s32min-(-2),1-s32max
DATA_SOURCE 0 filp $0
DATA_SOURCE 1 handle $1
USER_DATA 1 handle 0-u32max[u]

drivers/gpu/drm/vmwgfx/vmwgfx_prime.c vmw_prime_handle_to_fd() -> vmw_user_bo_lookup()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 filp->minor 4096-ptr_max
PARAM_VALUE 0 filp->minor->dev 4096-ptr_max
PARAM_VALUE 1 handle 0-53032
PARAM_VALUE 2 out 6253288986845859840
BUF_SIZE 0 filp s32min-(-2),1-s32max
BUF_SIZE 0 filp s32min-(-2),1-s32max
DATA_SOURCE 0 filp $1
DATA_SOURCE 1 handle $2
FUZZY_MAX 1 handle 53032
HARD_MAX 1 handle 53032
USER_DATA 1 handle 0-53032[u]

drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c vmw_overlay_ioctl() -> vmw_user_bo_lookup()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->master_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 filp->minor 4096-ptr_max
PARAM_VALUE 0 filp->minor->dev 4096-ptr_max
PARAM_VALUE 2 out 3544962430247759872
BUF_SIZE 0 filp s32min-(-2),1-s32max
BUF_SIZE 0 filp s32min-(-2),1-s32max
DATA_SOURCE 0 filp $2
USER_DATA 1 handle 0-u32max[u]
LOCK2 &overlay->mutex
TYPE_LOCK (struct vmw_overlay)->mutex