函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vfree - release memory allocated by vmalloc()*@addr: memory base address* Free the virtually continuous memory area starting at @addr, as* obtained from vmalloc(), vmalloc_32() or __vmalloc()

函数原型:void vfree(const void *addr)

返回类型:void

参数:

类型参数名称
const void *addr
2376  BUG_ON(in_nmi())
2378  kmemleak_free(addr)
2380  might_sleep_if(!in_interrupt())
2382  如果非addr则返回
2385  __vfree(addr)
调用者
名称描述
generic_load_microcode
free_equiv_cpu_table
prepare_elf_headersPrepare elf headers. Return addr and size
crash_setup_memmap_entriesPrepare memory map for crash dump kernel
crash_load_segments
module_alloc
load_image_lzoload_image_lzo - Load compressed image data and decompress them with LZO.*@handle: Swap map handle to use for loading data.*@snapshot: Image to copy uncompressed data into.*@nr_to_read: Number of pages to load.
module_memfree
copy_module_from_userSets info->hdr and info->len.
free_copy
kimage_file_post_load_cleanupFree up memory used by kernel, initrd, and command line. This is temporary* memory allocation which is not needed any more after these buffers have* been loaded into separate segments and have been copied elsewhere.
kexec_calculate_store_digests
gcov_info_freegcov_info_free - release memory for profiling data set duplicate*@info: profiling data set duplicate to free
gcov_info_freegcov_info_free - release memory for profiling data set duplicate*@info: profiling data set duplicate to free
gcov_iter_freegcov_iter_get_info - return profiling data set for given file iterator*@iter: file iterator
gcov_info_freegcov_info_free - release memory for profiling data set duplicate*@info: profiling data set duplicate to free
gcov_iter_freegcov_iter_get_info - return profiling data set for given file iterator*@iter: file iterator
kcov_put
kcov_mmap
trace_free_pid_list
tracing_map_destroy_sort_entriesracing_map_destroy_sort_entries - Destroy an array of sort entries*@entries: The entries to destroy*@n_entries: The number of entries in the array* Destroy the elements returned by a tracing_map_sort_entries() call.
bpf_prog_alloc_no_stats
bpf_prog_alloc
__bpf_prog_free
bpf_prog_calc_tag
adjust_insn_aux_datasingle env->prog->insni[off] instruction was replaced with the range* insni[off, off + cnt). Adjust corresponding insn_aux_data by copying* [0, off) and [off, end) to new locations, so the patched range stays zero
bpf_check
sel_release_policy
sel_write_load
integrity_load_x509
ima_read_policy
SYSCALL_DEFINE1
SYSCALL_DEFINE2
kasan_free_shadow
kasan_mem_notifier
swap_cgroup_swapon
swap_cgroup_swapoff
percpu_stats_show