Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/i915_gem_context.c set_priority() -> validate_priority()

Type Parameter Key Value
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->param 6
BUF_SIZE 1 args 128-16383
BUF_SIZE 1 args 128-16383
DATA_SOURCE 1 args $1
USER_DATA 1 args->ctx_id 0-u32max[u]
USER_DATA 1 args->param 6[u]
USER_DATA 1 args->size 0-u32max[u]
USER_DATA 1 args->value 0-u64max[u]
USER_PTR 1 args

drivers/gpu/drm/i915/gem/i915_gem_context.c set_proto_ctx_param() -> validate_priority()

Type Parameter Key Value
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->param 6
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
DATA_SOURCE 1 args $2
USER_DATA 1 args->ctx_id 0-u32max
USER_DATA 1 args->param 6
USER_DATA 1 args->size 0-u32max
USER_DATA 1 args->value 0-u64max
USER_PTR 1 args
HALF_LOCKED2 &fpriv->proto_context_lock