Home
last modified time | relevance | path

Searched refs:pos_in_item (Results 1 – 10 of 10) sorted by relevance

/linux-3.4.99/fs/reiserfs/
Ddo_balan.c105 int pos_in_item = tb->tb_path->pos_in_item; in balance_leaf_when_delete() local
155 leaf_cut_from_buffer(&bi, item_pos, pos_in_item, in balance_leaf_when_delete()
158 RFALSE(!item_pos && !pos_in_item && !tb->CFL[0], in balance_leaf_when_delete()
162 if (!item_pos && !pos_in_item && tb->CFL[0]) { in balance_leaf_when_delete()
167 leaf_cut_from_buffer(&bi, item_pos, pos_in_item, in balance_leaf_when_delete()
298 int pos_in_item; in balance_leaf() local
311 pos_in_item = tb->tb_path->pos_in_item; in balance_leaf()
316 pos_in_item *= UNFM_P_SIZE; in balance_leaf()
411 if (tb->lbytes > pos_in_item) { in balance_leaf()
416 pos_in_item; in balance_leaf()
[all …]
Dstree.c840 pos_in_item(search_path) = 0; in search_for_position_by_key()
864 pos_in_item(search_path) = offset - item_offset; in search_for_position_by_key()
866 pos_in_item(search_path) /= blk_size; in search_for_position_by_key()
874 pos_in_item(search_path) = in search_for_position_by_key()
877 pos_in_item(search_path) = ih_item_len(p_le_ih); in search_for_position_by_key()
932 pos_in_item(path) = round_len - (le_ih_k_offset(le_ih) - 1); in prepare_for_direct_item()
933 *cut_size = -(ih_item_len(le_ih) - pos_in_item(path)); in prepare_for_direct_item()
946 (pos_in_item(path) = in prepare_for_direct_item()
975 entry_length(get_last_bh(path), le_ih, pos_in_item(path))); in prepare_for_direntry_item()
1087 pos_in_item(path) = pos * UNFM_P_SIZE; in prepare_for_delete_or_cut()
[all …]
Dinode.c189 __le32 * item, int pos_in_item) in allocation_needed() argument
194 get_block_num(item, pos_in_item)) in allocation_needed()
301 blocknr = get_block_num(ind_item, path.pos_in_item); in _get_block_create_0()
305 if (path.pos_in_item == in _get_block_create_0()
372 if ((le_ih_k_offset(ih) + path.pos_in_item) > inode->i_size) in _get_block_create_0()
377 path.pos_in_item; in _get_block_create_0()
380 chars = ih_item_len(ih) - path.pos_in_item; in _get_block_create_0()
382 memcpy(p, B_I_PITEM(bh, ih) + path.pos_in_item, chars); in _get_block_create_0()
605 int pos_in_item; in reiserfs_get_block() local
686 pos_in_item = path.pos_in_item; in reiserfs_get_block()
[all …]
Dlbalance.c873 int pos_in_item, int paste_size, in leaf_paste_in_buffer() argument
922 if (!pos_in_item) { in leaf_paste_in_buffer()
1033 int pos_in_item, int cut_size) in leaf_cut_from_buffer() argument
1050 cut_size = leaf_cut_entries(bh, ih, pos_in_item, cut_size); in leaf_cut_from_buffer()
1051 if (pos_in_item == 0) { in leaf_cut_from_buffer()
1063 RFALSE(pos_in_item && pos_in_item + cut_size != ih_item_len(ih), in leaf_cut_from_buffer()
1065 (long unsigned)pos_in_item, (long unsigned)cut_size, in leaf_cut_from_buffer()
1069 if (pos_in_item == 0) { in leaf_cut_from_buffer()
1105 if (pos_in_item) in leaf_cut_from_buffer()
Dbitmap.c808 int pos_in_item; in get_left_neighbor() local
820 pos_in_item = path->pos_in_item; in get_left_neighbor()
828 if (pos_in_item == I_UNFM_NUM(ih)) in get_left_neighbor()
829 pos_in_item--; in get_left_neighbor()
831 while (pos_in_item >= 0) { in get_left_neighbor()
832 int t = get_block_num(item, pos_in_item); in get_left_neighbor()
838 pos_in_item--; in get_left_neighbor()
Ditem_ops.c444 int pos_in_item, int mode) in old_entry_num() argument
453 if (virtual_entry_num < pos_in_item) in old_entry_num()
Dreiserfs.h1739 const struct item_head *ih, int pos_in_item) in entry_length() argument
1743 deh = B_I_DEH(bh, ih) + pos_in_item; in entry_length()
1744 if (pos_in_item) in entry_length()
1892 int pos_in_item; member
1895 #define pos_in_item(path) ((path)->pos_in_item) macro
2768 int pos_in_item, int paste_size, const char *body,
2771 int pos_in_item, int cut_size);
Dfix_node.c1869 int pos_in_item, in check_balance() argument
1878 vn->vn_pos_in_item = pos_in_item; in check_balance()
2334 int pos_in_item; in fix_nodes() local
2344 pos_in_item = tb->tb_path->pos_in_item; in fix_nodes()
2419 pos_in_item, ins_ih, data); in fix_nodes()
Dprints.c629 tb->tb_path->pos_in_item); in store_print_tb()
Dnamei.c158 path->pos_in_item = de->de_entry_num; in search_by_entry_key()
312 path_to_entry->pos_in_item = de->de_entry_num; in reiserfs_find_entry()