Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/scrub/refcount_repair.c xrep_refc_sort_records() -> xfarray_sort()

Type Parameter Key Value
PARAM_VALUE 0 array 4096-ptr_max
PARAM_VALUE 0 array->obj_size 16
PARAM_VALUE 0 array->obj_size_log (-1)-31
PARAM_VALUE 1 cmp_fn 4379624412301524992
PARAM_VALUE 2 flags 1

fs/xfs/scrub/rtrefcount_repair.c xrep_rtrefc_sort_records() -> xfarray_sort()

Type Parameter Key Value
PARAM_VALUE 0 array 4096-ptr_max
PARAM_VALUE 0 array->obj_size 16
PARAM_VALUE 0 array->obj_size_log (-1)-31
PARAM_VALUE 1 cmp_fn 4859704153286172672
PARAM_VALUE 2 flags 1

fs/xfs/scrub/alloc_repair.c xrep_bnobt_sort_records() -> xfarray_sort()

Type Parameter Key Value
PARAM_VALUE 0 array->obj_size 8
PARAM_VALUE 0 array->obj_size_log (-1)-31
PARAM_VALUE 0 array->xfile->file->f_inode->i_mapping 4096-ptr_max
PARAM_VALUE 1 cmp_fn 3422278010223984640
PARAM_VALUE 2 flags 0

fs/xfs/scrub/alloc_repair.c xrep_cntbt_sort_records() -> xfarray_sort()

Type Parameter Key Value
PARAM_VALUE 0 array 4096-ptr_max
PARAM_VALUE 0 array->obj_size 8
PARAM_VALUE 0 array->obj_size_log (-1)-31
PARAM_VALUE 1 cmp_fn 1286790576095477760
PARAM_VALUE 2 flags 0-1
FUZZY_MAX 2 flags 1
HARD_MAX 2 flags 1

fs/xfs/scrub/bmap_repair.c xrep_bmap_sort_records() -> xfarray_sort()

Type Parameter Key Value
PARAM_VALUE 0 array 4096-ptr_max
PARAM_VALUE 0 array->obj_size 16
PARAM_VALUE 0 array->obj_size_log (-1)-31
PARAM_VALUE 1 cmp_fn 480709212507099136
PARAM_VALUE 2 flags 1