Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: - Zoneref pointer for the first suitable zone found (see below)

Proto:static inline struct zoneref *first_zones_zonelist(struct zonelist *zonelist, enum zone_type highest_zoneidx, nodemask_t *nodes)

Type:struct zoneref

Parameter:

TypeParameterName
struct zonelist *zonelist
enum zone_typehighest_zoneidx
nodemask_t *nodes

Brief:st_zones_zonelist - Returns the first zone at or below highest_zoneidx within the allowed nodemask in a zonelist*@zonelist - The zonelist to search for a suitable zone*@highest_zoneidx - The zone index of the highest zone to return*@nodes - An optional nodemask to filter the zonelist with* This function returns the first zone at or below a given zone index that is* within the allowed nodemask.

1080  Return xt_zones_zonelist - Returns the next zone at or below highest_zoneidx within the allowed nodemask using a cursor within a zonelist as a starting point*@z - The cursor used as a starting point for the search*@highest_zoneidx - The zone index of the highest
Caller
NameDescribe
__alloc_pages_slowpath
finalise_acDetermine whether to spread dirty pages and what the first usable zone
mempolicy_slab_nodeDepending on the memory policy provide a node from which to allocate the* next slab entry.
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