Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
9f728af3
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
161
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
9f728af3
编写于
12月 31, 2017
作者:
C
Christoph Hellwig
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
net/atm: convert to ->poll_mask
Signed-off-by:
N
Christoph Hellwig
<
hch@lst.de
>
上级
f4335f52
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
6 addition
and
11 deletion
+6
-11
net/atm/common.c
net/atm/common.c
+3
-8
net/atm/common.h
net/atm/common.h
+1
-1
net/atm/pvc.c
net/atm/pvc.c
+1
-1
net/atm/svc.c
net/atm/svc.c
+1
-1
未找到文件。
net/atm/common.c
浏览文件 @
9f728af3
...
...
@@ -648,16 +648,11 @@ int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t size)
return
error
;
}
__poll_t
vcc_poll
(
struct
file
*
file
,
struct
socket
*
sock
,
poll_table
*
wait
)
__poll_t
vcc_poll
_mask
(
struct
socket
*
sock
,
__poll_t
events
)
{
struct
sock
*
sk
=
sock
->
sk
;
struct
atm_vcc
*
vcc
;
__poll_t
mask
;
sock_poll_wait
(
file
,
sk_sleep
(
sk
),
wait
);
mask
=
0
;
vcc
=
ATM_SD
(
sock
);
struct
atm_vcc
*
vcc
=
ATM_SD
(
sock
);
__poll_t
mask
=
0
;
/* exceptional events */
if
(
sk
->
sk_err
)
...
...
net/atm/common.h
浏览文件 @
9f728af3
...
...
@@ -17,7 +17,7 @@ int vcc_connect(struct socket *sock, int itf, short vpi, int vci);
int
vcc_recvmsg
(
struct
socket
*
sock
,
struct
msghdr
*
msg
,
size_t
size
,
int
flags
);
int
vcc_sendmsg
(
struct
socket
*
sock
,
struct
msghdr
*
m
,
size_t
total_len
);
__poll_t
vcc_poll
(
struct
file
*
file
,
struct
socket
*
sock
,
poll_table
*
wait
);
__poll_t
vcc_poll
_mask
(
struct
socket
*
sock
,
__poll_t
events
);
int
vcc_ioctl
(
struct
socket
*
sock
,
unsigned
int
cmd
,
unsigned
long
arg
);
int
vcc_compat_ioctl
(
struct
socket
*
sock
,
unsigned
int
cmd
,
unsigned
long
arg
);
int
vcc_setsockopt
(
struct
socket
*
sock
,
int
level
,
int
optname
,
...
...
net/atm/pvc.c
浏览文件 @
9f728af3
...
...
@@ -113,7 +113,7 @@ static const struct proto_ops pvc_proto_ops = {
.
socketpair
=
sock_no_socketpair
,
.
accept
=
sock_no_accept
,
.
getname
=
pvc_getname
,
.
poll
=
vcc_poll
,
.
poll
_mask
=
vcc_poll_mask
,
.
ioctl
=
vcc_ioctl
,
#ifdef CONFIG_COMPAT
.
compat_ioctl
=
vcc_compat_ioctl
,
...
...
net/atm/svc.c
浏览文件 @
9f728af3
...
...
@@ -636,7 +636,7 @@ static const struct proto_ops svc_proto_ops = {
.
socketpair
=
sock_no_socketpair
,
.
accept
=
svc_accept
,
.
getname
=
svc_getname
,
.
poll
=
vcc_poll
,
.
poll
_mask
=
vcc_poll_mask
,
.
ioctl
=
svc_ioctl
,
#ifdef CONFIG_COMPAT
.
compat_ioctl
=
svc_compat_ioctl
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录