Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_test.c dm_test_plane_layer_index_cmp_ascending() -> dm_plane_layer_index_cmp()

Type Parameter Key Value
PARAM_VALUE 0 a 5181232730843312128
PARAM_VALUE 1 b 4361405850601676800
BUF_SIZE 0 a 136
BUF_SIZE 1 b 136

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_test.c dm_test_plane_layer_index_cmp_descending() -> dm_plane_layer_index_cmp()

Type Parameter Key Value
PARAM_VALUE 0 a 6932195666660696064
PARAM_VALUE 1 b 1262685742611345408
BUF_SIZE 0 a 136
BUF_SIZE 1 b 136

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_test.c dm_test_plane_layer_index_cmp_equal() -> dm_plane_layer_index_cmp()

Type Parameter Key Value
PARAM_VALUE 0 a 4784469559925071872
PARAM_VALUE 1 b 5265551105117007872
BUF_SIZE 0 a 136
BUF_SIZE 1 b 136

lib/sort.c do_cmp() -> (struct wrapper)->cmp()

Type Parameter Key Value
PARAM_VALUE 1 b 4096-ptr_max
BUF_SIZE 0 a (-1)-s32max
BUF_SIZE 0 a (-1)-s32max
DATA_SOURCE 0 a $0
DATA_SOURCE 1 b $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *a (-4611686018427387904)-s32max
USER_PTR 0 a
USER_PTR 1 b