Lines Matching defs:blocksize
436 static int is_leaf(char *buf, int blocksize, struct buffer_head *bh)
453 if (nr < 1 || nr > ((blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN))) {
459 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih));
460 if (used_space != blocksize - blkh_free_space(blkh)) {
470 prev_location = blocksize;
478 if (ih_location(ih) >= blocksize
486 || ih_item_len(ih) > MAX_ITEM_LEN(blocksize)) {
506 static int is_internal(char *buf, int blocksize, struct buffer_head *bh)
522 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) {
531 if (used_space != blocksize - blkh_free_space(blkh)) {