Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/cxl/core/cdat.c match_cxlrd_hb() -> to_cxl_root_decoder()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->type 4096-ptr_max
DATA_SOURCE 0 dev $0

drivers/cxl/core/cdat.c match_cxlrd_qos_class() -> to_cxl_root_decoder()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->type 4096-ptr_max
DATA_SOURCE 0 dev $0

drivers/cxl/core/region.c create_pmem_region_show() -> to_cxl_root_decoder()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/cxl/core/region.c create_ram_region_show() -> to_cxl_root_decoder()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/cxl/core/region.c create_region_store() -> to_cxl_root_decoder()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/cxl/core/region.c delete_region_store() -> to_cxl_root_decoder()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/cxl/core/region.c endpoint_unregister_region() -> to_cxl_root_decoder()

Type Parameter Key Value
UNITS 0 dev unit_byte

drivers/cxl/core/region.c get_cxl_root_decoder() -> to_cxl_root_decoder()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
DATA_SOURCE 0 dev r device_find_child

drivers/cxl/core/region.c match_root_decoder() -> to_cxl_root_decoder()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->type 4096-ptr_max
DATA_SOURCE 0 dev $0
STR_LEN 0 dev (-1),31
STR_LEN 0 dev (-1),31
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &endpoint->dev.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &dpm_list_mtx
HALF_LOCKED2 global &dsa2_mutex
HALF_LOCKED2 global &nvdimm_bus_list_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 global &wwan_register_lock

drivers/cxl/core/region.c region_is_unaligned_mod3() -> to_cxl_root_decoder()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &cxlmd->dev.mutex
HALF_LOCKED2 _T->lock

drivers/cxl/core/region.c unaligned_region_offset_to_dpa_result() -> to_cxl_root_decoder()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
UNITS 0 dev unit_byte
LOCK2 &attr->mutex
TYPE_LOCK (struct simple_attr)->mutex

drivers/cxl/core/region.c unregister_region() -> to_cxl_root_decoder()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/cxl/core/port.c cxl_root_decoder_release() -> to_cxl_root_decoder()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->type 4096-ptr_max
BUF_SIZE 0 dev (-1),1616
BUF_SIZE 0 dev (-1),1616
BUF_SIZE 0 dev->bus (-1),168
BUF_SIZE 0 dev->parent (-1),1616
BUF_SIZE 0 dev->type (-1),48
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subsys->su_mutex

drivers/cxl/core/port.c cxl_root_decoder_visible() -> to_cxl_root_decoder()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/cxl/core/port.c cxld_unregister() -> to_cxl_root_decoder()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
DATA_SOURCE 0 dev $0

drivers/cxl/core/port.c qos_class_show() -> to_cxl_root_decoder()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/cxl/acpi.c pair_cxl_resource() -> to_cxl_root_decoder()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->type 4096-ptr_max
DATA_SOURCE 0 dev $0