函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sort.c Create Date:2022-07-27 07:16:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sort

函数原型:void sort(void *base, size_t num, size_t size, cmp_func_t cmp_func, swap_func_t swap_func)

返回类型:void

参数:

类型参数名称
void *base
size_tnum
size_tsize
cmp_func_tcmp_func
swap_func_tswap_func
270  返回: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
调用者
名称描述
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.
sort_extable
e820__update_table
clean_sort_range
swapcache_free_entries
aa_vec_uniqueaa_vec_unique - canonical sort and unique a list of profiles*@n: number of refcounted profiles in the list (@n > 0)*@vec: list of profiles to sort and merge* Returns: the number of duplicates eliminated == references put* If @flags & VEC_FLAG_TERMINATE
init_sys32_ioctl