Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
mellanox
Bluefield Linux
提交
7f248a81
B
Bluefield Linux
项目概览
mellanox
/
Bluefield Linux
12 个月 前同步成功
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
B
Bluefield Linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7f248a81
编写于
11月 03, 2005
作者:
N
Nathan Scott
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[XFS] Cleanup cosmetic differences between source trees.
Signed-off-by:
N
Nathan Scott
<
nathans@sgi.com
>
上级
538524ae
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
19 addition
and
35 deletion
+19
-35
fs/xfs/Makefile-linux-2.6
fs/xfs/Makefile-linux-2.6
+0
-1
fs/xfs/linux-2.6/kmem.c
fs/xfs/linux-2.6/kmem.c
+0
-1
fs/xfs/linux-2.6/kmem.h
fs/xfs/linux-2.6/kmem.h
+8
-8
fs/xfs/xfs_refcache.h
fs/xfs/xfs_refcache.h
+11
-25
未找到文件。
fs/xfs/Makefile-linux-2.6
浏览文件 @
7f248a81
...
...
@@ -109,7 +109,6 @@ xfs-y += xfs_alloc.o \
xfs_dfrag.o \
xfs_log.o \
xfs_log_recover.o \
xfs_macros.o \
xfs_mount.o \
xfs_rename.o \
xfs_trans.o \
...
...
fs/xfs/linux-2.6/kmem.c
浏览文件 @
7f248a81
...
...
@@ -27,7 +27,6 @@
#define MAX_VMALLOCS 6
#define MAX_SLAB_SIZE 0x20000
void
*
kmem_alloc
(
size_t
size
,
unsigned
int
__nocast
flags
)
{
...
...
fs/xfs/linux-2.6/kmem.h
浏览文件 @
7f248a81
...
...
@@ -69,7 +69,7 @@ typedef unsigned long xfs_pflags_t;
static
__inline
gfp_t
kmem_flags_convert
(
unsigned
int
__nocast
flags
)
{
gfp_t
lflags
=
__GFP_NOWARN
;
/* we'll report problems, if need be */
gfp_t
lflags
=
__GFP_NOWARN
;
/* we'll report problems, if need be */
#ifdef DEBUG
if
(
unlikely
(
flags
&
~
(
KM_SLEEP
|
KM_NOSLEEP
|
KM_NOFS
|
KM_MAYFAIL
)))
{
...
...
@@ -88,7 +88,7 @@ static __inline gfp_t kmem_flags_convert(unsigned int __nocast flags)
if
(
PFLAGS_TEST_FSTRANS
()
||
(
flags
&
KM_NOFS
))
lflags
&=
~
__GFP_FS
;
}
return
lflags
;
}
...
...
@@ -111,13 +111,13 @@ kmem_zone_destroy(kmem_zone_t *zone)
BUG
();
}
extern
void
*
kmem_zone_zalloc
(
kmem_zone_t
*
,
unsigned
int
__nocast
);
extern
void
*
kmem_zone_alloc
(
kmem_zone_t
*
,
unsigned
int
__nocast
);
extern
void
*
kmem_zone_zalloc
(
kmem_zone_t
*
,
unsigned
int
__nocast
);
extern
void
*
kmem_zone_alloc
(
kmem_zone_t
*
,
unsigned
int
__nocast
);
extern
void
*
kmem_alloc
(
size_t
,
unsigned
int
__nocast
);
extern
void
*
kmem_realloc
(
void
*
,
size_t
,
size_t
,
unsigned
int
__nocast
);
extern
void
*
kmem_zalloc
(
size_t
,
unsigned
int
__nocast
);
extern
void
kmem_free
(
void
*
,
size_t
);
extern
void
*
kmem_alloc
(
size_t
,
unsigned
int
__nocast
);
extern
void
*
kmem_realloc
(
void
*
,
size_t
,
size_t
,
unsigned
int
__nocast
);
extern
void
*
kmem_zalloc
(
size_t
,
unsigned
int
__nocast
);
extern
void
kmem_free
(
void
*
,
size_t
);
typedef
struct
shrinker
*
kmem_shaker_t
;
typedef
int
(
*
kmem_shake_func_t
)(
int
,
gfp_t
);
...
...
fs/xfs/xfs_refcache.h
浏览文件 @
7f248a81
/*
* Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
modify it
*
under the terms of version 2
of the GNU General Public License as
* This program is free software; you can redistribute it and/or
*
modify it under the terms
of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it would be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* This program is distributed in the hope that it would be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Further, this software is distributed without any warranty that it is
* free of the rightful claim of any third person regarding infringement
* or the like. Any license provided herein, whether implied or
* otherwise, applies only to this software file. Patent licenses, if
* any, provided herein do not apply to combinations of this program with
* other software, or any other product whatsoever.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write the Free Software Foundation, Inc., 59
* Temple Place - Suite 330, Boston MA 02111-1307, USA.
*
* Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
* Mountain View, CA 94043, or:
*
* http://www.sgi.com
*
* For further information regarding this notice, see:
*
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
* You should have received a copy of the GNU General Public License
* along with this program; if not, write the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __XFS_REFCACHE_H__
#define __XFS_REFCACHE_H__
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录