Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tree-log.h File Reference

Go to the source code of this file.

Macros

#define BTRFS_NO_LOG_SYNC   256
 

Functions

int btrfs_sync_log (struct btrfs_trans_handle *trans, struct btrfs_root *root)
 
int btrfs_free_log (struct btrfs_trans_handle *trans, struct btrfs_root *root)
 
int btrfs_free_log_root_tree (struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info)
 
int btrfs_recover_log_trees (struct btrfs_root *tree_root)
 
int btrfs_log_dentry_safe (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct dentry *dentry)
 
int btrfs_del_dir_entries_in_log (struct btrfs_trans_handle *trans, struct btrfs_root *root, const char *name, int name_len, struct inode *dir, u64 index)
 
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)
 
void 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, struct btrfs_root *root, struct inode *inode, struct dentry *parent, int exists_only)
 
void btrfs_record_unlink_dir (struct btrfs_trans_handle *trans, struct inode *dir, struct inode *inode, int for_rename)
 
int btrfs_log_new_name (struct btrfs_trans_handle *trans, struct inode *inode, struct inode *old_dir, struct dentry *parent)
 

Macro Definition Documentation

#define BTRFS_NO_LOG_SYNC   256

Definition at line 23 of file tree-log.h.

Function Documentation

int btrfs_del_dir_entries_in_log ( struct btrfs_trans_handle trans,
struct btrfs_root root,
const char name,
int  name_len,
struct inode dir,
u64  index 
)

Definition at line 2526 of file tree-log.c.

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 
)

Definition at line 2628 of file tree-log.c.

void btrfs_end_log_trans ( struct btrfs_root root)

Definition at line 218 of file tree-log.c.

int btrfs_free_log ( struct btrfs_trans_handle trans,
struct btrfs_root root 
)

Definition at line 2486 of file tree-log.c.

int btrfs_free_log_root_tree ( struct btrfs_trans_handle trans,
struct btrfs_fs_info fs_info 
)

Definition at line 2495 of file tree-log.c.

int btrfs_log_dentry_safe ( struct btrfs_trans_handle trans,
struct btrfs_root root,
struct dentry dentry 
)

Definition at line 3731 of file tree-log.c.

int btrfs_log_inode_parent ( struct btrfs_trans_handle trans,
struct btrfs_root root,
struct inode inode,
struct dentry parent,
int  exists_only 
)

Definition at line 3630 of file tree-log.c.

int btrfs_log_new_name ( struct btrfs_trans_handle trans,
struct inode inode,
struct inode old_dir,
struct dentry parent 
)

Definition at line 3945 of file tree-log.c.

int btrfs_pin_log_trans ( struct btrfs_root root)

Definition at line 204 of file tree-log.c.

void btrfs_record_unlink_dir ( struct btrfs_trans_handle trans,
struct inode dir,
struct inode inode,
int  for_rename 
)

Definition at line 3889 of file tree-log.c.

int btrfs_recover_log_trees ( struct btrfs_root tree_root)

Definition at line 3747 of file tree-log.c.

int btrfs_sync_log ( struct btrfs_trans_handle trans,
struct btrfs_root root 
)

Definition at line 2272 of file tree-log.c.