函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:is_within_this_va

函数原型:static __always_inline bool is_within_this_va(struct vmap_area *va, unsigned long size, unsigned long align, unsigned long vstart)

返回类型:bool

参数:

类型参数名称
struct vmap_area *va
unsigned longsize
unsigned longalign
unsigned longvstart
775  如果va_start大于vstartnva_start_addr等于@a is a power of 2 value (va_start, align)
777  否则nva_start_addr等于@a is a power of 2 value (vstart, align)
781  如果nva_start_addrsize小于nva_start_addrnva_start_addr小于vstart则返回:false
785  返回:nva_start_addrsize小于等于va_end
调用者
名称描述
find_vmap_lowest_matchFind the first free block(lowest start address) in the tree,* that will accomplish the request corresponding to passing* parameters.