函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:If a hint addr is less than mmap_min_addr change hint to be as* low as possible but still greater than mmap_min_addr

函数原型:static inline unsigned long round_hint_to_min(unsigned long hint)

返回类型:unsigned long

参数:

类型参数名称
unsigned longhint
1307  hint与等于PAGE_MASK
1308  如果((hint != NULL) && (hint < mmap_min_addr))则返回: align the pointer to the (next) page boundary (mmap_min_addr)
1311  返回:hint
调用者
名称描述
do_mmapThe caller must hold down_write(¤t->mm->mmap_sem).