| H A D | reiserfs_fs.h | 1003 #define B_I_PITEM(bh,ih) ( (bh)->b_data + ih_location(ih) ) argument 1004 #define B_I_DEH(bh,ih) ((struct reiserfs_de_head *)(B_I_PITEM(bh,ih))) argument 1016 static __inline__ int entry_length(const struct buffer_head *bh, in entry_length() argument 1021 deh = B_I_DEH(bh, ih) + pos_in_item; in entry_length() 1032 #define B_I_E_NAME(bh,ih,entry_num) ((char *)(bh->b_data + ih_location(ih) + deh_location(B_I_DEH(b… argument 1061 #define B_I_DEH_ENTRY_FILE_NAME(bh,ih,deh) (B_I_PITEM (bh, ih) + deh_location(deh)) argument 1111 #define MAX_CHILD_SIZE(bh) ((int)( (bh)->b_size - BLKH_SIZE )) argument 1117 #define MAX_NR_KEY(bh) ( (MAX_CHILD_SIZE(bh)-DC_SIZE)/(KEY_SIZE+DC_SIZE) ) argument 1118 #define MIN_NR_KEY(bh) (MAX_NR_KEY(bh)/2) argument 1492 #define B_N_PITEM_HEAD(bh,item_num) ( (struct item_head * )((bh)->b_data + BLKH_SIZE) + (item_num) ) argument [all …]
|