Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/cxl/core/edac.c cxl_mem_ecs_get_attrbs() -> cxl_get_feature()

Type Parameter Key Value
PARAM_VALUE 0 cxl_mbox 4096-ptr_max
PARAM_VALUE 1 feat_uuid 4096-ptr_max
PARAM_VALUE 2 selection 0
PARAM_VALUE 3 feat_out 1-18446744073709551614
PARAM_VALUE 4 feat_out_size 0-u16max
PARAM_VALUE 5 offset 0
PARAM_VALUE 6 return_code 0
BUF_SIZE 0 cxl_mbox 360
BUF_SIZE 3 feat_out 0-u16max
CAPPED_DATA 4 feat_out_size 1
CAPPED_DATA 4 feat_out_size 1
DATA_SOURCE 3 feat_out r __kvmalloc_node_noprof
UNITS 4 feat_out_size unit_byte
BYTE_COUNT 3 ==feat_out4 8050

drivers/cxl/core/edac.c cxl_mem_ecs_set_attrbs() -> cxl_get_feature()

Type Parameter Key Value
PARAM_VALUE 0 cxl_mbox 4096-ptr_max
PARAM_VALUE 1 feat_uuid 4096-ptr_max
PARAM_VALUE 2 selection 0
PARAM_VALUE 3 feat_out 1-18446744073709551614
PARAM_VALUE 4 feat_out_size 1-u16max
PARAM_VALUE 5 offset 0
PARAM_VALUE 6 return_code 0
BUF_SIZE 0 cxl_mbox 360
BUF_SIZE 3 feat_out 1-u16max
CAPPED_DATA 4 feat_out_size 1
CAPPED_DATA 4 feat_out_size 1
DATA_SOURCE 3 feat_out r __kvmalloc_node_noprof
CAPABLE 0 17
UNITS 4 feat_out_size unit_byte
BYTE_COUNT 3 ==feat_out4 8050

drivers/cxl/core/edac.c cxl_mem_ppr_get_attrbs() -> cxl_get_feature()

Type Parameter Key Value
PARAM_VALUE 0 cxl_mbox 4096-ptr_max
PARAM_VALUE 1 feat_uuid 4096-ptr_max
PARAM_VALUE 2 selection 0
PARAM_VALUE 3 feat_out 4096-ptr_max
PARAM_VALUE 4 feat_out_size 20
PARAM_VALUE 5 offset 0
PARAM_VALUE 6 return_code 9085901348893876224
BUF_SIZE 0 cxl_mbox 360
BUF_SIZE 3 feat_out 20
DATA_SOURCE 3 feat_out r _kmalloc_noprof
MEM_ZERO 1 feat_uuid
RX_PATH
TASK_NOT_RUNNING
UNITS 4 feat_out_size unit_byte
BYTE_COUNT 3 ==feat_out4 8050
LOCK2 &endpoint_parent->mutex
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct device)->mutex

drivers/cxl/core/edac.c cxl_mem_scrub_get_attrbs() -> cxl_get_feature()

Type Parameter Key Value
PARAM_VALUE 0 cxl_mbox 4096-ptr_max
PARAM_VALUE 1 feat_uuid 4096-ptr_max
PARAM_VALUE 2 selection 0
PARAM_VALUE 3 feat_out 4096-ptr_max
PARAM_VALUE 4 feat_out_size 4
PARAM_VALUE 5 offset 0
PARAM_VALUE 6 return_code 0
BUF_SIZE 0 cxl_mbox (-1),360
BUF_SIZE 0 cxl_mbox (-1),360
BUF_SIZE 3 feat_out 4
DATA_SOURCE 0 cxl_mbox $0
DATA_SOURCE 3 feat_out r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 4 feat_out_size unit_byte
BYTE_COUNT 3 ==feat_out4 8050
HALF_LOCKED2 &endpoint_parent->mutex

drivers/cxl/core/edac.c cxl_mem_sparing_get_attrbs() -> cxl_get_feature()

Type Parameter Key Value
PARAM_VALUE 0 cxl_mbox 4096-ptr_max
PARAM_VALUE 1 feat_uuid 4096-ptr_max
PARAM_VALUE 2 selection 0
PARAM_VALUE 3 feat_out 4096-ptr_max
PARAM_VALUE 4 feat_out_size 19
PARAM_VALUE 5 offset 0
PARAM_VALUE 6 return_code 8991224380821168128
BUF_SIZE 0 cxl_mbox 360
BUF_SIZE 3 feat_out 19
DATA_SOURCE 3 feat_out r _kzalloc_noprof
MEM_ZERO 1 feat_uuid
RX_PATH
TASK_NOT_RUNNING
UNITS 4 feat_out_size unit_byte
BYTE_COUNT 3 ==feat_out4 8050
LOCK2 &endpoint_parent->mutex
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct device)->mutex

drivers/cxl/core/features.c cxlctl_get_feature() -> cxl_get_feature()

Type Parameter Key Value
PARAM_VALUE 0 cxl_mbox 4096-ptr_max
PARAM_VALUE 0 cxl_mbox->feat_cap 1-2
PARAM_VALUE 1 feat_uuid 4096-ptr_max
PARAM_VALUE 4 feat_out_size 1-u16max
PARAM_VALUE 6 return_code 2540710163473068032
BUF_SIZE 0 cxl_mbox 360
CAPPED_DATA 4 feat_out_size 1
USER_DATA 2 selection 0-255[u]
USER_DATA 4 feat_out_size 1-u16max[u]
USER_DATA 5 offset 0-u16max[u]
UNITS 4 feat_out_size unit_byte
UNITS 5 offset unit_byte
LOCK2 _T->lock