Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/omapdrm/omap_gem.c omap_gem_is_contiguous() -> omap_gem_sgt_is_contiguous()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
HALF_LOCKED2 &omap_obj->lock
HALF_LOCKED2 &omap_obj->lock
TYPE_LOCK (struct omap_gem_object)->lock

drivers/gpu/drm/omapdrm/omap_gem.c omap_gem_new_dmabuf() -> omap_gem_sgt_is_contiguous()

Type Parameter Key Value
PARAM_VALUE 0 sgt 4096-ptr_max
PARAM_VALUE 0 sgt->nents 1-s32max
DATA_SOURCE 0 sgt $2
DATA_SOURCE 1 size $1
UNITS 1 size unit_byte
LOCK2 &dev->object_name_lock
LOCK2 &file_priv->prime.lock
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock

drivers/gpu/drm/omapdrm/omap_gem.c omap_gem_new_dmabuf() -> omap_gem_sgt_is_contiguous()

Type Parameter Key Value
PARAM_VALUE 0 sgt 4096-ptr_max
PARAM_VALUE 0 sgt->nents 1-s32max
PARAM_VALUE 0 sgt->sgl 4096-ptr_max
PARAM_VALUE 1 size 1-u64max
CAPPED_DATA 0 sgt->nents 1
CAPPED_DATA 1 size 1
CAPPED_DATA 1 size 1
DATA_SOURCE 0 sgt $2
DATA_SOURCE 1 size $1
UNITS 1 size unit_byte
LOCK2 &dev->object_name_lock
LOCK2 &file_priv->prime.lock
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock