Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_mock_sched_entity_free_wrap() -> drm_mock_sched_entity_free()

Type Parameter Key Value
BUF_SIZE 0 entity s32min,(-10),(-1)-s32max
BUF_SIZE 0 entity s32min,(-10),(-1)-s32max
DATA_SOURCE 0 entity $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_basic_cancel() -> drm_mock_sched_entity_free()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->base.cb.func 0
PARAM_VALUE 0 entity->base.cb.node.next 0
PARAM_VALUE 0 entity->base.cb.node.prev 0
PARAM_VALUE 0 entity->base.dependency 0
PARAM_VALUE 0 entity->base.entity_idle.done u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.magic 0
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.raw_lock.val.counter 0
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.fence_context 0
PARAM_VALUE 0 entity->base.fence_seq.counter 0
PARAM_VALUE 0 entity->base.guilty 0
PARAM_VALUE 0 entity->base.job_queue.head 0
PARAM_VALUE 0 entity->base.job_queue.job_count.counter 0
PARAM_VALUE 0 entity->base.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 0 entity->base.last_scheduled 0
PARAM_VALUE 0 entity->base.last_user 0
PARAM_VALUE 0 entity->base.list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.num_sched_list 1
PARAM_VALUE 0 entity->base.oldest_job_waiting 0
PARAM_VALUE 0 entity->base.priority 0
PARAM_VALUE 0 entity->base.rb_tree_node.__rb_parent_color 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_left 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_right 0
PARAM_VALUE 0 entity->base.rq 4096-ptr_max
PARAM_VALUE 0 entity->base.sched_list 0,4096-ptr_max
PARAM_VALUE 0 entity->base.stats 4096-ptr_max
PARAM_VALUE 0 entity->base.stats->avg_job_us.internal 0
PARAM_VALUE 0 entity->base.stats->kref.refcount.refs.counter 1
PARAM_VALUE 0 entity->base.stopped 0
PARAM_VALUE 0 entity->test 4096-ptr_max
PARAM_VALUE 0 entity->test->last_seen.file 6764094746433437696
PARAM_VALUE 0 entity->test->last_seen.line 39
BUF_SIZE 0 entity 360
BUF_SIZE 0 entity 360
DATA_SOURCE 0 entity r drm_mock_sched_entity_new
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_basic_entity_cleanup() -> drm_mock_sched_entity_free()

Type Parameter Key Value
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_basic_submit() -> drm_mock_sched_entity_free()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->base.cb.func 0
PARAM_VALUE 0 entity->base.cb.node.next 0
PARAM_VALUE 0 entity->base.cb.node.prev 0
PARAM_VALUE 0 entity->base.dependency 0
PARAM_VALUE 0 entity->base.entity_idle.done u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.magic 0
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.raw_lock.val.counter 0
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.fence_context 0
PARAM_VALUE 0 entity->base.fence_seq.counter 0
PARAM_VALUE 0 entity->base.guilty 0
PARAM_VALUE 0 entity->base.job_queue.head 0
PARAM_VALUE 0 entity->base.job_queue.job_count.counter 0
PARAM_VALUE 0 entity->base.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 0 entity->base.last_scheduled 0
PARAM_VALUE 0 entity->base.last_user 0
PARAM_VALUE 0 entity->base.list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.num_sched_list 1
PARAM_VALUE 0 entity->base.oldest_job_waiting 0
PARAM_VALUE 0 entity->base.priority 0
PARAM_VALUE 0 entity->base.rb_tree_node.__rb_parent_color 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_left 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_right 0
PARAM_VALUE 0 entity->base.rq 4096-ptr_max
PARAM_VALUE 0 entity->base.sched_list 0,4096-ptr_max
PARAM_VALUE 0 entity->base.stats 4096-ptr_max
PARAM_VALUE 0 entity->base.stats->avg_job_us.internal 0
PARAM_VALUE 0 entity->base.stats->kref.refcount.refs.counter 1
PARAM_VALUE 0 entity->base.stopped 0
PARAM_VALUE 0 entity->test 4096-ptr_max
PARAM_VALUE 0 entity->test->last_seen.file 6764094746433437696
PARAM_VALUE 0 entity->test->last_seen.line 39
BUF_SIZE 0 entity 360
BUF_SIZE 0 entity 360
DATA_SOURCE 0 entity r drm_mock_sched_entity_new
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_basic_test() -> drm_mock_sched_entity_free()

