Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmap.c Create Date:2022-07-28 14:48:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static inline unsigned long round_hint_to_min(unsigned long hint)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longhint
1307  hint &= PAGE_MASK
1308  If ((hint != NULL) && (hint < mmap_min_addr)) Then Return align the pointer to the (next) page boundary (mmap_min_addr)
1311  Return hint
Caller
NameDescribe
do_mmapThe caller must hold down_write(¤t->mm->mmap_sem).