Lines Matching defs:bh
226 struct buffer_head *bh; /* real buffer head */ member
1682 #define B_BLK_HEAD(bh) ((struct block_head *)((bh)->b_data)) argument
1684 #define B_NR_ITEMS(bh) (blkh_nr_item(B_BLK_HEAD(bh))) argument
1685 #define B_LEVEL(bh) (blkh_level(B_BLK_HEAD(bh))) argument
1686 #define B_FREE_SPACE(bh) (blkh_free_space(B_BLK_HEAD(bh))) argument
1688 #define PUT_B_NR_ITEMS(bh, val) do { set_blkh_nr_item(B_BLK_HEAD(bh), val); } while (0) argument
1689 #define PUT_B_LEVEL(bh, val) do { set_blkh_level(B_BLK_HEAD(bh), val); } while (0) argument
1690 #define PUT_B_FREE_SPACE(bh, val) do { set_blkh_free_space(B_BLK_HEAD(bh), val); } while (0) argument
1693 #define B_PRIGHT_DELIM_KEY(bh) (&(blk_right_delim_key(B_BLK_HEAD(bh)))) argument
1696 #define B_IS_ITEMS_LEVEL(bh) (B_LEVEL(bh) == DISK_LEAF_NODE_LEVEL) argument
1699 #define B_IS_KEYS_LEVEL(bh) (B_LEVEL(bh) > DISK_LEAF_NODE_LEVEL \ argument
2004 #define B_I_DEH_ENTRY_FILE_NAME(bh, ih, deh) \ argument
2048 #define B_N_CHILD(bh, n_pos) ((struct disk_child *)\ argument
2052 #define B_N_CHILD_NUM(bh, n_pos) (dc_block_number(B_N_CHILD(bh, n_pos))) argument
2053 #define PUT_B_N_CHILD_NUM(bh, n_pos, val) \ argument
2058 #define MAX_CHILD_SIZE(bh) ((int)( (bh)->b_size - BLKH_SIZE )) argument
2064 #define MAX_NR_KEY(bh) ( (MAX_CHILD_SIZE(bh)-DC_SIZE)/(KEY_SIZE+DC_SIZE) ) argument
2065 #define MIN_NR_KEY(bh) (MAX_NR_KEY(bh)/2) argument
2182 static inline void *reiserfs_node_data(const struct buffer_head *bh) in reiserfs_node_data()
2188 static inline struct reiserfs_key *internal_key(struct buffer_head *bh, in internal_key()
2197 static inline struct item_head *item_head(const struct buffer_head *bh, in item_head()
2206 static inline struct reiserfs_key *leaf_key(const struct buffer_head *bh, in leaf_key()
2212 static inline void *ih_item_body(const struct buffer_head *bh, in ih_item_body()
2219 static inline void *item_body(const struct buffer_head *bh, int item_num) in item_body()
2241 #define B_I_DEH(bh, ih) ((struct reiserfs_de_head *)(ih_item_body(bh, ih))) argument
2251 static inline int entry_length(const struct buffer_head *bh, in entry_length()
2676 #define B_I_STAT_DATA(bh, ih) ( (struct stat_data * )((bh)->b_data + ih_location(ih)) ) argument
2686 #define B_I_POS_UNFM_POINTER(bh, ih, pos) \ argument
2688 #define PUT_B_I_POS_UNFM_POINTER(bh, ih, pos, val) \ argument
2700 #define get_journal_desc_magic(bh) (bh->b_data + bh->b_size - 12) argument
2877 struct buffer_head *bh; member
3127 #define PROC_INFO_BH_STAT( sb, bh, level ) \ argument
3157 #define PROC_INFO_BH_STAT(sb, bh, n_node_level) VOID_V argument