Lines Matching refs:flag
57 struct buffer_head *bh, int flag) in do_balance_mark_leaf_dirty() argument
239 static int balance_leaf_when_delete(struct tree_balance *tb, int flag) in balance_leaf_when_delete() argument
256 BUG_ON(flag != M_DELETE && flag != M_CUT); in balance_leaf_when_delete()
257 if (flag == M_DELETE) in balance_leaf_when_delete()
601 const char * const body, int flag) in balance_leaf_left() argument
608 BUG_ON(flag != M_INSERT && flag != M_PASTE); in balance_leaf_left()
610 if (flag == M_INSERT) in balance_leaf_left()
906 const char * const body, int flag) in balance_leaf_right() argument
911 BUG_ON(flag != M_INSERT && flag != M_PASTE); in balance_leaf_right()
913 if (flag == M_INSERT) in balance_leaf_right()
1225 int flag) in balance_leaf_new_nodes() argument
1229 BUG_ON(flag != M_INSERT && flag != M_PASTE); in balance_leaf_new_nodes()
1242 if (flag == M_INSERT) in balance_leaf_new_nodes()
1357 const char * const body, int flag) in balance_leaf_finish_node() argument
1361 if (flag == M_INSERT) in balance_leaf_finish_node()
1383 const char *body, int flag, in balance_leaf() argument
1393 return balance_leaf_when_delete(tb, flag); in balance_leaf()
1398 if (flag == M_INSERT && !body) in balance_leaf()
1405 if (flag != M_INSERT in balance_leaf()
1409 body += balance_leaf_left(tb, ih, body, flag); in balance_leaf()
1415 balance_leaf_right(tb, ih, body, flag); in balance_leaf()
1450 balance_leaf_new_nodes(tb, ih, body, insert_key, insert_ptr, flag); in balance_leaf()
1452 balance_leaf_finish_node(tb, ih, body, flag); in balance_leaf()
1455 if (flag == M_PASTE && tb->insert_size[0]) { in balance_leaf()
1848 const char *body, int flag) in do_balance() argument
1864 tb->tb_mode = flag; in do_balance()
1874 "insert_size == 0, mode == %c", flag); in do_balance()
1888 balance_leaf(tb, ih, body, flag, insert_key, insert_ptr); in do_balance()