Home
last modified time | relevance | path

Searched refs:insert_index (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/fs/ocfs2/
Docfs2_trace.h561 TP_PROTO(unsigned int insert_cpos, int insert_index,
564 TP_ARGS(insert_cpos, insert_index, has_empty,
568 __field(int, insert_index)
575 __entry->insert_index = insert_index;
581 __entry->insert_index, __entry->has_empty,
Dalloc.c1600 int i, insert_index, next_free, has_empty, num_bytes; in ocfs2_rotate_leaf() local
1637 insert_index = i; in ocfs2_rotate_leaf()
1639 trace_ocfs2_rotate_leaf(insert_cpos, insert_index, in ocfs2_rotate_leaf()
1643 BUG_ON(insert_index < 0); in ocfs2_rotate_leaf()
1644 BUG_ON(insert_index >= le16_to_cpu(el->l_count)); in ocfs2_rotate_leaf()
1645 BUG_ON(insert_index > next_free); in ocfs2_rotate_leaf()
1650 if (insert_index != next_free) { in ocfs2_rotate_leaf()
1653 num_bytes = next_free - insert_index; in ocfs2_rotate_leaf()
1655 memmove(&el->l_recs[insert_index + 1], in ocfs2_rotate_leaf()
1656 &el->l_recs[insert_index], in ocfs2_rotate_leaf()
[all …]