Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/buddy.c __alloc_contig_try_harder() -> rbtree_get_free_block()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
CAPPED_DATA 0 node 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bman->lock
HALF_LOCKED2 &manager->lock
HALF_LOCKED2 &mgr->lock

drivers/gpu/buddy.c __force_merge() -> rbtree_get_free_block()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mgr->lock

drivers/gpu/buddy.c gpu_buddy_find_block_aligned() -> rbtree_get_free_block()

Type Parameter Key Value
PARAM_VALUE 0 node 1-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 node unit_byte
HALF_LOCKED2 &bman->lock
HALF_LOCKED2 &manager->lock
HALF_LOCKED2 &mgr->lock

drivers/gpu/buddy.c gpu_buddy_subtree_can_satisfy() -> rbtree_get_free_block()

Type Parameter Key Value
PARAM_VALUE 0 node 1-u64max
DATA_SOURCE 0 node $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 node unit_byte
HALF_LOCKED2 &bman->lock
HALF_LOCKED2 &manager->lock
HALF_LOCKED2 &mgr->lock

drivers/gpu/buddy.c rbtree_insert() -> rbtree_get_free_block()

Type Parameter Key Value
PARAM_VALUE 0 node 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/buddy.c rbtree_last_free_block() -> rbtree_get_free_block()

Type Parameter Key Value
PARAM_VALUE 0 node 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bman->lock
HALF_LOCKED2 &manager->lock
HALF_LOCKED2 &mgr->lock