linux-5.15/node_zonelist()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#ke57242a]
#backlinks
*説明 [#n2f653cc]
-パス: [[linux-5.15/include/linux/mmzone.h]]
-指定されたノードのzonelistを返す。
**引数 [#m73dfde3]
-int nid
--ノードID
-gfp_t flags
--GFPフラグ
--[[linux-5.15/gfp_t]]
**返り値 [#q954a6c8]
-struct zonelist *
--zonelist
--[[linux-5.15/zonelist]]
**参考 [#za2b4ee6]
*実装 [#d45368f7]
/*
* We get the zone list from the current node and the gf...
* This zone list contains a maximum of MAX_NUMNODES*MAX...
* There are two zonelists per node, one for all zones w...
* one containing just zones from the node the zonelist ...
*
* For the case of non-NUMA systems the NODE_DATA() gets...
* &contig_page_data at compile-time.
*/
static inline struct zonelist *node_zonelist(int nid, gf...
{
return NODE_DATA(nid)->node_zonelists + gfp_zonelist(fl...
}
-指定されたノードのゾーンリストを返す。
--現状、zonelistsは2要素しかない。GFPのGFP_THISNODEフラグ...
--[[linux-5.15/NODE_DATA()]]
--[[linux-5.15/gfp_zonelist()]]
*コメント [#l50692f5]
終了行:
*参照元 [#ke57242a]
#backlinks
*説明 [#n2f653cc]
-パス: [[linux-5.15/include/linux/mmzone.h]]
-指定されたノードのzonelistを返す。
**引数 [#m73dfde3]
-int nid
--ノードID
-gfp_t flags
--GFPフラグ
--[[linux-5.15/gfp_t]]
**返り値 [#q954a6c8]
-struct zonelist *
--zonelist
--[[linux-5.15/zonelist]]
**参考 [#za2b4ee6]
*実装 [#d45368f7]
/*
* We get the zone list from the current node and the gf...
* This zone list contains a maximum of MAX_NUMNODES*MAX...
* There are two zonelists per node, one for all zones w...
* one containing just zones from the node the zonelist ...
*
* For the case of non-NUMA systems the NODE_DATA() gets...
* &contig_page_data at compile-time.
*/
static inline struct zonelist *node_zonelist(int nid, gf...
{
return NODE_DATA(nid)->node_zonelists + gfp_zonelist(fl...
}
-指定されたノードのゾーンリストを返す。
--現状、zonelistsは2要素しかない。GFPのGFP_THISNODEフラグ...
--[[linux-5.15/NODE_DATA()]]
--[[linux-5.15/gfp_zonelist()]]
*コメント [#l50692f5]
ページ名: