Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_mocs.c check_l3cc_table() -> get_entry_l3cc()

Type Parameter Key Value
PARAM_VALUE 0 table 2484928973622841344,4139008550967369728,8726307007010631680
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1

drivers/gpu/drm/i915/gt/intel_mocs.c check_l3cc_table() -> get_entry_l3cc()

Type Parameter Key Value
PARAM_VALUE 0 table 2484928973622841344,4139008550967369728,8726307007010631680
PARAM_VALUE 0 table->table 4096-ptr_max
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1

drivers/gpu/drm/i915/gt/intel_mocs.c check_l3cc_table() -> get_entry_l3cc()

Type Parameter Key Value
PARAM_VALUE 0 table 2484928973622841344,4139008550967369728,8726307007010631680
PARAM_VALUE 0 table->table 4096-ptr_max
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1

drivers/gpu/drm/i915/gt/intel_mocs.c check_l3cc_table() -> get_entry_l3cc()

Type Parameter Key Value
PARAM_VALUE 0 table 2484928973622841344,4139008550967369728,8726307007010631680
PARAM_VALUE 0 table->table 4096-ptr_max
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1

drivers/gpu/drm/i915/gt/intel_mocs.c init_l3cc_table() -> get_entry_l3cc()

Type Parameter Key Value
PARAM_VALUE 0 table 5397007645488283648,6918666756182532096
PARAM_VALUE 0 table->size 0,3-4,16,64
PARAM_VALUE 0 table->table 0,4096-ptr_max
PARAM_VALUE 0 table->unused_entries_index 1-3,5
PARAM_VALUE 1 index 0-62
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &gt->mcr_lock
LOCK2 __flags
TYPE_LOCK (struct intel_gt)->mcr_lock

drivers/gpu/drm/i915/gt/intel_mocs.c init_l3cc_table() -> get_entry_l3cc()

Type Parameter Key Value
PARAM_VALUE 0 table 5397007645488283648,6918666756182532096
PARAM_VALUE 0 table->size 0,3-4,16,64
PARAM_VALUE 0 table->table 4096-ptr_max
PARAM_VALUE 0 table->unused_entries_index 1-3,5
PARAM_VALUE 1 index 1-63
CAPPED_DATA 0 table->size 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &gt->mcr_lock
LOCK2 __flags
TYPE_LOCK (struct intel_gt)->mcr_lock

drivers/gpu/drm/i915/gt/intel_mocs.c init_l3cc_table() -> get_entry_l3cc()

Type Parameter Key Value
PARAM_VALUE 0 table 5397007645488283648,6918666756182532096
PARAM_VALUE 0 table->size 0,3-4,16,64
PARAM_VALUE 0 table->table 4096-ptr_max
PARAM_VALUE 0 table->unused_entries_index 1-3,5
PARAM_VALUE 1 index 0-62
CAPPED_DATA 0 table->size 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &gt->mcr_lock
LOCK2 __flags
TYPE_LOCK (struct intel_gt)->mcr_lock

drivers/gpu/drm/i915/gt/intel_mocs.c init_l3cc_table() -> get_entry_l3cc()

Type Parameter Key Value
PARAM_VALUE 0 table 5397007645488283648,6918666756182532096
PARAM_VALUE 0 table->size 0,3-4,16,64
PARAM_VALUE 0 table->table 4096-ptr_max
PARAM_VALUE 0 table->unused_entries_index 1-3,5
PARAM_VALUE 1 index 1-63
CAPPED_DATA 0 table->size 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &gt->mcr_lock
LOCK2 __flags
TYPE_LOCK (struct intel_gt)->mcr_lock

drivers/gpu/drm/xe/xe_mocs.c init_l3cc_table() -> get_entry_l3cc()

Type Parameter Key Value
PARAM_VALUE 0 table 6211536664604934144
PARAM_VALUE 0 table->table 0,4096-ptr_max
PARAM_VALUE 0 table->table_size 0,3-5,16,64
PARAM_VALUE 0 table->unused_entries_index 0-5
PARAM_VALUE 1 index 0-62
CAPPED_DATA 0 table->table_size 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
MEM_ZERO 0 table
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_mocs.c init_l3cc_table() -> get_entry_l3cc()

Type Parameter Key Value
PARAM_VALUE 0 table 6211536664604934144
PARAM_VALUE 0 table->table 4096-ptr_max
PARAM_VALUE 0 table->table_size 0,3-5,16,64
PARAM_VALUE 0 table->unused_entries_index 0-5
PARAM_VALUE 1 index 1-63
CAPPED_DATA 0 table->table_size 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
MEM_ZERO 0 table
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_mocs.c read_l3cc_table() -> get_entry_l3cc()

Type Parameter Key Value
PARAM_VALUE 0 table 7511576499659218944,7606740459482214400
PARAM_VALUE 0 table->table 0,4096-ptr_max
PARAM_VALUE 0 table->table_size 0,3-5,16,64
PARAM_VALUE 0 table->unused_entries_index 0-5
PARAM_VALUE 1 index 0-63
CAPPED_DATA 0 table->table_size 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
PARAM_COMPARE 1 index < $0->num_mocs_regs
MEM_ZERO 0 table