Searched refs:move_count (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/krb5/src/ccapi/common/ |
H A D | cci_array_internal.c | 202 cc_uint64 move_count = io_array->count - in_position; in cci_array_insert() local 204 if (move_count > 0) { in cci_array_insert() 206 move_count * sizeof (*io_array->objects)); in cci_array_insert() 230 cc_uint64 move_count = io_array->count - in_position - 1; in cci_array_remove() local 233 if (move_count > 0) { in cci_array_remove() 235 move_count * sizeof (*io_array->objects)); in cci_array_remove() 269 cc_uint64 move_count = 0; in cci_array_move() local 277 move_count = in_new_position - in_position - 1; in cci_array_move() 284 move_count = in_position - in_new_position; in cci_array_move() 291 if (move_count > 0) { in cci_array_move() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | btree.c | 717 uint32_t move_count = MAX((BTREE_CORE_ELEMS / (tree->bt_bulk == NULL ? in zfs_btree_insert_into_parent() local 719 uint32_t keep_count = BTREE_CORE_ELEMS - move_count - 1; in zfs_btree_insert_into_parent() 720 ASSERT3U(BTREE_CORE_ELEMS - move_count, >=, 2); in zfs_btree_insert_into_parent() 727 new_par_hdr->bth_count = move_count; in zfs_btree_insert_into_parent() 732 bt_transfer_core(tree, parent, keep_count + 1, move_count, new_parent, in zfs_btree_insert_into_parent() 766 bt_shift_core_right(tree, new_parent, 0, move_count, in zfs_btree_insert_into_parent() 842 uint32_t move_count = MAX(capacity / (tree->bt_bulk ? 4 : 2), 1) - 1; in zfs_btree_insert_into_leaf() local 843 uint32_t keep_count = capacity - move_count - 1; in zfs_btree_insert_into_leaf() 848 move_count++; in zfs_btree_insert_into_leaf() 855 (idx >= keep_count && idx <= keep_count + move_count / 2); in zfs_btree_insert_into_leaf() [all …]
|