函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\topology.h Create Date:2022-07-27 06:40:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Returns the number of the current Node.

函数原型:static inline int numa_node_id(void)

返回类型:int

参数:

119  返回:cpu_to_node(These macros fold the SMP functionality into a single CPU system())
调用者
名称描述
____bpf_get_numa_node_id
try_to_free_mem_cgroup_pages
node_reclaim
numa_migrate_prep
change_pte_range
new_vmap_blockw_vmap_block - allocates new vmap_block and occupies 2^order pages in this* block
zone_statisticsUpdate NUMA hit/miss statistics* Must be called with interrupts disabled.
nr_free_zone_pagesr_free_zone_pages - count number of pages beyond high watermark*@offset: The zone index of the highest zone* nr_free_zone_pages() counts the number of pages which are beyond the* high watermark within all zones at or below a given zone index
get_swap_pages
get_task_policy
offset_il_nodeDo static interleaving for a VMA with known offset @n. Returns the n'th* node in pol->v.nodes (starting from n=0), wrapping around if n exceeds the* number of present nodes.
huge_nodehuge_node(@vma, @addr, @gfp_flags, @mpol)*@vma: virtual memory area whose policy is sought*@addr: address in @vma for shared policy lookup and interleave policy*@gfp_flags: for requested zone*@mpol: pointer to mempolicy pointer for reference counted
init_nodemask_of_mempolicy_nodemask_of_mempolicy* If the current task's mempolicy is "default" [NULL], return 'false'* to indicate default policy
alloc_pages_currentalloc_pages_current - Allocate pages.*@gfp:* %GFP_USER user allocation,* %GFP_KERNEL kernel allocation,* %GFP_HIGHMEM highmem allocation,* %GFP_FS don't call back into a file system.* %GFP_ATOMIC don't sleep.
mpol_misplacedmpol_misplaced - check whether current page node is valid in policy*@page: page to be checked*@vma: vm area where page mapped*@addr: virtual address where page mapped* Lookup current policy node id for vma,addr and "compare to" page's* node id
do_huge_pmd_numa_pageNUMA hinting page fault entry point for trans huge pmds
alloc_migrate_target
io_wq_enqueue
io_wq_enqueue_hashedEnqueue work, hashed by some key. Work items that hash to the same value* will not be done in parallel. Used to limit concurrent writes, generally* hashed by inode.
numa_mem_idReturns the number of the nearest Node with memory