ctree.h (6da6abae027e2dbc59bca5f4168b0760f25068c7) ctree.h (1832a6d5ee3b1af61001cadba9e10da9e91af4a4)
1/*
2 * Copyright (C) 2007 Oracle. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 332 unchanged lines hidden (view full) ---

341 struct delayed_work trans_work;
342#endif
343 struct kobject super_kobj;
344 struct completion kobj_unregister;
345 int do_barriers;
346 int closing;
347
348 u64 total_pinned;
1/*
2 * Copyright (C) 2007 Oracle. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 332 unchanged lines hidden (view full) ---

341 struct delayed_work trans_work;
342#endif
343 struct kobject super_kobj;
344 struct completion kobj_unregister;
345 int do_barriers;
346 int closing;
347
348 u64 total_pinned;
349 spinlock_t delalloc_lock;
350 u64 delalloc_bytes;
349};
350/*
351 * in ram representation of the tree. extent_root is used for all allocations
352 * and for the extent tree extent_root root.
353 */
354struct btrfs_root {
355 struct extent_buffer *node;
356 struct extent_buffer *commit_root;

--- 753 unchanged lines hidden (view full) ---

1110 struct btrfs_root *root,
1111 struct btrfs_path *path,
1112 u64 objectid, u64 offset,
1113 int cow);
1114int btrfs_csum_truncate(struct btrfs_trans_handle *trans,
1115 struct btrfs_root *root, struct btrfs_path *path,
1116 u64 isize);
1117/* inode.c */
351};
352/*
353 * in ram representation of the tree. extent_root is used for all allocations
354 * and for the extent tree extent_root root.
355 */
356struct btrfs_root {
357 struct extent_buffer *node;
358 struct extent_buffer *commit_root;

--- 753 unchanged lines hidden (view full) ---

1112 struct btrfs_root *root,
1113 struct btrfs_path *path,
1114 u64 objectid, u64 offset,
1115 int cow);
1116int btrfs_csum_truncate(struct btrfs_trans_handle *trans,
1117 struct btrfs_root *root, struct btrfs_path *path,
1118 u64 isize);
1119/* inode.c */
1120int btrfs_check_free_space(struct btrfs_root *root, u64 num_required,
1121 int for_del);
1118int btrfs_page_mkwrite(struct vm_area_struct *vma, struct page *page);
1119int btrfs_readpage(struct file *file, struct page *page);
1120void btrfs_delete_inode(struct inode *inode);
1121void btrfs_read_locked_inode(struct inode *inode);
1122int btrfs_write_inode(struct inode *inode, int wait);
1123void btrfs_dirty_inode(struct inode *inode);
1124struct inode *btrfs_alloc_inode(struct super_block *sb);
1125void btrfs_destroy_inode(struct inode *inode);

--- 36 unchanged lines hidden ---
1122int btrfs_page_mkwrite(struct vm_area_struct *vma, struct page *page);
1123int btrfs_readpage(struct file *file, struct page *page);
1124void btrfs_delete_inode(struct inode *inode);
1125void btrfs_read_locked_inode(struct inode *inode);
1126int btrfs_write_inode(struct inode *inode, int wait);
1127void btrfs_dirty_inode(struct inode *inode);
1128struct inode *btrfs_alloc_inode(struct super_block *sb);
1129void btrfs_destroy_inode(struct inode *inode);

--- 36 unchanged lines hidden ---