Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 15 files:

Smatch caller information:

drivers/gpu/drm/i915/i915_hdcp_gsc.c intel_hdcp_gsc_initialize_message() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 0 i915 4096-ptr_max
PARAM_VALUE 1 size 8192
DATA_SOURCE 0 i915 $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
LOCK2 &display->hdcp.hdcp_mutex
TYPE_LOCK (struct intel_display)->hdcp.hdcp_mutex

drivers/gpu/drm/i915/gt/uc/intel_guc.c intel_guc_allocate_vma() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 0 i915 4096-ptr_max
DATA_SOURCE 1 size $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 size 1-4000000[c]
UNITS 1 size unit_byte

drivers/gpu/drm/i915/gvt/cmd_parser.c perform_bb_shadow() -> i915_gem_object_create_shmem()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 &vgpu->vgpu_lock

drivers/gpu/drm/i915/gvt/cmd_parser.c shadow_indirect_ctx() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 1 size 0-4096
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 size 4096[c]
HALF_LOCKED2 &vgpu->vgpu_lock

drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c igt_dmabuf_export() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 1 size 4096
BUF_SIZE 0 i915 (-1),424,1216
BUF_SIZE 0 i915 (-1),424,1216
DATA_SOURCE 0 i915 $0

drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c igt_dmabuf_export_vmap() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 1 size 4096
BUF_SIZE 0 i915 (-1),424,1216
BUF_SIZE 0 i915 (-1),424,1216
DATA_SOURCE 0 i915 $0

drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c igt_dmabuf_import_self() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 1 size 4096
BUF_SIZE 0 i915 (-1),424,1216
BUF_SIZE 0 i915 (-1),424,1216
DATA_SOURCE 0 i915 $0

drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c __create_vma() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 1 size 4096,65536
DATA_SOURCE 1 size $1
HARD_MAX 1 size 65536
UNITS 1 size unit_byte

drivers/gpu/drm/i915/gem/i915_gem_shmem.c i915_gem_object_create_shmem_from_data() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 0 i915 4096-ptr_max
PARAM_VALUE 0 i915->__info 4096-ptr_max
CAPPED_DATA 1 size 1
DATA_SOURCE 0 i915 $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gem/i915_gem_object.c igt_create_shmem() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 0 i915 4096-ptr_max
PARAM_VALUE 0 i915->drm.huge_mnt 1-u64max
DATA_SOURCE 0 i915 $0
DATA_SOURCE 1 size $1

drivers/gpu/drm/i915/gem/i915_gem_object.c igt_gem_object() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 1 size 4096
BUF_SIZE 0 i915 (-1),424,1216
BUF_SIZE 0 i915 (-1),424,1216
DATA_SOURCE 0 i915 $0

drivers/gpu/drm/i915/gem/i915_gem_object.c igt_shrink_thp() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 0 i915 4096-ptr_max
PARAM_VALUE 0 i915->drm.huge_mnt 1-u64max
PARAM_VALUE 0 i915->drm.primary 4096-ptr_max
PARAM_VALUE 0 i915->drm.primary->dev->driver->fops->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 i915->runtime_pm.debug.list.next->next 4096-ptr_max
PARAM_VALUE 0 i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 size 2097152
BUF_SIZE 0 i915 (-1),424,1216
BUF_SIZE 0 i915 (-1),424,1216
DATA_SOURCE 0 i915 $0

drivers/gpu/drm/i915/i915_perf.c alloc_oa_buffer() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 0 i915 4096-ptr_max
PARAM_VALUE 1 size 16777216
LOCK2 &gt->perf.lock
TYPE_LOCK (struct i915_perf_gt)->lock

drivers/gpu/drm/i915/i915_perf.c alloc_oa_config_buffer() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 1 size 0,4096-25769803776
BIT_INFO 1 size 0x0,0x7fffff000
BIT_INFO 1 size 0x0,0x7fffff000
HALF_LOCKED2 &gt->perf.lock
HALF_LOCKED2 &stream->lock

drivers/gpu/drm/i915/gt/intel_lrc.c __lrc_alloc_state() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 0 i915 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ce->pin_mutex
TYPE_LOCK (struct intel_context)->pin_mutex

drivers/gpu/drm/i915/gt/intel_lrc.c lrc_create_wa_ctx() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 0 i915 4096-ptr_max
PARAM_VALUE 1 size 4096
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/intel_ring_submission.c alloc_context_vma() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 1 size 1-u32max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
LOCK2 &ce->pin_mutex
TYPE_LOCK (struct intel_context)->pin_mutex

drivers/gpu/drm/i915/gem/i915_gem_phys.c mock_phys_object() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 1 size 4096
BUF_SIZE 0 i915 (-1),424,1216
BUF_SIZE 0 i915 (-1),424,1216
DATA_SOURCE 0 i915 $0

drivers/gpu/drm/i915/i915_dpt.c i915_dpt_create() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 0 i915 4096-ptr_max
PARAM_VALUE 0 i915->__info 4096-ptr_max
DATA_SOURCE 0 i915 r to_i915
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte

drivers/gpu/drm/i915/i915_bo.c i915_bo_fbdev_create() -> i915_gem_object_create_shmem()

Type Parameter Key Value
PARAM_VALUE 0 i915 4096-ptr_max
PARAM_VALUE 0 i915->__info 4096-ptr_max
PARAM_VALUE 1 size 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 i915 r to_i915
DATA_SOURCE 1 size $1
BIT_INFO 1 size 0x0,0x7ffff000
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->clientlist_mutex
LOCK2 &helper->lock
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock