Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/drm_gpusvm.c drm_gpusvm_range_find_or_insert() -> drm_gpusvm_range_alloc()

Type Parameter Key Value
PARAM_VALUE 0 gpusvm 4096-ptr_max
PARAM_VALUE 0 gpusvm->chunk_sizes 0,326957153881444352
PARAM_VALUE 0 gpusvm->mm 4096-ptr_max
PARAM_VALUE 0 gpusvm->mm->mm_users.counter 0-s32max
PARAM_VALUE 0 gpusvm->mm->mmap_lock.dep_map->name 0-255
PARAM_VALUE 0 gpusvm->mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gpusvm->mm->mmap_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 gpusvm->mm->mmap_lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 gpusvm->mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 gpusvm->name 0,3247675261583343616,8321627992709902336
PARAM_VALUE 0 gpusvm->notifier_size 0-u32max,9157251904928550912
PARAM_VALUE 0 gpusvm->num_chunks 0,3
PARAM_VALUE 0 gpusvm->ops 0,9157251904928550912
PARAM_VALUE 0 gpusvm->ops->notifier_alloc 0
PARAM_VALUE 1 notifier 4096-ptr_max
PARAM_VALUE 1 notifier->notifier.mm->notifier_subscriptions->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 notifier->notifier.ops->invalidate 0,4096-ptr_max
PARAM_VALUE 1 notifier->notifier.ops->invalidate_finish 0,2193403108630056960
PARAM_VALUE 1 notifier->notifier.ops->invalidate_start 0,7606346720449052672
PARAM_VALUE 2 fault_addr 0
PARAM_VALUE 3 chunk_size 0-9223372036854775806,9223372036854775808-u64max
BUF_SIZE 1 notifier (-1),200
BUF_SIZE 1 notifier (-1),200
CAPPED_DATA 0 gpusvm->mm_start 1
CAPPED_DATA 0 gpusvm->num_chunks 1
DATA_SOURCE 0 gpusvm $0
DATA_SOURCE 2 fault_addr $1
DATA_SOURCE 3 chunk_size r drm_gpusvm_range_chunk_size
PARAM_COMPARE 2 fault_addr >= $0->mm_start
PARAM_COMPARE 2 fault_addr >= $0->mm_start
RX_PATH
TASK_NOT_RUNNING
UNITS 2 fault_addr unit_byte
LOCK2 &mm->mmap_lock
LOCK2 _T->lock
HALF_LOCKED2 &vm->lock
TYPE_LOCK (struct mm_struct)->mmap_lock