linux-5.15/compund_nr()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#m5750a2c]
#backlinks
*説明 [#ocf62a35]
-パス: [[linux-5.15/include/linux/mm.h]]
-ページ数(通常は1)を返す。compoundページなら総ページ数...
**引数 [#m875a8bd]
-struct page *page
--ページ
--[[linux-5.15/page]]
**返り値 [#la75bca9]
-unsigned long
--ページ数
**参考 [#c3ac872c]
*実装 [#gd51bb40]
/* Returns the number of pages in this potentially compo...
static inline unsigned long compound_nr(struct page *page)
{
if (!PageHead(page))
return 1;
return page[1].compound_nr;
}
-PG_headフラグが設定されていなければ1、設定されていれば次...
--[[linux-5.15/PageHead()]]
*コメント [#ncdf4e75]
終了行:
*参照元 [#m5750a2c]
#backlinks
*説明 [#ocf62a35]
-パス: [[linux-5.15/include/linux/mm.h]]
-ページ数(通常は1)を返す。compoundページなら総ページ数...
**引数 [#m875a8bd]
-struct page *page
--ページ
--[[linux-5.15/page]]
**返り値 [#la75bca9]
-unsigned long
--ページ数
**参考 [#c3ac872c]
*実装 [#gd51bb40]
/* Returns the number of pages in this potentially compo...
static inline unsigned long compound_nr(struct page *page)
{
if (!PageHead(page))
return 1;
return page[1].compound_nr;
}
-PG_headフラグが設定されていなければ1、設定されていれば次...
--[[linux-5.15/PageHead()]]
*コメント [#ncdf4e75]
ページ名: