linux-2.6.33/snd_open()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#aff54393]
#backlinks
*説明 [#g6f703db]
-パス: [[linux-2.6.33/sound/core/sound.c]]
-FIXME: これは何?
--説明
**引数 [#j1c98e0e]
-struct inode *inode
--
--[[linux-2.6.33/inode]]
-struct file *file
--
--[[linux-2.6.33/file]]
**返り値 [#y19e2475]
-int
--
**参考 [#t910a986]
*実装 [#j911d32d]
/* BKL pushdown: nasty #ifdef avoidance wrapper */
static int snd_open(struct inode *inode, struct file *fi...
{
int ret;
lock_kernel();
-
--[[linux-2.6.33/lock_kernel()]]
ret = __snd_open(inode, file);
-
--[[linux-2.6.33/__snd_open()]]
unlock_kernel();
-
--[[linux-2.6.33/unlock_kernel()]]
return ret;
}
*コメント [#e5d7e4d6]
終了行:
*参照元 [#aff54393]
#backlinks
*説明 [#g6f703db]
-パス: [[linux-2.6.33/sound/core/sound.c]]
-FIXME: これは何?
--説明
**引数 [#j1c98e0e]
-struct inode *inode
--
--[[linux-2.6.33/inode]]
-struct file *file
--
--[[linux-2.6.33/file]]
**返り値 [#y19e2475]
-int
--
**参考 [#t910a986]
*実装 [#j911d32d]
/* BKL pushdown: nasty #ifdef avoidance wrapper */
static int snd_open(struct inode *inode, struct file *fi...
{
int ret;
lock_kernel();
-
--[[linux-2.6.33/lock_kernel()]]
ret = __snd_open(inode, file);
-
--[[linux-2.6.33/__snd_open()]]
unlock_kernel();
-
--[[linux-2.6.33/unlock_kernel()]]
return ret;
}
*コメント [#e5d7e4d6]
ページ名: