Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
bc5a2e64
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bc5a2e64
编写于
7月 18, 2007
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[SPARC]: Add sys_fallocate() entries.
Signed-off-by:
N
David S. Miller
<
davem@davemloft.net
>
上级
a3761780
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
24 addition
and
20 deletion
+24
-20
arch/sparc/kernel/systbls.S
arch/sparc/kernel/systbls.S
+4
-5
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+9
-3
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+5
-6
include/asm-sparc/unistd.h
include/asm-sparc/unistd.h
+3
-3
include/asm-sparc64/unistd.h
include/asm-sparc64/unistd.h
+3
-3
未找到文件。
arch/sparc/kernel/systbls.S
浏览文件 @
bc5a2e64
/*
$Id
:
systbls
.
S
,
v
1
.103
2002
/
02
/
08
03
:
57
:
14
davem
Exp
$
*
systbls
.
S
:
System
call
entry
point
tables
for
OS
compatibility
.
/*
systbls.S
:
System
call
entry
point
tables
for
OS
compatibility
.
*
The
native
Linux
system
call
table
lives
here
also
.
*
*
Copyright
(
C
)
1995
David
S
.
Miller
(
davem
@
caip
.
rutgers
.
edu
)
*
Copyright
(
C
)
1995
,
2007
David
S
.
Miller
(
davem
@
davemloft
.
net
)
*
*
Based
upon
preliminary
work
which
is
:
*
...
...
@@ -80,7 +79,7 @@ sys_call_table:
/*
295
*/
.
long
sys_fchmodat
,
sys_faccessat
,
sys_pselect6
,
sys_ppoll
,
sys_unshare
/*
300
*/
.
long
sys_set_robust_list
,
sys_get_robust_list
,
sys_migrate_pages
,
sys_mbind
,
sys_get_mempolicy
/*
305
*/
.
long
sys_set_mempolicy
,
sys_kexec_load
,
sys_move_pages
,
sys_getcpu
,
sys_epoll_pwait
/*
310
*/
.
long
sys_utimensat
,
sys_signalfd
,
sys_timerfd
,
sys_eventfd
/*
310
*/
.
long
sys_utimensat
,
sys_signalfd
,
sys_timerfd
,
sys_eventfd
,
sys_fallocate
#ifdef CONFIG_SUNOS_EMUL
/
*
Now
the
SunOS
syscall
table
.
*/
...
...
@@ -198,6 +197,6 @@ sunos_sys_table:
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
/*
310
*/
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
.
long
sunos_nosys
,
sunos_nosys
#endif
arch/sparc64/kernel/sys_sparc32.c
浏览文件 @
bc5a2e64
/* $Id: sys_sparc32.c,v 1.184 2002/02/09 19:49:31 davem Exp $
* sys_sparc32.c: Conversion between 32bit and 64bit native syscalls.
/* sys_sparc32.c: Conversion between 32bit and 64bit native syscalls.
*
* Copyright (C) 1997,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
* Copyright (C) 1997
David S. Miller (davem@caip.rutgers.edu
)
* Copyright (C) 1997
, 2007 David S. Miller (davem@davemloft.net
)
*
* These routines maintain argument size conversion between 32bit and 64bit
* environment.
...
...
@@ -1028,3 +1027,10 @@ long compat_sync_file_range(int fd, unsigned long off_high, unsigned long off_lo
(
nb_high
<<
32
)
|
nb_low
,
flags
);
}
asmlinkage
long
compat_sys_fallocate
(
int
fd
,
int
mode
,
u32
offhi
,
u32
offlo
,
u32
lenhi
,
u32
lenlo
)
{
return
sys_fallocate
(
fd
,
mode
,
((
loff_t
)
offhi
<<
32
)
|
offlo
,
((
loff_t
)
lenhi
<<
32
)
|
lenlo
);
}
arch/sparc64/kernel/systbls.S
浏览文件 @
bc5a2e64
/*
$Id
:
systbls
.
S
,
v
1
.81
2002
/
02
/
08
03
:
57
:
14
davem
Exp
$
*
systbls
.
S
:
System
call
entry
point
tables
for
OS
compatibility
.
/*
systbls.S
:
System
call
entry
point
tables
for
OS
compatibility
.
*
The
native
Linux
system
call
table
lives
here
also
.
*
*
Copyright
(
C
)
1995
,
1996
David
S
.
Miller
(
davem
@
caip
.
rutgers
.
edu
)
*
Copyright
(
C
)
1995
,
1996
,
2007
David
S
.
Miller
(
davem
@
davemloft
.
net
)
*
Copyright
(
C
)
1997
Jakub
Jelinek
(
jj
@
sunsite
.
mff
.
cuni
.
cz
)
*
*
Based
upon
preliminary
work
which
is
:
...
...
@@ -81,7 +80,7 @@ sys_call_table32:
.
word
sys_fchmodat
,
sys_faccessat
,
compat_sys_pselect6
,
compat_sys_ppoll
,
sys_unshare
/*
300
*/
.
word
compat_sys_set_robust_list
,
compat_sys_get_robust_list
,
compat_sys_migrate_pages
,
compat_sys_mbind
,
compat_sys_get_mempolicy
.
word
compat_sys_set_mempolicy
,
compat_sys_kexec_load
,
compat_sys_move_pages
,
sys_getcpu
,
compat_sys_epoll_pwait
/*
310
*/
.
word
compat_sys_utimensat
,
compat_sys_signalfd
,
compat_sys_timerfd
,
sys_eventfd
/*
310
*/
.
word
compat_sys_utimensat
,
compat_sys_signalfd
,
compat_sys_timerfd
,
sys_eventfd
,
compat_sys_fallocate
#endif /* CONFIG_COMPAT */
...
...
@@ -153,7 +152,7 @@ sys_call_table:
.
word
sys_fchmodat
,
sys_faccessat
,
sys_pselect6
,
sys_ppoll
,
sys_unshare
/*
300
*/
.
word
sys_set_robust_list
,
sys_get_robust_list
,
sys_migrate_pages
,
sys_mbind
,
sys_get_mempolicy
.
word
sys_set_mempolicy
,
sys_kexec_load
,
sys_move_pages
,
sys_getcpu
,
sys_epoll_pwait
/*
310
*/
.
word
sys_utimensat
,
sys_signalfd
,
sys_timerfd
,
sys_eventfd
/*
310
*/
.
word
sys_utimensat
,
sys_signalfd
,
sys_timerfd
,
sys_eventfd
,
sys_fallocate
#if defined(CONFIG_SUNOS_EMUL) || defined(CONFIG_SOLARIS_EMUL) || \
defined
(
CONFIG_SOLARIS_EMUL_MODULE
)
...
...
@@ -272,6 +271,6 @@ sunos_sys_table:
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
/*
310
*/
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
#endif
include/asm-sparc/unistd.h
浏览文件 @
bc5a2e64
/* $Id: unistd.h,v 1.74 2002/02/08 03:57:18 davem Exp $ */
#ifndef _SPARC_UNISTD_H
#define _SPARC_UNISTD_H
...
...
@@ -9,7 +8,7 @@
* think of right now to force the arguments into fixed registers
* before the trap into the system call with gcc 'asm' statements.
*
* Copyright (C) 1995
David S. Miller (davem@caip.rutgers.edu
)
* Copyright (C) 1995
, 2007 David S. Miller (davem@davemloft.net
)
*
* SunOS compatibility based upon preliminary work which is:
*
...
...
@@ -330,8 +329,9 @@
#define __NR_signalfd 311
#define __NR_timerfd 312
#define __NR_eventfd 313
#define __NR_fallocate 314
#define NR_SYSCALLS 31
4
#define NR_SYSCALLS 31
5
#ifdef __KERNEL__
#define __ARCH_WANT_IPC_PARSE_VERSION
...
...
include/asm-sparc64/unistd.h
浏览文件 @
bc5a2e64
/* $Id: unistd.h,v 1.50 2002/02/08 03:57:18 davem Exp $ */
#ifndef _SPARC64_UNISTD_H
#define _SPARC64_UNISTD_H
...
...
@@ -9,7 +8,7 @@
* think of right now to force the arguments into fixed registers
* before the trap into the system call with gcc 'asm' statements.
*
* Copyright (C) 1995
David S. Miller (davem@caip.rutgers.edu
)
* Copyright (C) 1995
, 2007 David S. Miller (davem@davemloft.net
)
*
* SunOS compatibility based upon preliminary work which is:
*
...
...
@@ -332,8 +331,9 @@
#define __NR_signalfd 311
#define __NR_timerfd 312
#define __NR_eventfd 313
#define __NR_fallocate 314
#define NR_SYSCALLS 31
4
#define NR_SYSCALLS 31
5
#ifdef __KERNEL__
/* sysconf options, for SunOS compatibility */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录