Lines Matching defs:dest
1551 /* Replace n_dest'th key in buffer dest by n_src'th key of buffer src.*/
1552 void replace_key(struct tree_balance *tb, struct buffer_head *dest, int n_dest,
1556 RFALSE(dest == NULL || src == NULL,
1557 "vs-12305: source or destination buffer is 0 (src=%p, dest=%p)",
1558 src, dest);
1559 RFALSE(!B_IS_KEYS_LEVEL(dest),
1560 "vs-12310: invalid level (%z) for destination buffer. dest must be leaf",
1561 dest);
1563 "vs-12315: src(%d) or dest(%d) key number < 0", n_src, n_dest);
1564 RFALSE(n_dest >= B_NR_ITEMS(dest) || n_src >= B_NR_ITEMS(src),
1565 "vs-12320: src(%d(%d)) or dest(%d(%d)) key number is too big",
1566 n_src, B_NR_ITEMS(src), n_dest, B_NR_ITEMS(dest));
1570 memcpy(internal_key(dest, n_dest), item_head(src, n_src),
1573 memcpy(internal_key(dest, n_dest), internal_key(src, n_src),
1576 do_balance_mark_internal_dirty(tb, dest, 0);