Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:totalram_pages

Proto:static inline unsigned long totalram_pages(void)

Type:unsigned long

Parameter:Nothing

55  Return atomic_long_read( & _totalram_pages)
Caller
NameDescribe
set_max_threadsset_max_threads
hibernate_image_size_init
sanity_check_segment_list
constrained_allocDetermine the type of allocation constraint.
swap_setupPerform any setup for the swap system
vm_commit_limitCommitted memory limit enforced when OVERCOMMIT_NEVER policy is used
__vm_enough_memoryCheck that a process has enough memory to allocate a new virtual* mapping. 0 means there is enough memory for the allocation to* succeed and -ENOMEM implies there is not.* We currently support three overcommit policies, which are set via the* vm
workingset_init
vmapvmap - map an array of pages into virtually contiguous space*@pages: array of page pointers*@count: number of pages to map*@flags: vm_area->flags*@prot: page protection for the mapping* Maps @count pages from @pages into contiguous kernel virtual* space
__vmalloc_node_range__vmalloc_node_range - allocate virtually contiguous memory*@size: allocation size*@align: desired alignment*@start: vm area range start*@end: vm area range end*@gfp_mask: flags for the page level allocator*@prot: protection mask for the allocated pages
si_meminfo
mem_init_print_info
zswap_is_full
kmem_cache_initInitialisation. Called after the page allocator have been initialised and* before smp_init().
quarantine_reduce
hugepage_init
files_maxfiles_initOne file with associated inode and dcache is very roughly 1K. Per default* do not use more than 10% of our memory for files.