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_sched_basic_cancel() -> drm_mock_sched_entity_new()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 6764094746433437696
PARAM_VALUE 0 test->last_seen.line 305
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched 4096-ptr_max
PARAM_VALUE 2 sched->base._score.counter 0
PARAM_VALUE 2 sched->base.avg_job_us.internal 0
PARAM_VALUE 2 sched->base.credit_count.counter 0
PARAM_VALUE 2 sched->base.credit_limit u32max
PARAM_VALUE 2 sched->base.dev 0
PARAM_VALUE 2 sched->base.hang_limit 1
PARAM_VALUE 2 sched->base.job_id_count.counter 0
PARAM_VALUE 2 sched->base.job_scheduled.head.next->next 4096-ptr_max
PARAM_VALUE 2 sched->base.job_scheduled.head.prev->next 4096-ptr_max
PARAM_VALUE 2 sched->base.job_scheduled.head.prev->prev 4096-ptr_max
PARAM_VALUE 2 sched->base.name 8358749499913707520
PARAM_VALUE 2 sched->base.ops 3625802110153216000
PARAM_VALUE 2 sched->base.ops->cancel_job 0,7588619251115601920
PARAM_VALUE 2 sched->base.ops->free_job 4096-ptr_max
PARAM_VALUE 2 sched->base.ops->prepare_job 0,6347586488842227712
PARAM_VALUE 2 sched->base.ops->run_job 4096-ptr_max
PARAM_VALUE 2 sched->base.ops->timedout_job 0,4096-ptr_max
PARAM_VALUE 2 sched->base.pause_submit 0
PARAM_VALUE 2 sched->base.pending_list.next->next 4096-ptr_max
PARAM_VALUE 2 sched->base.pending_list.prev->next 4096-ptr_max
PARAM_VALUE 2 sched->base.pending_list.prev->prev 4096-ptr_max
PARAM_VALUE 2 sched->base.rq.entities.next 0
PARAM_VALUE 2 sched->base.rq.entities.prev 0
PARAM_VALUE 2 sched->base.timeout s64max
PARAM_VALUE 2 sched->hw_timeline.next_seqno.counter 0
PARAM_VALUE 2 sched->job_list.next 4096-ptr_max
PARAM_VALUE 2 sched->job_list.next->next 4096-ptr_max
PARAM_VALUE 2 sched->job_list.prev 4096-ptr_max
PARAM_VALUE 2 sched->job_list.prev->next 4096-ptr_max
PARAM_VALUE 2 sched->job_list.prev->prev 4096-ptr_max
PARAM_VALUE 2 sched->test 4096-ptr_max
PARAM_VALUE 2 sched->test->last_seen.file 6764094746433437696
PARAM_VALUE 2 sched->test->last_seen.line 305
BUF_SIZE 2 sched 840
BUF_SIZE 2 sched 840
DATA_SOURCE 0 test $0
DATA_SOURCE 2 sched r drm_mock_sched_new
TERMINATED 2 sched->base.name 1

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 1 priority 2
BUF_SIZE 2 sched s32min,(-10),1-s32max
BUF_SIZE 2 sched s32min,(-10),1-s32max
DATA_SOURCE 0 test $0

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 1 priority 2
BUF_SIZE 2 sched s32min,(-10),1-s32max
BUF_SIZE 2 sched s32min,(-10),1-s32max
DATA_SOURCE 0 test $0

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 6764094746433437696,7250572518998872064
PARAM_VALUE 0 test->last_seen.line 39,133
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->param_value 4096-ptr_max
PARAM_VALUE 1 priority 2
BUF_SIZE 0 test->last_seen.file (-1),46
BUF_SIZE 2 sched s32min,(-10),1-s32max
BUF_SIZE 2 sched s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
FUZZY_MAX 0 test->last_seen.line 133
STR_LEN 0 test->last_seen.file (-1),45

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 1 priority 2
BUF_SIZE 2 sched s32min,(-10),1-s32max
BUF_SIZE 2 sched s32min,(-10),1-s32max
DATA_SOURCE 0 test $0

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 1 priority 0-3
BUF_SIZE 2 sched s32min,(-10),1-s32max
BUF_SIZE 2 sched s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
FUZZY_MAX 1 priority 3
HARD_MAX 1 priority 3

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_interleaved_submit_test() -> drm_mock_sched_entity_new()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 7250572518998872064
PARAM_VALUE 0 test->last_seen.line 522,559
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->param_value 4096-ptr_max
PARAM_VALUE 1 priority 2
BUF_SIZE 0 test->last_seen.file 46
DATA_SOURCE 0 test $0
FUZZY_MAX 0 test->last_seen.line 559
STR_LEN 0 test->last_seen.file 45
BIT_INFO 0 test->last_seen.line 0x20a,0x22f
HARD_MAX 0 test->last_seen.line 559

