函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Show free area list (used inside shift_scroll-lock stuff)* We also calculate the percentage fragmentation

函数原型:void show_free_areas(unsigned int filter, nodemask_t *nodemask)

返回类型:void

参数:

类型参数名称
unsigned intfilter
nodemask_t *nodemask
5227  free_pcp等于0
5232  do nothing (zone)
5233  如果Determine whether the node should be displayed or not, depending on whether* SHOW_MEM_FILTER_NODES was passed to show_free_areas().则继续下一循环
5236  遍历在线CPU(cpu)
5237  free_pcp += ({
5237  ({
5237  循环
5237  const void * __vpp_verify = NULL
5237  当0循环
5237  })
5237  })->pcp.count
5240  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
5267  如果Determine whether the node should be displayed or not, depending on whether* SHOW_MEM_FILTER_NODES was passed to show_free_areas().则继续下一循环
5270  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
5315  do nothing (zone)
5318  如果Determine whether the node should be displayed or not, depending on whether* SHOW_MEM_FILTER_NODES was passed to show_free_areas().则继续下一循环
5321  free_pcp等于0
5322  遍历在线CPU(cpu)
5323  free_pcp += ({
5323  ({
5323  循环
5323  const void * __vpp_verify = NULL
5323  当0循环
5323  })
5323  })->pcp.count
5325  show_node(zone)
5326  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
5370  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
5371 i小于MAX_NR_ZONES循环printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
5373  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
5376  do nothing (zone)
5378  total等于0
5381  如果Determine whether the node should be displayed or not, depending on whether* SHOW_MEM_FILTER_NODES was passed to show_free_areas().则继续下一循环
5383  show_node(zone)
5384  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
5386  spin_lock_irqsave( & 自旋锁, flags)
5391  nr[order]等于nr_free
5392  total加等于nr[order]左移order
5394  types[order]等于0
5395 type小于MIGRATE_TYPES循环
5396  如果非free_area_empty(area, type)则types[order]或等于1左移type
5400  spin_unlock_irqrestore( & 自旋锁, flags)
5407  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
5410  hugetlb_show_meminfo()
5412  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
5414  show_swap_cache_info()
调用者
名称描述
do_mmaphandle mapping creation for uClinux
show_mem
do_mmap_privateset up a private mapping or an anonymous shared mapping