• Home
  • Raw
  • Download

Lines Matching refs:numrecs

1131 	__u16			numrecs,  in xfs_btree_init_block_int()  argument
1140 buf->bb_numrecs = cpu_to_be16(numrecs); in xfs_btree_init_block_int()
1173 __u16 numrecs, in xfs_btree_init_block() argument
1177 btnum, level, numrecs, owner, 0); in xfs_btree_init_block()
1185 int numrecs) in xfs_btree_init_block_cur() argument
1201 cur->bc_btnum, level, numrecs, in xfs_btree_init_block_cur()
1352 int numrecs) in xfs_btree_copy_recs() argument
1354 ASSERT(numrecs >= 0); in xfs_btree_copy_recs()
1355 memcpy(dst_rec, src_rec, numrecs * cur->bc_ops->rec_len); in xfs_btree_copy_recs()
1399 int numrecs) in xfs_btree_shift_recs() argument
1403 ASSERT(numrecs >= 0); in xfs_btree_shift_recs()
1407 memmove(dst_rec, rec, numrecs * cur->bc_ops->rec_len); in xfs_btree_shift_recs()
3143 int numrecs,/* # of recs in block */ in xfs_btree_make_block_unfull() argument
3157 if (numrecs < cur->bc_ops->get_dmaxrecs(cur, level)) { in xfs_btree_make_block_unfull()
3227 int numrecs;/* number of records */ in xfs_btree_insrec() local
3261 numrecs = xfs_btree_get_numrecs(block); in xfs_btree_insrec()
3269 if (ptr <= numrecs) { in xfs_btree_insrec()
3285 if (numrecs == cur->bc_ops->get_maxrecs(cur, level)) { in xfs_btree_insrec()
3286 error = xfs_btree_make_block_unfull(cur, level, numrecs, in xfs_btree_insrec()
3297 numrecs = xfs_btree_get_numrecs(block); in xfs_btree_insrec()
3309 XFS_BTREE_STATS_ADD(cur, moves, numrecs - ptr + 1); in xfs_btree_insrec()
3319 for (i = numrecs - ptr; i >= 0; i--) { in xfs_btree_insrec()
3325 xfs_btree_shift_keys(cur, kp, 1, numrecs - ptr + 1); in xfs_btree_insrec()
3326 xfs_btree_shift_ptrs(cur, pp, 1, numrecs - ptr + 1); in xfs_btree_insrec()
3335 numrecs++; in xfs_btree_insrec()
3336 xfs_btree_set_numrecs(block, numrecs); in xfs_btree_insrec()
3337 xfs_btree_log_ptrs(cur, bp, ptr, numrecs); in xfs_btree_insrec()
3338 xfs_btree_log_keys(cur, bp, ptr, numrecs); in xfs_btree_insrec()
3340 if (ptr < numrecs) { in xfs_btree_insrec()
3351 xfs_btree_shift_recs(cur, rp, 1, numrecs - ptr + 1); in xfs_btree_insrec()
3355 xfs_btree_set_numrecs(block, ++numrecs); in xfs_btree_insrec()
3356 xfs_btree_log_recs(cur, bp, ptr, numrecs); in xfs_btree_insrec()
3358 if (ptr < numrecs) { in xfs_btree_insrec()
3514 int numrecs; in xfs_btree_kill_iroot() local
3540 numrecs = xfs_btree_get_numrecs(cblock); in xfs_btree_kill_iroot()
3547 if (numrecs > cur->bc_ops->get_dmaxrecs(cur, level)) in xfs_btree_kill_iroot()
3559 index = numrecs - cur->bc_ops->get_maxrecs(cur, level); in xfs_btree_kill_iroot()
3571 xfs_btree_copy_keys(cur, kp, ckp, numrecs); in xfs_btree_kill_iroot()
3576 for (i = 0; i < numrecs; i++) { in xfs_btree_kill_iroot()
3582 xfs_btree_copy_ptrs(cur, pp, cpp, numrecs); in xfs_btree_kill_iroot()
3676 int numrecs; /* temporary numrec count */ in xfs_btree_delrec() local
3689 numrecs = xfs_btree_get_numrecs(block); in xfs_btree_delrec()
3698 if (ptr > numrecs) { in xfs_btree_delrec()
3704 XFS_BTREE_STATS_ADD(cur, moves, numrecs - ptr); in xfs_btree_delrec()
3715 for (i = 0; i < numrecs - ptr; i++) { in xfs_btree_delrec()
3721 if (ptr < numrecs) { in xfs_btree_delrec()
3722 xfs_btree_shift_keys(cur, lkp, -1, numrecs - ptr); in xfs_btree_delrec()
3723 xfs_btree_shift_ptrs(cur, lpp, -1, numrecs - ptr); in xfs_btree_delrec()
3724 xfs_btree_log_keys(cur, bp, ptr, numrecs - 1); in xfs_btree_delrec()
3725 xfs_btree_log_ptrs(cur, bp, ptr, numrecs - 1); in xfs_btree_delrec()
3729 if (ptr < numrecs) { in xfs_btree_delrec()
3732 -1, numrecs - ptr); in xfs_btree_delrec()
3733 xfs_btree_log_recs(cur, bp, ptr, numrecs - 1); in xfs_btree_delrec()
3740 xfs_btree_set_numrecs(block, --numrecs); in xfs_btree_delrec()
3778 if (numrecs == 1 && level > 0) { in xfs_btree_delrec()
3811 if (numrecs >= cur->bc_ops->get_minrecs(cur, level)) { in xfs_btree_delrec()