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_sizelog

Proto:static inline struct hstate *hstate_sizelog(int page_size_log)

Type:struct hstate

Parameter:

TypeParameterName
intpage_size_log
486  If Not page_size_log Then Return default_hstate
489  Return size_to_hstate(1UL << page_size_log)
Caller
NameDescribe
ksys_mmap_pgoff
newsegwseg - Create a new shared memory segment*@ns: namespace*@params: ptr to the structure that contains key, size and shmflg* Called with shm_ids.rwsem held as a writer.