Lines Matching refs:blocksize
396 static int is_leaf(char *buf, int blocksize, struct buffer_head *bh)
413 if (nr < 1 || nr > ((blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN))) {
420 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih));
421 if (used_space != blocksize - blkh_free_space(blkh)) {
431 prev_location = blocksize;
439 if (ih_location(ih) >= blocksize
447 || ih_item_len(ih) > MAX_ITEM_LEN(blocksize)) {
467 static int is_internal(char *buf, int blocksize, struct buffer_head *bh)
483 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) {
491 if (used_space != blocksize - blkh_free_space(blkh)) {