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/xe/xe_guc_db_mgr.c test_empty() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 1 count 1
PARAM_VALUE 2 spare 0
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_compact() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 1-4294967294
PARAM_VALUE 2 spare 0
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_compact() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 1-4294967294
PARAM_VALUE 2 spare 0
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_compact() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 1
PARAM_VALUE 2 spare 0
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_overlap() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 0-4294967294
PARAM_VALUE 2 spare 0
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_overlap() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 1
PARAM_VALUE 2 spare 0
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_overlap() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 1
PARAM_VALUE 2 spare 0
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_overlap() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 1
PARAM_VALUE 2 spare 0
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_overlap() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 0-4294967293
PARAM_VALUE 2 spare 0
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_overlap() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 1
PARAM_VALUE 2 spare 0
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_overlap() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 1
PARAM_VALUE 2 spare 0
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_spare() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 0-4294967294
PARAM_VALUE 2 spare 1-4294967294
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_spare() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 0-4294967294
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_spare() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 0-4294967294
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_guc_db_mgr.c test_range_spare() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 0 dbm->bitmap 16,4096-ptr_max
PARAM_VALUE 0 dbm->count 1-4294967294
PARAM_VALUE 1 count 1
BUF_SIZE 0 dbm s32min,(-10),1-s32max
BUF_SIZE 0 dbm s32min,(-10),1-s32max
CAPPED_DATA 0 dbm->count 1

drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c pf_estimate_fair_dbs() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 2 spare 1-u16max
BUF_SIZE 0 dbm 16
DATA_SOURCE 2 spare r pf_get_spare_dbs
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 count 0-u32max[c]
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c pf_reserve_dbs() -> xe_guc_db_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 dbm 4096-ptr_max
PARAM_VALUE 1 count 1-256
PARAM_VALUE 2 spare 1-u16max
BUF_SIZE 0 dbm 16
DATA_SOURCE 1 count $1
DATA_SOURCE 2 spare r pf_get_spare_dbs
HARD_MAX 1 count 256
USER_DATA 1 count 1-256
NO_OVERFLOW_SIMPLE 1 count
HALF_LOCKED2 &attr->mutex