Type Parameter Key Value
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_basic_timeout() -> drm_mock_sched_entity_free()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->base.cb.func 0
PARAM_VALUE 0 entity->base.cb.node.next 0
PARAM_VALUE 0 entity->base.cb.node.prev 0
PARAM_VALUE 0 entity->base.dependency 0
PARAM_VALUE 0 entity->base.entity_idle.done u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.magic 0
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.raw_lock.val.counter 0
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.fence_context 0
PARAM_VALUE 0 entity->base.fence_seq.counter 0
PARAM_VALUE 0 entity->base.guilty 0
PARAM_VALUE 0 entity->base.job_queue.head 0
PARAM_VALUE 0 entity->base.job_queue.job_count.counter 0
PARAM_VALUE 0 entity->base.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 0 entity->base.last_scheduled 0
PARAM_VALUE 0 entity->base.last_user 0
PARAM_VALUE 0 entity->base.list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.num_sched_list 1
PARAM_VALUE 0 entity->base.oldest_job_waiting 0
PARAM_VALUE 0 entity->base.priority 0
PARAM_VALUE 0 entity->base.rb_tree_node.__rb_parent_color 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_left 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_right 0
PARAM_VALUE 0 entity->base.rq 4096-ptr_max
PARAM_VALUE 0 entity->base.sched_list 0,4096-ptr_max
PARAM_VALUE 0 entity->base.stats 4096-ptr_max
PARAM_VALUE 0 entity->base.stats->avg_job_us.internal 0
PARAM_VALUE 0 entity->base.stats->kref.refcount.refs.counter 1
PARAM_VALUE 0 entity->base.stopped 0
PARAM_VALUE 0 entity->test 4096-ptr_max
PARAM_VALUE 0 entity->test->last_seen.file 6764094746433437696
PARAM_VALUE 0 entity->test->last_seen.line 39
BUF_SIZE 0 entity 360
BUF_SIZE 0 entity 360
DATA_SOURCE 0 entity r drm_mock_sched_entity_new
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_change_priority() -> drm_mock_sched_entity_free()

Type Parameter Key Value
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_priorities() -> drm_mock_sched_entity_free()

Type Parameter Key Value
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_skip_reset() -> drm_mock_sched_entity_free()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->base.cb.func 0
PARAM_VALUE 0 entity->base.cb.node.next 0
PARAM_VALUE 0 entity->base.cb.node.prev 0
PARAM_VALUE 0 entity->base.dependency 0
PARAM_VALUE 0 entity->base.entity_idle.done u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.magic 0
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.raw_lock.val.counter 0
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.fence_context 0
PARAM_VALUE 0 entity->base.fence_seq.counter 0
PARAM_VALUE 0 entity->base.guilty 0
PARAM_VALUE 0 entity->base.job_queue.head 0
PARAM_VALUE 0 entity->base.job_queue.job_count.counter 0
PARAM_VALUE 0 entity->base.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 0 entity->base.last_scheduled 0
PARAM_VALUE 0 entity->base.last_user 0
PARAM_VALUE 0 entity->base.list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.num_sched_list 1
PARAM_VALUE 0 entity->base.oldest_job_waiting 0
PARAM_VALUE 0 entity->base.priority 0
PARAM_VALUE 0 entity->base.rb_tree_node.__rb_parent_color 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_left 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_right 0
PARAM_VALUE 0 entity->base.rq 4096-ptr_max
PARAM_VALUE 0 entity->base.sched_list 0,4096-ptr_max
PARAM_VALUE 0 entity->base.stats 4096-ptr_max
PARAM_VALUE 0 entity->base.stats->avg_job_us.internal 0
PARAM_VALUE 0 entity->base.stats->kref.refcount.refs.counter 1
PARAM_VALUE 0 entity->base.stopped 0
PARAM_VALUE 0 entity->test 4096-ptr_max
PARAM_VALUE 0 entity->test->last_seen.file 6764094746433437696
PARAM_VALUE 0 entity->test->last_seen.line 39
BUF_SIZE 0 entity 360
BUF_SIZE 0 entity 360
DATA_SOURCE 0 entity r drm_mock_sched_entity_new
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_test_credits() -> drm_mock_sched_entity_free()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->base.cb.func 0
PARAM_VALUE 0 entity->base.cb.node.next 0
PARAM_VALUE 0 entity->base.cb.node.prev 0
PARAM_VALUE 0 entity->base.dependency 0
PARAM_VALUE 0 entity->base.entity_idle.done u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.magic 0
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.raw_lock.val.counter 0
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.fence_context 0
PARAM_VALUE 0 entity->base.fence_seq.counter 0
PARAM_VALUE 0 entity->base.guilty 0
PARAM_VALUE 0 entity->base.job_queue.head 0
PARAM_VALUE 0 entity->base.job_queue.job_count.counter 0
PARAM_VALUE 0 entity->base.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 0 entity->base.last_scheduled 0
PARAM_VALUE 0 entity->base.last_user 0
PARAM_VALUE 0 entity->base.list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.num_sched_list 1
PARAM_VALUE 0 entity->base.oldest_job_waiting 0
PARAM_VALUE 0 entity->base.priority 0
PARAM_VALUE 0 entity->base.rb_tree_node.__rb_parent_color 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_left 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_right 0
PARAM_VALUE 0 entity->base.rq 4096-ptr_max
PARAM_VALUE 0 entity->base.sched_list 0,4096-ptr_max
PARAM_VALUE 0 entity->base.stats 4096-ptr_max
PARAM_VALUE 0 entity->base.stats->avg_job_us.internal 0
PARAM_VALUE 0 entity->base.stats->kref.refcount.refs.counter 1
PARAM_VALUE 0 entity->base.stopped 0
PARAM_VALUE 0 entity->test 4096-ptr_max
PARAM_VALUE 0 entity->test->last_seen.file 6764094746433437696
PARAM_VALUE 0 entity->test->last_seen.line 39
BUF_SIZE 0 entity 360
BUF_SIZE 0 entity 360
DATA_SOURCE 0 entity r drm_mock_sched_entity_new
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_test_modify_sched() -> drm_mock_sched_entity_free()

