Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
inode-item.c File Reference
#include "ctree.h"
#include "disk-io.h"
#include "hash.h"
#include "transaction.h"
#include "print-tree.h"

Go to the source code of this file.

Functions

int btrfs_find_name_in_ext_backref (struct btrfs_path *path, u64 ref_objectid, const char *name, int name_len, struct btrfs_inode_extref **extref_ret)
 
struct btrfs_inode_extrefbtrfs_lookup_inode_extref (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const char *name, int name_len, u64 inode_objectid, u64 ref_objectid, int ins_len, int cow)
 
int btrfs_get_inode_ref_index (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const char *name, int name_len, u64 inode_objectid, u64 ref_objectid, int mod, u64 *ret_index)
 
int btrfs_del_inode_extref (struct btrfs_trans_handle *trans, struct btrfs_root *root, const char *name, int name_len, u64 inode_objectid, u64 ref_objectid, u64 *index)
 
int btrfs_del_inode_ref (struct btrfs_trans_handle *trans, struct btrfs_root *root, const char *name, int name_len, u64 inode_objectid, u64 ref_objectid, u64 *index)
 
int btrfs_insert_inode_ref (struct btrfs_trans_handle *trans, struct btrfs_root *root, const char *name, int name_len, u64 inode_objectid, u64 ref_objectid, u64 index)
 
int btrfs_insert_empty_inode (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid)
 
int btrfs_lookup_inode (struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *location, int mod)
 

Function Documentation

int btrfs_del_inode_extref ( struct btrfs_trans_handle trans,
struct btrfs_root root,
const char name,
int  name_len,
u64  inode_objectid,
u64  ref_objectid,
u64 index 
)

Definition at line 186 of file inode-item.c.

int btrfs_del_inode_ref ( struct btrfs_trans_handle trans,
struct btrfs_root root,
const char name,
int  name_len,
u64  inode_objectid,
u64  ref_objectid,
u64 index 
)

Definition at line 257 of file inode-item.c.

int btrfs_find_name_in_ext_backref ( struct btrfs_path path,
u64  ref_objectid,
const char name,
int  name_len,
struct btrfs_inode_extref **  extref_ret 
)

Definition at line 54 of file inode-item.c.

int btrfs_get_inode_ref_index ( struct btrfs_trans_handle trans,
struct btrfs_root root,
struct btrfs_path path,
const char name,
int  name_len,
u64  inode_objectid,
u64  ref_objectid,
int  mod,
u64 ret_index 
)

Definition at line 147 of file inode-item.c.

int btrfs_insert_empty_inode ( struct btrfs_trans_handle trans,
struct btrfs_root root,
struct btrfs_path path,
u64  objectid 
)

Definition at line 460 of file inode-item.c.

int btrfs_insert_inode_ref ( struct btrfs_trans_handle trans,
struct btrfs_root root,
const char name,
int  name_len,
u64  inode_objectid,
u64  ref_objectid,
u64  index 
)

Definition at line 390 of file inode-item.c.

int btrfs_lookup_inode ( struct btrfs_trans_handle trans,
struct btrfs_root root,
struct btrfs_path path,
struct btrfs_key location,
int  mod 
)

Definition at line 475 of file inode-item.c.

struct btrfs_inode_extref* btrfs_lookup_inode_extref ( struct btrfs_trans_handle trans,
struct btrfs_root root,
struct btrfs_path path,
const char name,
int  name_len,
u64  inode_objectid,
u64  ref_objectid,
int  ins_len,
int  cow 
)
read

Definition at line 122 of file inode-item.c.