函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:free_pages

函数原型:void free_pages(unsigned long addr, unsigned int order)

返回类型:void

参数:

类型参数名称
unsigned longaddr
unsigned intorder
4805  如果addr不等于0则
4806  VM_BUG_ON(!virt_addr_valid((void * )addr))
4807  __free_pages(virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.((void * )addr), order)
调用者
名称描述
stack_depot_savestack_depot_save - Save a stack trace from an array*@entries: Pointer to storage array*@nr_entries: Size of the storage array*@alloc_flags: Allocation gfp flags* Return: The handle of the stack struct stored in depot
swiotlb_late_init_with_default_sizeSystems with larger DMA zones (those that don't support ISA) can* initialize the swiotlb later using the slab allocator if needed.* This should be just like above, but with some error catching.
swiotlb_late_init_with_tbl
swiotlb_exit
tlb_batch_list_free
raid6_select_algoThis code uses the gfmul table as convenient data set to abuse
machine_kexec_free_page_tables
dma_virt_free
ima_free_pagesma_free_pages() - Free pages allocated by ima_alloc_pages().*@ptr: Pointer to allocated pages.*@size: Size of allocated buffer.