Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_gsc_proxy.c proxy_query() -> validate_proxy_header()

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 1 source 4096-ptr_max
PARAM_VALUE 2 dest 131072
PARAM_VALUE 3 dest 65536
PARAM_VALUE 4 max_size 32732
DATA_SOURCE 0 header r gsc_to_gt
HOST_DATA 1 *source s64min-s64max
UNITS 4 max_size unit_byte
LOCK2 &gsc->proxy.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xe_gsc)->proxy.mutex

drivers/gpu/drm/xe/xe_gsc_proxy.c proxy_query() -> validate_proxy_header()

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 1 source 4096-ptr_max
PARAM_VALUE 2 dest 131072
PARAM_VALUE 3 dest 196608
PARAM_VALUE 4 max_size 32732
DATA_SOURCE 0 header r gsc_to_gt
HOST_DATA 1 *source s64min-s64max
UNITS 4 max_size unit_byte
LOCK2 &gsc->proxy.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xe_gsc)->proxy.mutex

drivers/gpu/drm/xe/xe_gsc_proxy.c proxy_query() -> validate_proxy_header()

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 1 source 1-u64max
PARAM_VALUE 2 dest 196608
PARAM_VALUE 3 dest 131072
PARAM_VALUE 4 max_size 32732
DATA_SOURCE 0 header r gsc_to_gt
UNITS 4 max_size unit_byte
LOCK2 &gsc->proxy.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xe_gsc)->proxy.mutex

drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.c proxy_query() -> validate_proxy_header()

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 1 source 131072
PARAM_VALUE 2 dest 196608
LOCK2 &gsc->proxy.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct intel_gsc_uc)->proxy.mutex

drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.c proxy_query() -> validate_proxy_header()

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 0 header->destination 131072
PARAM_VALUE 0 header->source 65536
PARAM_VALUE 0 header->status 0
PARAM_VALUE 1 source 196608
PARAM_VALUE 2 dest 131072
LOCK2 &gsc->proxy.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct intel_gsc_uc)->proxy.mutex