Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\hugetlb.h Create Date:2022-07-28 05:55:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hstate_file

Proto:static inline struct hstate *hstate_file(struct file *f)

Type:struct hstate

Parameter:

TypeParameterName
struct file *f
481  Return hstate_inode(file_inode(f))
Caller
NameDescribe
ksys_mmap_pgoff
shm_add_rss_swapCalculate and add used RSS and swap pages of a shm.* Called with shm_ids.rwsem held as a reader