Type Parameter Key Value
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_scheduler.c drm_sched_scheduler_many_clients_test() -> drm_mock_sched_entity_free()

Type Parameter Key Value
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_scheduler.c drm_sched_scheduler_ping_pong() -> drm_mock_sched_entity_free()

Type Parameter Key Value
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_scheduler.c drm_sched_scheduler_queue_overhead() -> drm_mock_sched_entity_free()

Type Parameter Key Value
PARAM_VALUE 0 entity 4096-ptr_max
PARAM_VALUE 0 entity->base.cb.func 0
PARAM_VALUE 0 entity->base.cb.node.next 0
PARAM_VALUE 0 entity->base.cb.node.prev 0
PARAM_VALUE 0 entity->base.dependency 0
PARAM_VALUE 0 entity->base.entity_idle.done u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.magic 0
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 0 entity->base.entity_idle.wait.lock.raw_lock.val.counter 0
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.entity_idle.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.fence_context 0
PARAM_VALUE 0 entity->base.fence_seq.counter 0
PARAM_VALUE 0 entity->base.guilty 0
PARAM_VALUE 0 entity->base.job_queue.head 0
PARAM_VALUE 0 entity->base.job_queue.job_count.counter 0
PARAM_VALUE 0 entity->base.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 0 entity->base.last_scheduled 0
PARAM_VALUE 0 entity->base.last_user 0
PARAM_VALUE 0 entity->base.list.next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.next->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->next 4096-ptr_max
PARAM_VALUE 0 entity->base.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entity->base.num_sched_list 1
PARAM_VALUE 0 entity->base.oldest_job_waiting 0
PARAM_VALUE 0 entity->base.priority 0
PARAM_VALUE 0 entity->base.rb_tree_node.__rb_parent_color 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_left 0
PARAM_VALUE 0 entity->base.rb_tree_node.rb_right 0
PARAM_VALUE 0 entity->base.rq 4096-ptr_max
PARAM_VALUE 0 entity->base.sched_list 0,4096-ptr_max
PARAM_VALUE 0 entity->base.stats 4096-ptr_max
PARAM_VALUE 0 entity->base.stats->avg_job_us.internal 0
PARAM_VALUE 0 entity->base.stats->kref.refcount.refs.counter 1
PARAM_VALUE 0 entity->base.stopped 0
PARAM_VALUE 0 entity->test 4096-ptr_max
PARAM_VALUE 0 entity->test->last_seen.file 6764094746433437696
PARAM_VALUE 0 entity->test->last_seen.line 39
BUF_SIZE 0 entity 360
BUF_SIZE 0 entity 360
DATA_SOURCE 0 entity r drm_mock_sched_entity_new
NOCHECK_CALL

drivers/gpu/drm/scheduler/tests/tests_scheduler.c drm_sched_scheduler_two_clients_test() -> drm_mock_sched_entity_free()

Type Parameter Key Value
NOCHECK_CALL