linux-2.6.33/__kill_fasync()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#g631d8cd]
#backlinks
*説明 [#r5096bc0]
-パス: [[linux-2.6.33/fs/fcntl.c]]
-FIXME: これは何?
--説明
**引数 [#d7564117]
-struct fasync_struct *fa
--
--[[linux-2.6.33/fasync_struct]]
-int sig
--
-int band
--
**返り値 [#cb843184]
-なし
**参考 [#s7dbf1d8]
*実装 [#g5646d18]
void __kill_fasync(struct fasync_struct *fa, int sig, in...
{
while (fa) {
struct fown_struct * fown;
-
--[[linux-2.6.33/fown_struct]]
if (fa->magic != FASYNC_MAGIC) {
printk(KERN_ERR "kill_fasync: bad magic number in "
"fasync_struct!\n");
return;
}
-
--[[linux-2.6.33/FASYNC_MAGIC]]
--[[linux-2.6.33/printk()]]
--[[linux-2.6.33/KERN_ERR]]
fown = &fa->fa_file->f_owner;
/* Don't send SIGURG to processes which have not set a
queued signum: SIGURG has its own default signalling
mechanism. */
if (!(sig == SIGURG && fown->signum == 0))
send_sigio(fown, fa->fa_fd, band);
-
--[[linux-2.6.33/send_sigio()]]
fa = fa->fa_next;
}
}
EXPORT_SYMBOL(__kill_fasync);
*コメント [#wdac4e75]
終了行:
*参照元 [#g631d8cd]
#backlinks
*説明 [#r5096bc0]
-パス: [[linux-2.6.33/fs/fcntl.c]]
-FIXME: これは何?
--説明
**引数 [#d7564117]
-struct fasync_struct *fa
--
--[[linux-2.6.33/fasync_struct]]
-int sig
--
-int band
--
**返り値 [#cb843184]
-なし
**参考 [#s7dbf1d8]
*実装 [#g5646d18]
void __kill_fasync(struct fasync_struct *fa, int sig, in...
{
while (fa) {
struct fown_struct * fown;
-
--[[linux-2.6.33/fown_struct]]
if (fa->magic != FASYNC_MAGIC) {
printk(KERN_ERR "kill_fasync: bad magic number in "
"fasync_struct!\n");
return;
}
-
--[[linux-2.6.33/FASYNC_MAGIC]]
--[[linux-2.6.33/printk()]]
--[[linux-2.6.33/KERN_ERR]]
fown = &fa->fa_file->f_owner;
/* Don't send SIGURG to processes which have not set a
queued signum: SIGURG has its own default signalling
mechanism. */
if (!(sig == SIGURG && fown->signum == 0))
send_sigio(fown, fa->fa_fd, band);
-
--[[linux-2.6.33/send_sigio()]]
fa = fa->fa_next;
}
}
EXPORT_SYMBOL(__kill_fasync);
*コメント [#wdac4e75]
ページ名: