Lines Matching defs:blocksize
408 static int is_leaf(char *buf, int blocksize, struct buffer_head *bh)
425 if (nr < 1 || nr > ((blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN))) {
432 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih));
435 if (used_space != blocksize - blkh_free_space(blkh)) {
447 prev_location = blocksize;
455 if (ih_location(ih) >= blocksize
463 || ih_item_len(ih) > MAX_ITEM_LEN(blocksize)) {
492 static int is_internal(char *buf, int blocksize, struct buffer_head *bh)
509 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) {
516 if (used_space != blocksize - blkh_free_space(blkh)) {