Lines Matching refs:cpy_num
300 int last_first, int cpy_num) in internal_copy_pointers_items() argument
320 RFALSE(nr_src < cpy_num - 1, in internal_copy_pointers_items()
321 "no so many items (%d) in src (%d)", cpy_num, nr_src); in internal_copy_pointers_items()
322 RFALSE(cpy_num < 0, "cpy_num less than 0 (%d)", cpy_num); in internal_copy_pointers_items()
323 RFALSE(cpy_num - 1 + B_NR_ITEMS(dest) > (int)MAX_NR_KEY(dest), in internal_copy_pointers_items()
325 cpy_num, B_NR_ITEMS(dest), MAX_NR_KEY(dest)); in internal_copy_pointers_items()
327 if (cpy_num == 0) in internal_copy_pointers_items()
337 nr_src - cpy_num + 1) : (dest_order = in internal_copy_pointers_items()
345 memmove(dc + cpy_num, dc, (nr_dest - dest_order) * DC_SIZE); in internal_copy_pointers_items()
348 memcpy(dc, B_N_CHILD(src, src_order), DC_SIZE * cpy_num); in internal_copy_pointers_items()
352 memmove(key + cpy_num - 1, key, in internal_copy_pointers_items()
354 cpy_num)); in internal_copy_pointers_items()
357 memcpy(key, internal_key(src, src_order), KEY_SIZE * (cpy_num - 1)); in internal_copy_pointers_items()
360 set_blkh_nr_item(blkh, blkh_nr_item(blkh) + (cpy_num - 1)); in internal_copy_pointers_items()
362 blkh_free_space(blkh) - (KEY_SIZE * (cpy_num - 1) + in internal_copy_pointers_items()
363 DC_SIZE * cpy_num)); in internal_copy_pointers_items()
375 dc_size(t_dc) + (KEY_SIZE * (cpy_num - 1) + in internal_copy_pointers_items()
376 DC_SIZE * cpy_num)); in internal_copy_pointers_items()
396 int last_first, int cpy_num, in internal_move_pointers_items() argument
403 cpy_num); in internal_move_pointers_items()
413 first_item, cpy_num - del_par); in internal_move_pointers_items()
417 i = (cpy_num - del_par == in internal_move_pointers_items()
419 B_NR_ITEMS(src_bi->bi_bh)) + 1) ? 0 : j - cpy_num + in internal_move_pointers_items()
423 j + 1 - cpy_num + del_par, i, in internal_move_pointers_items()
424 cpy_num - del_par); in internal_move_pointers_items()