Lines Matching refs:insert_index
1596 int i, insert_index, next_free, has_empty, num_bytes; in ocfs2_rotate_leaf() local
1633 insert_index = i; in ocfs2_rotate_leaf()
1635 trace_ocfs2_rotate_leaf(insert_cpos, insert_index, in ocfs2_rotate_leaf()
1639 BUG_ON(insert_index < 0); in ocfs2_rotate_leaf()
1640 BUG_ON(insert_index >= le16_to_cpu(el->l_count)); in ocfs2_rotate_leaf()
1641 BUG_ON(insert_index > next_free); in ocfs2_rotate_leaf()
1646 if (insert_index != next_free) { in ocfs2_rotate_leaf()
1649 num_bytes = next_free - insert_index; in ocfs2_rotate_leaf()
1651 memmove(&el->l_recs[insert_index + 1], in ocfs2_rotate_leaf()
1652 &el->l_recs[insert_index], in ocfs2_rotate_leaf()
1668 el->l_recs[insert_index] = *insert_rec; in ocfs2_rotate_leaf()