Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
9dd95748
K
Kernel
项目概览
openeuler
/
Kernel
11 个月 前同步成功
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9dd95748
编写于
7月 03, 2017
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ipc, kernel, mm: annotate ->poll() instances
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
ade994f4
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
14 addition
and
14 deletion
+14
-14
ipc/mqueue.c
ipc/mqueue.c
+2
-2
kernel/events/core.c
kernel/events/core.c
+2
-2
kernel/printk/printk.c
kernel/printk/printk.c
+2
-2
kernel/relay.c
kernel/relay.c
+2
-2
kernel/time/posix-clock.c
kernel/time/posix-clock.c
+2
-2
kernel/trace/trace.c
kernel/trace/trace.c
+3
-3
mm/swapfile.c
mm/swapfile.c
+1
-1
未找到文件。
ipc/mqueue.c
浏览文件 @
9dd95748
...
...
@@ -519,10 +519,10 @@ static int mqueue_flush_file(struct file *filp, fl_owner_t id)
return
0
;
}
static
unsigned
in
t
mqueue_poll_file
(
struct
file
*
filp
,
struct
poll_table_struct
*
poll_tab
)
static
__poll_
t
mqueue_poll_file
(
struct
file
*
filp
,
struct
poll_table_struct
*
poll_tab
)
{
struct
mqueue_inode_info
*
info
=
MQUEUE_I
(
file_inode
(
filp
));
in
t
retval
=
0
;
__poll_
t
retval
=
0
;
poll_wait
(
filp
,
&
info
->
wait_q
,
poll_tab
);
...
...
kernel/events/core.c
浏览文件 @
9dd95748
...
...
@@ -4511,11 +4511,11 @@ perf_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
return
ret
;
}
static
unsigned
in
t
perf_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
perf_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
perf_event
*
event
=
file
->
private_data
;
struct
ring_buffer
*
rb
;
unsigned
in
t
events
=
POLLHUP
;
__poll_
t
events
=
POLLHUP
;
poll_wait
(
file
,
&
event
->
waitq
,
wait
);
...
...
kernel/printk/printk.c
浏览文件 @
9dd95748
...
...
@@ -920,10 +920,10 @@ static loff_t devkmsg_llseek(struct file *file, loff_t offset, int whence)
return
ret
;
}
static
unsigned
in
t
devkmsg_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
devkmsg_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
devkmsg_user
*
user
=
file
->
private_data
;
in
t
ret
=
0
;
__poll_
t
ret
=
0
;
if
(
!
user
)
return
POLLERR
|
POLLNVAL
;
...
...
kernel/relay.c
浏览文件 @
9dd95748
...
...
@@ -919,9 +919,9 @@ static int relay_file_mmap(struct file *filp, struct vm_area_struct *vma)
*
* Poll implemention.
*/
static
unsigned
in
t
relay_file_poll
(
struct
file
*
filp
,
poll_table
*
wait
)
static
__poll_
t
relay_file_poll
(
struct
file
*
filp
,
poll_table
*
wait
)
{
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
struct
rchan_buf
*
buf
=
filp
->
private_data
;
if
(
buf
->
finalized
)
...
...
kernel/time/posix-clock.c
浏览文件 @
9dd95748
...
...
@@ -68,10 +68,10 @@ static ssize_t posix_clock_read(struct file *fp, char __user *buf,
return
err
;
}
static
unsigned
in
t
posix_clock_poll
(
struct
file
*
fp
,
poll_table
*
wait
)
static
__poll_
t
posix_clock_poll
(
struct
file
*
fp
,
poll_table
*
wait
)
{
struct
posix_clock
*
clk
=
get_posix_clock
(
fp
);
unsigned
in
t
result
=
0
;
__poll_
t
result
=
0
;
if
(
!
clk
)
return
POLLERR
;
...
...
kernel/trace/trace.c
浏览文件 @
9dd95748
...
...
@@ -5632,7 +5632,7 @@ static int tracing_release_pipe(struct inode *inode, struct file *file)
return
0
;
}
static
unsigned
in
t
static
__poll_
t
trace_poll
(
struct
trace_iterator
*
iter
,
struct
file
*
filp
,
poll_table
*
poll_table
)
{
struct
trace_array
*
tr
=
iter
->
tr
;
...
...
@@ -5651,7 +5651,7 @@ trace_poll(struct trace_iterator *iter, struct file *filp, poll_table *poll_tabl
filp
,
poll_table
);
}
static
unsigned
in
t
static
__poll_
t
tracing_poll_pipe
(
struct
file
*
filp
,
poll_table
*
poll_table
)
{
struct
trace_iterator
*
iter
=
filp
->
private_data
;
...
...
@@ -6605,7 +6605,7 @@ static int tracing_buffers_open(struct inode *inode, struct file *filp)
return
ret
;
}
static
unsigned
in
t
static
__poll_
t
tracing_buffers_poll
(
struct
file
*
filp
,
poll_table
*
poll_table
)
{
struct
ftrace_buffer_info
*
info
=
filp
->
private_data
;
...
...
mm/swapfile.c
浏览文件 @
9dd95748
...
...
@@ -2697,7 +2697,7 @@ SYSCALL_DEFINE1(swapoff, const char __user *, specialfile)
}
#ifdef CONFIG_PROC_FS
static
unsigned
swaps_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_t
swaps_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
seq_file
*
seq
=
file
->
private_data
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录