函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vzalloc - allocate virtually contiguous memory with zero fill*@size: allocation size* Allocate enough pages to cover @size from the page level* allocator and map them into contiguous kernel virtual space

函数原型:void *vzalloc(unsigned long size)

返回类型:void

参数:

类型参数名称
unsigned longsize
2660  返回:__vmalloc_node_flags(size, NUMA_NO_NODE, GFP_KERNEL | __GFP_ZERO)
调用者
名称描述
trigger_batched_requests_async_store
test_vzallocAllocator uses a trailing node argument --------+ (e.g. kmalloc_node())* Allocator uses the gfp_t argument -----------+ | (e.g. kmalloc())* Allocator uses a special leading argument + | | (e.g. devm_kmalloc())* | | |
test_rhltable
test_rht_init
kmod_config_sync_info
alloc_test_dev_kmod
fill_up_crash_elf_dataGather all the required information to prepare elf headers for ram regions
crash_setup_memmap_entriesPrepare memory map for crash dump kernel
kexec_calculate_store_digests
crash_prepare_elf64_headers
relay_alloc_page_arrayallocate an array of pointers of struct page
trace_pid_write
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
SYSCALL_DEFINE2
swap_cgroup_swapon