Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | btrfs_ordered_inode_tree |
struct | btrfs_sector_sum |
struct | btrfs_ordered_sum |
struct | btrfs_ordered_extent |
Macros | |
#define | BTRFS_ORDERED_IO_DONE 0 /* set when all the pages are written */ |
#define | BTRFS_ORDERED_COMPLETE 1 /* set when removed from the tree */ |
#define | BTRFS_ORDERED_NOCOW 2 /* set when we want to write in place */ |
#define | BTRFS_ORDERED_COMPRESSED 3 /* writing a zlib compressed extent */ |
#define | BTRFS_ORDERED_PREALLOC 4 /* set when writing to prealloced extent */ |
#define | BTRFS_ORDERED_DIRECT 5 /* set when we're doing DIO with this extent */ |
#define | BTRFS_ORDERED_IOERR 6 /* We had an io error when writing this out */ |
#define | BTRFS_ORDERED_UPDATED_ISIZE |
Definition at line 67 of file ordered-data.h.
Definition at line 71 of file ordered-data.h.
Definition at line 75 of file ordered-data.h.
Definition at line 65 of file ordered-data.h.
Definition at line 77 of file ordered-data.h.
Definition at line 69 of file ordered-data.h.
Definition at line 73 of file ordered-data.h.
#define BTRFS_ORDERED_UPDATED_ISIZE |
Definition at line 79 of file ordered-data.h.
int btrfs_add_ordered_extent | ( | struct inode * | inode, |
u64 | file_offset, | ||
u64 | start, | ||
u64 | len, | ||
u64 | disk_len, | ||
int | type | ||
) |
Definition at line 232 of file ordered-data.c.
int btrfs_add_ordered_extent_compress | ( | struct inode * | inode, |
u64 | file_offset, | ||
u64 | start, | ||
u64 | len, | ||
u64 | disk_len, | ||
int | type, | ||
int | compress_type | ||
) |
Definition at line 248 of file ordered-data.c.
int btrfs_add_ordered_extent_dio | ( | struct inode * | inode, |
u64 | file_offset, | ||
u64 | start, | ||
u64 | len, | ||
u64 | disk_len, | ||
int | type | ||
) |
Definition at line 240 of file ordered-data.c.
void btrfs_add_ordered_operation | ( | struct btrfs_trans_handle * | trans, |
struct btrfs_root * | root, | ||
struct inode * | inode | ||
) |
Definition at line 923 of file ordered-data.c.
void btrfs_add_ordered_sum | ( | struct inode * | inode, |
struct btrfs_ordered_extent * | entry, | ||
struct btrfs_ordered_sum * | sum | ||
) |
Definition at line 262 of file ordered-data.c.
int btrfs_dec_test_first_ordered_pending | ( | struct inode * | inode, |
struct btrfs_ordered_extent ** | cached, | ||
u64 * | file_offset, | ||
u64 | io_size, | ||
int | uptodate | ||
) |
Definition at line 286 of file ordered-data.c.
int btrfs_dec_test_ordered_pending | ( | struct inode * | inode, |
struct btrfs_ordered_extent ** | cached, | ||
u64 | file_offset, | ||
u64 | io_size, | ||
int | uptodate | ||
) |
Definition at line 354 of file ordered-data.c.
Definition at line 874 of file ordered-data.c.
|
read |
Definition at line 741 of file ordered-data.c.
|
read |
Definition at line 672 of file ordered-data.c.
|
read |
Definition at line 698 of file ordered-data.c.
int btrfs_ordered_update_i_size | ( | struct inode * | inode, |
u64 | offset, | ||
struct btrfs_ordered_extent * | ordered | ||
) |
Definition at line 764 of file ordered-data.c.
void btrfs_put_ordered_extent | ( | struct btrfs_ordered_extent * | entry | ) |
Definition at line 410 of file ordered-data.c.
void btrfs_remove_ordered_extent | ( | struct inode * | inode, |
struct btrfs_ordered_extent * | entry | ||
) |
Definition at line 434 of file ordered-data.c.
void btrfs_run_ordered_operations | ( | struct btrfs_root * | root, |
int | wait | ||
) |
Definition at line 522 of file ordered-data.c.
void btrfs_start_ordered_extent | ( | struct inode * | inode, |
struct btrfs_ordered_extent * | entry, | ||
int | wait | ||
) |
Definition at line 579 of file ordered-data.c.
void btrfs_wait_ordered_extents | ( | struct btrfs_root * | root, |
int | delay_iput | ||
) |
Definition at line 471 of file ordered-data.c.
Definition at line 604 of file ordered-data.c.
Definition at line 965 of file ordered-data.c.
Definition at line 954 of file ordered-data.c.