Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 41 files:

Smatch caller information:

drivers/edac/skx_common.c skx_register_mci() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 8
BUF_SIZE 2 layers 24
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte

drivers/edac/x38_edac.c x38_probe1() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 0
BUF_SIZE 2 layers 24
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
HALF_LOCKED2 &pdev->dev.mutex

drivers/edac/i7300_edac.c i7300_init_one() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 3
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 256
BUF_SIZE 2 layers 36
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte

drivers/edac/igen6_edac.c igen6_register_mci() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0-2147483646
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 0
BUF_SIZE 2 layers 24
DATA_SOURCE 0 mc_num $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/edac/al_mc_edac.c al_mc_edac_probe() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 1
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 88
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte

drivers/edac/ie31200_edac.c ie31200_register_mci() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0-s32max
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 1664
BUF_SIZE 2 layers 24
CAPPED_DATA 0 mc_num 1
DATA_SOURCE 0 mc_num $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte
HALF_LOCKED2 &pdev->dev.mutex

drivers/edac/ghes_edac.c ghes_edac_register() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 1
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 488
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte
LOCK2 global &ghes_reg_mutex

drivers/edac/npcm_edac.c edac_probe() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 1
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 288
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte

drivers/edac/pnd2_edac.c pnd2_register_mci() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 32
BUF_SIZE 2 layers 24
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte

drivers/edac/e752x_edac.c e752x_probe1() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 56
BUF_SIZE 2 layers 24
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte
HALF_LOCKED2 &pdev->dev.mutex

drivers/edac/i82975x_edac.c i82975x_probe1() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 8
BUF_SIZE 2 layers 24
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte
HALF_LOCKED2 &pdev->dev.mutex

drivers/edac/i5100_edac.c i5100_init_one() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 920
BUF_SIZE 2 layers 24
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte

drivers/edac/i5400_edac.c i5400_probe1() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 3
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 160
BUF_SIZE 2 layers 36
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte
HALF_LOCKED2 &pdev->dev.mutex

drivers/edac/sb_edac.c sbridge_register_mci() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 1008
BUF_SIZE 2 layers 24
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte

drivers/edac/i3200_edac.c i3200_probe1() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 8
BUF_SIZE 2 layers 24
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte
HALF_LOCKED2 &pdev->dev.mutex

drivers/edac/i3000_edac.c i3000_probe1() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 0
BUF_SIZE 2 layers 24
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
HALF_LOCKED2 &pdev->dev.mutex

drivers/edac/i7core_edac.c i7core_register_mci() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 424
BUF_SIZE 2 layers 24
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mc_num unit_byte
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte
LOCK2 global &i7core_edac_lock

drivers/edac/xgene_edac.c xgene_edac_mc_add() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 56
BUF_SIZE 2 layers 24
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte

drivers/edac/amd64_edac.c init_one_instance() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 0 mc_num 0-65534
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 0
BUF_SIZE 2 layers 24
CAPPED_DATA 0 mc_num 1
HOST_DATA 0 mc_num 0[c]
UNITS 1 n_layers unit_array_size

drivers/edac/versal_edac.c mc_probe() -> edac_mc_alloc()

Type Parameter Key Value
PARAM_VALUE 1 n_layers 2
PARAM_VALUE 2 layers 4096-ptr_max
PARAM_VALUE 3 sz_pvt 488
BUF_SIZE 2 layers 24
DATA_SOURCE 0 mc_num r emif_get_id
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n_layers unit_array_size
UNITS 3 sz_pvt unit_byte