Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmzone.c Create Date:2022-07-28 14:22:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Returns the next zone at or below highest_zoneidx in a zonelist

Proto:struct zoneref *__next_zones_zonelist(struct zoneref *z, enum zone_type highest_zoneidx, nodemask_t *nodes)

Type:struct zoneref

Parameter:

TypeParameterName
struct zoneref *z
enum zone_typehighest_zoneidx
nodemask_t *nodes
64  If Value for the false possibility is greater at compile time(nodes == NULL) Then When zonelist_zone_idx(z) > highest_zoneidx cycle
66  z++
67  Else When zonelist_zone_idx(z) > highest_zoneidx || Pointer to actual zone && Not zref_in_nodemask(z, nodes) cycle
70  z++
72  Return z
Caller
NameDescribe
next_zones_zonelistxt_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