Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
bnode.c File Reference
#include <linux/pagemap.h>
#include <linux/slab.h>
#include <linux/swap.h>
#include "btree.h"

Go to the source code of this file.

Functions

void hfs_bnode_read (struct hfs_bnode *node, void *buf, int off, int len)
 
u16 hfs_bnode_read_u16 (struct hfs_bnode *node, int off)
 
u8 hfs_bnode_read_u8 (struct hfs_bnode *node, int off)
 
void hfs_bnode_read_key (struct hfs_bnode *node, void *key, int off)
 
void hfs_bnode_write (struct hfs_bnode *node, void *buf, int off, int len)
 
void hfs_bnode_write_u16 (struct hfs_bnode *node, int off, u16 data)
 
void hfs_bnode_write_u8 (struct hfs_bnode *node, int off, u8 data)
 
void hfs_bnode_clear (struct hfs_bnode *node, int off, int len)
 
void hfs_bnode_copy (struct hfs_bnode *dst_node, int dst, struct hfs_bnode *src_node, int src, int len)
 
void hfs_bnode_move (struct hfs_bnode *node, int dst, int src, int len)
 
void hfs_bnode_dump (struct hfs_bnode *node)
 
void hfs_bnode_unlink (struct hfs_bnode *node)
 
struct hfs_bnodehfs_bnode_findhash (struct hfs_btree *tree, u32 cnid)
 
void hfs_bnode_unhash (struct hfs_bnode *node)
 
struct hfs_bnodehfs_bnode_find (struct hfs_btree *tree, u32 num)
 
void hfs_bnode_free (struct hfs_bnode *node)
 
struct hfs_bnodehfs_bnode_create (struct hfs_btree *tree, u32 num)
 
void hfs_bnode_get (struct hfs_bnode *node)
 
void hfs_bnode_put (struct hfs_bnode *node)
 

Function Documentation

void hfs_bnode_clear ( struct hfs_bnode node,
int  off,
int  len 
)

Definition at line 85 of file bnode.c.

void hfs_bnode_copy ( struct hfs_bnode dst_node,
int  dst,
struct hfs_bnode src_node,
int  src,
int  len 
)

Definition at line 97 of file bnode.c.

struct hfs_bnode* hfs_bnode_create ( struct hfs_btree tree,
u32  num 
)
read

Definition at line 408 of file bnode.c.

void hfs_bnode_dump ( struct hfs_bnode node)

Definition at line 135 of file bnode.c.

struct hfs_bnode* hfs_bnode_find ( struct hfs_btree tree,
u32  num 
)
read

Definition at line 315 of file bnode.c.

struct hfs_bnode* hfs_bnode_findhash ( struct hfs_btree tree,
u32  cnid 
)
read

Definition at line 218 of file bnode.c.

void hfs_bnode_free ( struct hfs_bnode node)

Definition at line 398 of file bnode.c.

void hfs_bnode_get ( struct hfs_bnode node)

Definition at line 442 of file bnode.c.

void hfs_bnode_move ( struct hfs_bnode node,
int  dst,
int  src,
int  len 
)

Definition at line 118 of file bnode.c.

void hfs_bnode_put ( struct hfs_bnode node)

Definition at line 452 of file bnode.c.

void hfs_bnode_read ( struct hfs_bnode node,
void buf,
int  off,
int  len 
)

Definition at line 17 of file bnode.c.

void hfs_bnode_read_key ( struct hfs_bnode node,
void key,
int  off 
)

Definition at line 45 of file bnode.c.

u16 hfs_bnode_read_u16 ( struct hfs_bnode node,
int  off 
)

Definition at line 29 of file bnode.c.

u8 hfs_bnode_read_u8 ( struct hfs_bnode node,
int  off 
)

Definition at line 37 of file bnode.c.

void hfs_bnode_unhash ( struct hfs_bnode node)

Definition at line 300 of file bnode.c.

void hfs_bnode_unlink ( struct hfs_bnode node)

Definition at line 171 of file bnode.c.

void hfs_bnode_write ( struct hfs_bnode node,
void buf,
int  off,
int  len 
)

Definition at line 60 of file bnode.c.

void hfs_bnode_write_u16 ( struct hfs_bnode node,
int  off,
u16  data 
)

Definition at line 72 of file bnode.c.

void hfs_bnode_write_u8 ( struct hfs_bnode node,
int  off,
u8  data 
)

Definition at line 79 of file bnode.c.