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/buddy.c __gpu_buddy_free_list() -> gpu_buddy_free_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| BUF_SIZE | 0 | mm | (-1),80 |
| BUF_SIZE | 0 | mm | (-1),80 |
| CAPPED_DATA | 1 | &block->link | 1 |
| DATA_SOURCE | 0 | mm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mm->avail | |
| NO_OVERFLOW_SIMPLE | 0 | mm->chunk_size | |
| NO_OVERFLOW_SIMPLE | 0 | mm->n_roots | |
| NO_OVERFLOW_SIMPLE | 0 | mm->size | |
| HALF_LOCKED2 | &mgr->lock |
drivers/gpu/tests/gpu_buddy_test.c gpu_test_buddy_alloc_pathological() -> gpu_buddy_free_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 1274072054375104512 |
| PARAM_VALUE | 0 | mm->chunk_size | 4096 |
| PARAM_VALUE | 0 | mm->free_scoreboard | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->free_trees | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->lock_dep_map | 0 |
| PARAM_VALUE | 0 | mm->max_order | 0-51 |
| PARAM_VALUE | 0 | mm->n_roots | 0-64 |
| PARAM_VALUE | 0 | mm->roots | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->used_scoreboard | 16,4096-ptr_max |
| BUF_SIZE | 1 | block | 0 |
| BIT_INFO | 1 | block | 0x0,0x0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mm->n_roots |
drivers/gpu/tests/gpu_buddy_test.c gpu_test_buddy_alloc_pessimistic() -> gpu_buddy_free_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 2485355546759708672 |
| PARAM_VALUE | 0 | mm->chunk_size | 4096 |
| PARAM_VALUE | 0 | mm->free_scoreboard | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->free_trees | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->lock_dep_map | 0 |
| PARAM_VALUE | 0 | mm->max_order | 0-51 |
| PARAM_VALUE | 0 | mm->n_roots | 0-64 |
| PARAM_VALUE | 0 | mm->roots | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->size | 1-u64max |
| PARAM_VALUE | 0 | mm->used_scoreboard | 16,4096-ptr_max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mm->n_roots |
drivers/gpu/tests/gpu_buddy_test.c gpu_test_buddy_alloc_pessimistic() -> gpu_buddy_free_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 2485355546759708672 |
| PARAM_VALUE | 0 | mm->chunk_size | 4096 |
| PARAM_VALUE | 0 | mm->free_scoreboard | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->free_trees | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->lock_dep_map | 0 |
| PARAM_VALUE | 0 | mm->max_order | 0-51 |
| PARAM_VALUE | 0 | mm->n_roots | 0-64 |
| PARAM_VALUE | 0 | mm->roots | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->size | 1-u64max |
| PARAM_VALUE | 0 | mm->used_scoreboard | 16,4096-ptr_max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| PARAM_VALUE | 1 | block->rb.rb_left->rb_right | 0 |
| PARAM_VALUE | 1 | block->rb.rb_right->rb_left | 0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mm->n_roots |
drivers/gpu/tests/gpu_buddy_test.c gpu_test_buddy_alloc_pessimistic() -> gpu_buddy_free_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 2485355546759708672 |
| PARAM_VALUE | 0 | mm->chunk_size | 4096 |
| PARAM_VALUE | 0 | mm->free_scoreboard | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->free_trees | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->lock_dep_map | 0 |
| PARAM_VALUE | 0 | mm->max_order | 0-51 |
| PARAM_VALUE | 0 | mm->n_roots | 0-64 |
| PARAM_VALUE | 0 | mm->roots | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->size | 1-u64max |
| PARAM_VALUE | 0 | mm->used_scoreboard | 16,4096-ptr_max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| PARAM_VALUE | 1 | block->rb.rb_left->rb_right | 0 |
| PARAM_VALUE | 1 | block->rb.rb_right->rb_left | 0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mm->n_roots |
drivers/gpu/tests/gpu_buddy_test.c gpu_test_buddy_alloc_pessimistic() -> gpu_buddy_free_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 2485355546759708672 |
| PARAM_VALUE | 0 | mm->chunk_size | 4096 |
| PARAM_VALUE | 0 | mm->free_scoreboard | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->free_trees | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->lock_dep_map | 0 |
| PARAM_VALUE | 0 | mm->max_order | 0-51 |
| PARAM_VALUE | 0 | mm->n_roots | 0-64 |
| PARAM_VALUE | 0 | mm->roots | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->size | 1-u64max |
| PARAM_VALUE | 0 | mm->used_scoreboard | 16,4096-ptr_max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| PARAM_VALUE | 1 | block->rb.rb_left->rb_right | 0 |
| PARAM_VALUE | 1 | block->rb.rb_right->rb_left | 0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mm->n_roots |