Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
621496f4
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
621496f4
编写于
5月 04, 2011
作者:
D
David Sterba
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
btrfs: remove unused function prototypes
function prototypes without a body Signed-off-by:
N
David Sterba
<
dsterba@suse.cz
>
上级
8cc33e5c
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
0 addition
and
43 deletion
+0
-43
fs/btrfs/ctree.h
fs/btrfs/ctree.h
+0
-12
fs/btrfs/delayed-ref.h
fs/btrfs/delayed-ref.h
+0
-5
fs/btrfs/disk-io.h
fs/btrfs/disk-io.h
+0
-11
fs/btrfs/extent_io.h
fs/btrfs/extent_io.h
+0
-9
fs/btrfs/transaction.h
fs/btrfs/transaction.h
+0
-3
fs/btrfs/tree-log.h
fs/btrfs/tree-log.h
+0
-1
fs/btrfs/volumes.h
fs/btrfs/volumes.h
+0
-2
未找到文件。
fs/btrfs/ctree.h
浏览文件 @
621496f4
...
...
@@ -2108,12 +2108,9 @@ int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans,
u64
num_bytes
,
u64
*
refs
,
u64
*
flags
);
int
btrfs_pin_extent
(
struct
btrfs_root
*
root
,
u64
bytenr
,
u64
num
,
int
reserved
);
int
btrfs_drop_leaf_ref
(
struct
btrfs_trans_handle
*
trans
,
struct
btrfs_root
*
root
,
struct
extent_buffer
*
leaf
);
int
btrfs_cross_ref_exist
(
struct
btrfs_trans_handle
*
trans
,
struct
btrfs_root
*
root
,
u64
objectid
,
u64
offset
,
u64
bytenr
);
int
btrfs_copy_pinned
(
struct
btrfs_root
*
root
,
struct
extent_io_tree
*
copy
);
struct
btrfs_block_group_cache
*
btrfs_lookup_block_group
(
struct
btrfs_fs_info
*
info
,
u64
bytenr
);
...
...
@@ -2463,15 +2460,10 @@ int btrfs_csum_file_blocks(struct btrfs_trans_handle *trans,
struct
btrfs_ordered_sum
*
sums
);
int
btrfs_csum_one_bio
(
struct
btrfs_root
*
root
,
struct
inode
*
inode
,
struct
bio
*
bio
,
u64
file_start
,
int
contig
);
int
btrfs_csum_file_bytes
(
struct
btrfs_root
*
root
,
struct
inode
*
inode
,
u64
start
,
unsigned
long
len
);
struct
btrfs_csum_item
*
btrfs_lookup_csum
(
struct
btrfs_trans_handle
*
trans
,
struct
btrfs_root
*
root
,
struct
btrfs_path
*
path
,
u64
bytenr
,
int
cow
);
int
btrfs_csum_truncate
(
struct
btrfs_trans_handle
*
trans
,
struct
btrfs_root
*
root
,
struct
btrfs_path
*
path
,
u64
isize
);
int
btrfs_lookup_csums_range
(
struct
btrfs_root
*
root
,
u64
start
,
u64
end
,
struct
list_head
*
list
);
/* inode.c */
...
...
@@ -2520,7 +2512,6 @@ unsigned long btrfs_force_ra(struct address_space *mapping,
int
btrfs_page_mkwrite
(
struct
vm_area_struct
*
vma
,
struct
vm_fault
*
vmf
);
int
btrfs_readpage
(
struct
file
*
file
,
struct
page
*
page
);
void
btrfs_evict_inode
(
struct
inode
*
inode
);
void
btrfs_put_inode
(
struct
inode
*
inode
);
int
btrfs_write_inode
(
struct
inode
*
inode
,
struct
writeback_control
*
wbc
);
void
btrfs_dirty_inode
(
struct
inode
*
inode
);
struct
inode
*
btrfs_alloc_inode
(
struct
super_block
*
sb
);
...
...
@@ -2531,8 +2522,6 @@ void btrfs_destroy_cachep(void);
long
btrfs_ioctl_trans_end
(
struct
file
*
file
);
struct
inode
*
btrfs_iget
(
struct
super_block
*
s
,
struct
btrfs_key
*
location
,
struct
btrfs_root
*
root
,
int
*
was_new
);
int
btrfs_commit_write
(
struct
file
*
file
,
struct
page
*
page
,
unsigned
from
,
unsigned
to
);
struct
extent_map
*
btrfs_get_extent
(
struct
inode
*
inode
,
struct
page
*
page
,
size_t
pg_offset
,
u64
start
,
u64
end
,
int
create
);
...
...
@@ -2571,7 +2560,6 @@ void btrfs_inherit_iflags(struct inode *inode, struct inode *dir);
int
btrfs_sync_file
(
struct
file
*
file
,
int
datasync
);
int
btrfs_drop_extent_cache
(
struct
inode
*
inode
,
u64
start
,
u64
end
,
int
skip_pinned
);
int
btrfs_check_file
(
struct
btrfs_root
*
root
,
struct
inode
*
inode
);
extern
const
struct
file_operations
btrfs_file_operations
;
int
btrfs_drop_extents
(
struct
btrfs_trans_handle
*
trans
,
struct
inode
*
inode
,
u64
start
,
u64
end
,
u64
*
hint_byte
,
int
drop_cache
);
...
...
fs/btrfs/delayed-ref.h
浏览文件 @
621496f4
...
...
@@ -167,11 +167,6 @@ int btrfs_add_delayed_extent_op(struct btrfs_trans_handle *trans,
struct
btrfs_delayed_ref_head
*
btrfs_find_delayed_ref_head
(
struct
btrfs_trans_handle
*
trans
,
u64
bytenr
);
int
btrfs_delayed_ref_pending
(
struct
btrfs_trans_handle
*
trans
,
u64
bytenr
);
int
btrfs_update_delayed_ref
(
struct
btrfs_trans_handle
*
trans
,
u64
bytenr
,
u64
num_bytes
,
u64
orig_parent
,
u64
parent
,
u64
orig_ref_root
,
u64
ref_root
,
u64
orig_ref_generation
,
u64
ref_generation
,
u64
owner_objectid
,
int
pin
);
int
btrfs_delayed_ref_lock
(
struct
btrfs_trans_handle
*
trans
,
struct
btrfs_delayed_ref_head
*
head
);
int
btrfs_find_ref_cluster
(
struct
btrfs_trans_handle
*
trans
,
...
...
fs/btrfs/disk-io.h
浏览文件 @
621496f4
...
...
@@ -65,25 +65,14 @@ struct btrfs_root *btrfs_read_fs_root_no_radix(struct btrfs_root *tree_root,
struct
btrfs_root
*
btrfs_read_fs_root_no_name
(
struct
btrfs_fs_info
*
fs_info
,
struct
btrfs_key
*
location
);
int
btrfs_cleanup_fs_roots
(
struct
btrfs_fs_info
*
fs_info
);
int
btrfs_insert_dev_radix
(
struct
btrfs_root
*
root
,
struct
block_device
*
bdev
,
u64
device_id
,
u64
block_start
,
u64
num_blocks
);
void
btrfs_btree_balance_dirty
(
struct
btrfs_root
*
root
,
unsigned
long
nr
);
int
btrfs_free_fs_root
(
struct
btrfs_fs_info
*
fs_info
,
struct
btrfs_root
*
root
);
void
btrfs_mark_buffer_dirty
(
struct
extent_buffer
*
buf
);
void
btrfs_mark_buffer_dirty_nonblocking
(
struct
extent_buffer
*
buf
);
int
btrfs_buffer_uptodate
(
struct
extent_buffer
*
buf
,
u64
parent_transid
);
int
btrfs_set_buffer_uptodate
(
struct
extent_buffer
*
buf
);
int
wait_on_tree_block_writeback
(
struct
btrfs_root
*
root
,
struct
extent_buffer
*
buf
);
int
btrfs_read_buffer
(
struct
extent_buffer
*
buf
,
u64
parent_transid
);
u32
btrfs_csum_data
(
struct
btrfs_root
*
root
,
char
*
data
,
u32
seed
,
size_t
len
);
void
btrfs_csum_final
(
u32
crc
,
char
*
result
);
int
btrfs_open_device
(
struct
btrfs_device
*
dev
);
int
btrfs_verify_block_csum
(
struct
btrfs_root
*
root
,
struct
extent_buffer
*
buf
);
int
btrfs_bio_wq_end_io
(
struct
btrfs_fs_info
*
info
,
struct
bio
*
bio
,
int
metadata
);
int
btrfs_wq_submit_bio
(
struct
btrfs_fs_info
*
fs_info
,
struct
inode
*
inode
,
...
...
fs/btrfs/extent_io.h
浏览文件 @
621496f4
...
...
@@ -215,14 +215,8 @@ int set_extent_dirty(struct extent_io_tree *tree, u64 start, u64 end,
gfp_t
mask
);
int
clear_extent_dirty
(
struct
extent_io_tree
*
tree
,
u64
start
,
u64
end
,
gfp_t
mask
);
int
clear_extent_ordered
(
struct
extent_io_tree
*
tree
,
u64
start
,
u64
end
,
gfp_t
mask
);
int
clear_extent_ordered_metadata
(
struct
extent_io_tree
*
tree
,
u64
start
,
u64
end
,
gfp_t
mask
);
int
set_extent_delalloc
(
struct
extent_io_tree
*
tree
,
u64
start
,
u64
end
,
struct
extent_state
**
cached_state
,
gfp_t
mask
);
int
set_extent_ordered
(
struct
extent_io_tree
*
tree
,
u64
start
,
u64
end
,
gfp_t
mask
);
int
find_first_extent_bit
(
struct
extent_io_tree
*
tree
,
u64
start
,
u64
*
start_ret
,
u64
*
end_ret
,
int
bits
);
struct
extent_state
*
find_first_extent_bit_state
(
struct
extent_io_tree
*
tree
,
...
...
@@ -298,8 +292,6 @@ int clear_extent_buffer_dirty(struct extent_io_tree *tree,
struct
extent_buffer
*
eb
);
int
set_extent_buffer_dirty
(
struct
extent_io_tree
*
tree
,
struct
extent_buffer
*
eb
);
int
test_extent_buffer_dirty
(
struct
extent_io_tree
*
tree
,
struct
extent_buffer
*
eb
);
int
set_extent_buffer_uptodate
(
struct
extent_io_tree
*
tree
,
struct
extent_buffer
*
eb
);
int
clear_extent_buffer_uptodate
(
struct
extent_io_tree
*
tree
,
...
...
@@ -317,7 +309,6 @@ int map_private_extent_buffer(struct extent_buffer *eb, unsigned long offset,
unsigned
long
*
map_start
,
unsigned
long
*
map_len
,
int
km
);
void
unmap_extent_buffer
(
struct
extent_buffer
*
eb
,
char
*
token
,
int
km
);
int
release_extent_buffer_tail_pages
(
struct
extent_buffer
*
eb
);
int
extent_range_uptodate
(
struct
extent_io_tree
*
tree
,
u64
start
,
u64
end
);
int
extent_clear_unlock_delalloc
(
struct
inode
*
inode
,
...
...
fs/btrfs/transaction.h
浏览文件 @
621496f4
...
...
@@ -101,11 +101,8 @@ struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *r,
int
btrfs_wait_for_commit
(
struct
btrfs_root
*
root
,
u64
transid
);
int
btrfs_write_and_wait_transaction
(
struct
btrfs_trans_handle
*
trans
,
struct
btrfs_root
*
root
);
int
btrfs_commit_tree_roots
(
struct
btrfs_trans_handle
*
trans
,
struct
btrfs_root
*
root
);
int
btrfs_add_dead_root
(
struct
btrfs_root
*
root
);
int
btrfs_drop_dead_root
(
struct
btrfs_root
*
root
);
int
btrfs_defrag_root
(
struct
btrfs_root
*
root
,
int
cacheonly
);
int
btrfs_clean_old_snapshots
(
struct
btrfs_root
*
root
);
int
btrfs_commit_transaction
(
struct
btrfs_trans_handle
*
trans
,
...
...
fs/btrfs/tree-log.h
浏览文件 @
621496f4
...
...
@@ -38,7 +38,6 @@ int btrfs_del_inode_ref_in_log(struct btrfs_trans_handle *trans,
struct
btrfs_root
*
root
,
const
char
*
name
,
int
name_len
,
struct
inode
*
inode
,
u64
dirid
);
int
btrfs_join_running_log_trans
(
struct
btrfs_root
*
root
);
int
btrfs_end_log_trans
(
struct
btrfs_root
*
root
);
int
btrfs_pin_log_trans
(
struct
btrfs_root
*
root
);
int
btrfs_log_inode_parent
(
struct
btrfs_trans_handle
*
trans
,
...
...
fs/btrfs/volumes.h
浏览文件 @
621496f4
...
...
@@ -209,8 +209,6 @@ int btrfs_add_device(struct btrfs_trans_handle *trans,
int
btrfs_rm_device
(
struct
btrfs_root
*
root
,
char
*
device_path
);
int
btrfs_cleanup_fs_uuids
(
void
);
int
btrfs_num_copies
(
struct
btrfs_mapping_tree
*
map_tree
,
u64
logical
,
u64
len
);
int
btrfs_unplug_page
(
struct
btrfs_mapping_tree
*
map_tree
,
u64
logical
,
struct
page
*
page
);
int
btrfs_grow_device
(
struct
btrfs_trans_handle
*
trans
,
struct
btrfs_device
*
device
,
u64
new_size
);
struct
btrfs_device
*
btrfs_find_device
(
struct
btrfs_root
*
root
,
u64
devid
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录