Searched refs:BLKH_SIZE (Results 1 - 4 of 4) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/
H A Dprints.c682 if (nr > (bh->b_size - BLKH_SIZE) / IH_SIZE)
686 if (blkh_free_space(blkh) > bh->b_size - BLKH_SIZE - IH_SIZE * nr)
703 if (B_NR_ITEMS(bh) > (bh->b_size - BLKH_SIZE) / IH_SIZE)
709 bh->b_size - BLKH_SIZE - KEY_SIZE * B_NR_ITEMS(bh) -
H A Dstree.c453 if (nr < 1 || nr > ((blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN))) {
458 ih = (struct item_head *)(buf + BLKH_SIZE) + nr - 1;
459 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih));
469 ih = (struct item_head *)(buf + BLKH_SIZE);
522 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) {
530 used_space = BLKH_SIZE + KEY_SIZE * nr + DC_SIZE * (nr + 1);
H A Dfix_node.c2028 max_num_of_items = (blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN);
2029 max_num_of_entries = (blocksize - BLKH_SIZE - IH_SIZE) /
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dreiserfs_fs.h678 #define MAX_ITEM_LEN(block_size) (block_size - BLKH_SIZE - IH_SIZE)
706 #define BLKH_SIZE (sizeof(struct block_head)) macro
1099 ((p_s_bh)->b_data+BLKH_SIZE+B_NR_ITEMS(p_s_bh)*KEY_SIZE+DC_SIZE*(n_pos)))
1107 #define MAX_CHILD_SIZE(bh) ((int)( (bh)->b_size - BLKH_SIZE ))
1488 #define B_N_PITEM_HEAD(bh,item_num) ( (struct item_head * )((bh)->b_data + BLKH_SIZE) + (item_num) )
1491 #define B_N_PDELIM_KEY(bh,item_num) ( (struct reiserfs_key * )((bh)->b_data + BLKH_SIZE) + (item_num) )
1509 #define MAX_DIRECT_ITEM_LEN(size) ((size) - BLKH_SIZE - 2*IH_SIZE - SD_SIZE - UNFM_P_SIZE)

Completed in 78 milliseconds