Lines Matching defs:body
288 const char * const body)
313 leaf_insert_into_buf(&bi, n + tb->item_pos - ret, ih, body,
317 * Calculate key component, item length and body to
343 leaf_insert_into_buf(&bi, n + tb->item_pos - ret, ih, body,
353 const char * const body)
382 body, tb->zeroes_num);
397 (struct reiserfs_de_head *) body,
398 body + DEH_SIZE, tb->insert_size[0]);
409 /* Calculate new position to append in item body */
415 const char * const body)
423 balance_leaf_paste_left_shift_dirent(tb, ih, body);
463 /* Append to body of item in L[0] */
466 ih_item_len(tbL0_ih), l_n, body,
494 * Calculate new body, position in item and
534 const char * const body)
562 /* Append to body of item in L[0] */
565 tb->insert_size[0], body, tb->zeroes_num);
572 (struct reiserfs_de_head *)body,
573 body + DEH_SIZE, tb->insert_size[0]);
588 const char * const body)
592 return balance_leaf_paste_left_shift(tb, ih, body);
594 balance_leaf_paste_left_whole(tb, ih, body);
601 const char * const body, int flag)
611 return balance_leaf_insert_left(tb, ih, body);
613 return balance_leaf_paste_left(tb, ih, body);
623 const char * const body)
666 r_body = body + (old_len - tb->rbytes) - tb->zeroes_num;
668 r_body = body;
697 ih, body, tb->zeroes_num);
709 const char * const body)
739 tb->insert_size[0], body, tb->zeroes_num);
743 (struct reiserfs_de_head *) body,
744 body + DEH_SIZE, tb->insert_size[0]);
760 const char * const body)
770 balance_leaf_paste_right_shift_dirent(tb, ih, body);
792 * Calculate number of bytes which must remain in body
814 /* Append part of body into R[0] */
818 r_body = body + n_rem - tb->zeroes_num;
820 r_body = body;
838 const char * const body)
852 tb->pos_in_item, tb->insert_size[0], body,
861 (struct reiserfs_de_head *)body,
862 body + DEH_SIZE, tb->insert_size[0]);
882 const char * const body)
897 balance_leaf_paste_right_shift(tb, ih, body);
900 balance_leaf_paste_right_whole(tb, ih, body);
906 const char * const body, int flag)
914 balance_leaf_insert_right(tb, ih, body);
916 balance_leaf_paste_right(tb, ih, body);
921 const char * const body,
971 r_body = body + (old_len - tb->sbytes[i]) -
974 r_body = body;
1002 ih, body, tb->zeroes_num);
1011 const char * const body,
1046 body, tb->zeroes_num);
1051 (struct reiserfs_de_head *) body,
1052 body + DEH_SIZE, tb->insert_size[0]);
1066 const char * const body,
1081 balance_leaf_new_nodes_paste_dirent(tb, ih, body, insert_key,
1103 * Calculate number of bytes which must remain in body after
1110 /* Append part of body into S_new[0] */
1114 r_body = body + n_rem - tb->zeroes_num;
1116 r_body = body;
1139 const char * const body,
1173 body, tb->zeroes_num);
1180 (struct reiserfs_de_head *)body,
1181 body + DEH_SIZE, tb->insert_size[0]);
1192 const char * const body,
1211 balance_leaf_new_nodes_paste_shift(tb, ih, body, insert_key,
1215 balance_leaf_new_nodes_paste_whole(tb, ih, body, insert_key,
1222 const char * const body,
1243 balance_leaf_new_nodes_insert(tb, ih, body, insert_key,
1246 balance_leaf_new_nodes_paste(tb, ih, body, insert_key,
1262 const char * const body)
1267 leaf_insert_into_buf(&bi, tb->item_pos, ih, body, tb->zeroes_num);
1279 const char * const body)
1292 tb->insert_size[0], body, tb->zeroes_num);
1296 (struct reiserfs_de_head *)body,
1297 body + DEH_SIZE, tb->insert_size[0]);
1313 const char * const body)
1321 balance_leaf_finish_node_paste_dirent(tb, ih, body);
1333 tb->pos_in_item, tb->insert_size[0], body,
1357 const char * const body, int flag)
1362 balance_leaf_finish_node_insert(tb, ih, body);
1364 balance_leaf_finish_node_paste(tb, ih, body);
1372 * @body: body of inserted item or bytes to paste
1383 const char *body, int flag,
1398 if (flag == M_INSERT && !body)
1409 body += balance_leaf_left(tb, ih, body, flag);
1415 balance_leaf_right(tb, ih, body, flag);
1450 balance_leaf_new_nodes(tb, ih, body, insert_key, insert_ptr, flag);
1452 balance_leaf_finish_node(tb, ih, body, flag);
1834 * @body: body of inserted item or bytes to paste
1848 const char *body, int flag)
1888 balance_leaf(tb, ih, body, flag, insert_key, insert_ptr);