drivers/gpu/drm/scheduler/tests/tests_basic.c drm_sched_parallel_submit_test() -> drm_mock_sched_entity_new()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 7250572518998872064
PARAM_VALUE 0 test->last_seen.line 362,388
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->param_value 4096-ptr_max
PARAM_VALUE 1 priority 2
BUF_SIZE 0 test->last_seen.file 46
DATA_SOURCE 0 test $0
FUZZY_MAX 0 test->last_seen.line 388
STR_LEN 0 test->last_seen.file 45
BIT_INFO 0 test->last_seen.line 0x100,0x1ee
HARD_MAX 0 test->last_seen.line 388

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 1 priority 0-3
BUF_SIZE 2 sched s32min,(-10),1-s32max
BUF_SIZE 2 sched s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
FUZZY_MAX 1 priority 3
HARD_MAX 1 priority 3

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 1 priority 2
BUF_SIZE 2 sched s32min,(-10),1-s32max
BUF_SIZE 2 sched s32min,(-10),1-s32max
DATA_SOURCE 0 test $0

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 6764094746433437696
PARAM_VALUE 0 test->last_seen.line 305
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched 4096-ptr_max
PARAM_VALUE 2 sched->base._score.counter 0
PARAM_VALUE 2 sched->base.avg_job_us.internal 0
PARAM_VALUE 2 sched->base.credit_count.counter 0
PARAM_VALUE 2 sched->base.credit_limit 1
PARAM_VALUE 2 sched->base.dev 0
PARAM_VALUE 2 sched->base.hang_limit 1
PARAM_VALUE 2 sched->base.job_id_count.counter 0
PARAM_VALUE 2 sched->base.job_scheduled.head.next->next 4096-ptr_max
PARAM_VALUE 2 sched->base.job_scheduled.head.prev->next 4096-ptr_max
PARAM_VALUE 2 sched->base.job_scheduled.head.prev->prev 4096-ptr_max
PARAM_VALUE 2 sched->base.name 8358749499913707520
PARAM_VALUE 2 sched->base.ops 3625802110153216000
PARAM_VALUE 2 sched->base.ops->cancel_job 0,7588619251115601920
PARAM_VALUE 2 sched->base.ops->free_job 4096-ptr_max
PARAM_VALUE 2 sched->base.ops->prepare_job 0,6347586488842227712
PARAM_VALUE 2 sched->base.ops->run_job 4096-ptr_max
PARAM_VALUE 2 sched->base.ops->timedout_job 0,4096-ptr_max
PARAM_VALUE 2 sched->base.pause_submit 0
PARAM_VALUE 2 sched->base.pending_list.next->next 4096-ptr_max
PARAM_VALUE 2 sched->base.pending_list.prev->next 4096-ptr_max
PARAM_VALUE 2 sched->base.pending_list.prev->prev 4096-ptr_max
PARAM_VALUE 2 sched->base.rq.entities.next 0
PARAM_VALUE 2 sched->base.rq.entities.prev 0
PARAM_VALUE 2 sched->base.timeout s64max
PARAM_VALUE 2 sched->hw_timeline.next_seqno.counter 0
PARAM_VALUE 2 sched->job_list.next 4096-ptr_max
PARAM_VALUE 2 sched->job_list.next->next 4096-ptr_max
PARAM_VALUE 2 sched->job_list.prev 4096-ptr_max
PARAM_VALUE 2 sched->job_list.prev->next 4096-ptr_max
PARAM_VALUE 2 sched->job_list.prev->prev 4096-ptr_max
PARAM_VALUE 2 sched->test 4096-ptr_max
PARAM_VALUE 2 sched->test->last_seen.file 6764094746433437696
PARAM_VALUE 2 sched->test->last_seen.line 305
BUF_SIZE 2 sched 840
BUF_SIZE 2 sched 840
DATA_SOURCE 0 test $0
DATA_SOURCE 2 sched r drm_mock_sched_new
TERMINATED 2 sched->base.name 1

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 6764094746433437696
PARAM_VALUE 0 test->last_seen.line 39,305
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 priority 2
DATA_SOURCE 0 test $0

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 6764094746433437696,7537671198869897216
PARAM_VALUE 0 test->last_seen.line 39,773
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->param_value 4096-ptr_max
PARAM_VALUE 1 priority 2
BUF_SIZE 0 test->last_seen.file (-1),50
BUF_SIZE 2 sched s32min,(-10),1-s32max
BUF_SIZE 2 sched s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
FUZZY_MAX 0 test->last_seen.line 773
STR_LEN 0 test->last_seen.file (-1),49

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 6764094746433437696,7537671198869897216
PARAM_VALUE 0 test->last_seen.line 39,123
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched 4096-ptr_max
PARAM_VALUE 2 sched->base.credit_limit 1
BUF_SIZE 0 test->last_seen.file (-1),50
BUF_SIZE 2 sched s32min,(-10),1-s32max
BUF_SIZE 2 sched s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
FUZZY_MAX 0 test->last_seen.line 123
STR_LEN 0 test->last_seen.file (-1),49

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 7537671198869897216
PARAM_VALUE 0 test->last_seen.line 67
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 1 priority 2
PARAM_VALUE 2 sched 4096-ptr_max
PARAM_VALUE 2 sched->base.credit_limit 1
BUF_SIZE 0 test->last_seen.file 50
BUF_SIZE 2 sched s32min,(-10),1-s32max
BUF_SIZE 2 sched s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
STR_LEN 0 test->last_seen.file 49

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

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
BUF_SIZE 2 sched s32min,(-10),1-s32max
BUF_SIZE 2 sched s32min,(-10),1-s32max
DATA_SOURCE 0 test $0