函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Common helper functions. Never use with __GFP_HIGHMEM because the returned* address cannot represent highmem pages. Use alloc_pages and then kmap if* you need to access high mem.

函数原型:unsigned long __get_free_pages(gfp_t gfp_mask, unsigned int order)

返回类型:unsigned long

参数:

类型参数名称
gfp_tgfp_mask
unsigned intorder
4775  page等于alloc_pages(gfp_mask & ~__GFP_HIGHMEM, order)
4776  如果非page则返回:0
4778  返回:page_address(page)
调用者
名称描述
init_amd_gattPrivate Northbridge GATT initialization in case we cannot use the* AGP driver for some reason.
gart_iommu_init
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
get_zeroed_page
alloc_pages_exactalloc_pages_exact - allocate an exact number physically-contiguous pages.*@size: the number of bytes to allocate*@gfp_mask: GFP flags for the allocation, must not contain __GFP_COMP* This function is similar to alloc_pages(), except that it allocates the
ima_alloc_pagesma_alloc_pages() - Allocate contiguous pages
dquot_init
raid6_select_algoThis code uses the gfmul table as convenient data set to abuse
machine_kexec_alloc_page_tables
dma_virt_alloc
tlb_next_batch
io_mem_alloc