Lines Matching defs:nr
403 int nr;
412 nr = blkh_nr_item(blkh);
413 if (nr < 1 || nr > ((blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN))) {
419 ih = (struct item_head *)(buf + BLKH_SIZE) + nr - 1;
420 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih));
432 for (i = 0; i < nr; i++, ih++) {
440 || ih_location(ih) < IH_SIZE * nr) {
470 int nr;
474 nr = blkh_level(blkh);
475 if (nr <= DISK_LEAF_NODE_LEVEL || nr > MAX_HEIGHT) {
482 nr = blkh_nr_item(blkh);
483 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) {
490 used_space = BLKH_SIZE + KEY_SIZE * nr + DC_SIZE * (nr + 1);