Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sort.c Create Date:2022-07-28 06:19:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sort

Proto:void sort(void *base, size_t num, size_t size, cmp_func_t cmp_func, swap_func_t swap_func)

Type:void

Parameter:

TypeParameterName
void *base
size_tnum
size_tsize
cmp_func_tcmp_func
swap_func_tswap_func
270  Return sort_r - sort an array of elements*@base: pointer to data to sort*@num: number of elements*@size: size of each element*@cmp_func: pointer to comparison function*@swap_func: pointer to swap function or NULL*@priv: third argument passed to comparison
Caller
NameDescribe
test_sort_init
objagg_stats_getbjagg_stats_get - obtains stats of the objagg instance*@objagg: objagg instance* Note: all locking must be provided by the caller.* The returned structure contains statistics of all object* currently in use, ordered by following rules:
objagg_hints_stats_getbjagg_hints_stats_get - obtains stats of the hints instance*@objagg_hints: hints instance* Note: all locking must be provided by the caller.* The returned structure contains statistics of all objects* currently in use, ordered by following rules:
unwind_module_init
unwind_init
get_fam10h_pci_mmconf_base
sort_range
groups_sort
alloc_nodes_vectorsAllocate vector number for each node, so that for each node:* 1) the allocated number is >= 1* 2) the allocated numbver is <= active CPU number of this node* The actual allocated total vectors may be less than @numvecs when
pidlist_array_loadLoad a cgroup's pidarray with either procs' tgids or tasks' pids
sort_idmapssort_idmaps - Sorts an array of idmap entries.* Can only be called if number of mappings exceeds UID_GID_MAP_MAX_BASE_EXTENTS.
detect_dups
sort_secondary
tracing_map_sort_entriesracing_map_sort_entries - Sort the current set of tracing_map_elts in a map*@map: The tracing_map*@sort_key: The sort key to use for sorting*@sort_entries: outval: pointer to allocated and sorted array of entries* tracing_map_sort_entries() sorts the
add_subprog
btf_check_sec_info
jump_label_sort_entries
__mem_cgroup_usage_register_event
chunk_map_statsPrints out chunk state. Fragmentation is considered between* the beginning of the chunk to the last allocation.* All statistics are in bytes unless stated otherwise.
posix_acl_from_nfsaclConvert from a Solaris ACL to a POSIX 1003.1e draft 17 ACL.