Home
last modified time | relevance | path

Searched refs:ih_item_len (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/fs/reiserfs/
Dlbalance.c46 ih_item_len(ih)) - in leaf_copy_dir_entries()
148 RFALSE(!ih_item_len(ih), in leaf_copy_boundary_item()
164 bytes_or_entries = ih_item_len(ih); in leaf_copy_boundary_item()
168 if (bytes_or_entries == ih_item_len(ih) in leaf_copy_boundary_item()
182 dest_nr_item - 1, ih_item_len(dih), in leaf_copy_boundary_item()
189 if (bytes_or_entries == ih_item_len(ih)) in leaf_copy_boundary_item()
231 bytes_or_entries = ih_item_len(ih); in leaf_copy_boundary_item()
245 RFALSE(ih_item_len(ih) <= bytes_or_entries, in leaf_copy_boundary_item()
247 (unsigned long)ih_item_len(ih), in leaf_copy_boundary_item()
274 ih) + ih_item_len(ih) - bytes_or_entries, in leaf_copy_boundary_item()
[all …]
Ddo_balan.c125 RFALSE(ih_item_len(ih) + IH_SIZE != -tb->insert_size[0], in balance_leaf_when_delete()
170 RFALSE(!ih_item_len(ih), in balance_leaf_when_delete()
309 zeros_num = ih_item_len(ih); in balance_leaf()
339 ih_item_len(ih) - tb->lbytes; in balance_leaf()
342 ih_item_len(ih) - in balance_leaf()
345 RFALSE(ih_item_len(ih) <= 0, in balance_leaf()
347 ih_item_len(ih)); in balance_leaf()
355 ih_item_len(ih) ? in balance_leaf()
356 ih_item_len(ih) : in balance_leaf()
380 RFALSE(ih_item_len(ih) <= 0, in balance_leaf()
[all …]
Dstree.c447 if (ih_item_len(ih) < 1 in is_leaf()
448 || ih_item_len(ih) > MAX_ITEM_LEN(blocksize)) { in is_leaf()
454 if (prev_location - ih_location(ih) != ih_item_len(ih)) { in is_leaf()
834 RFALSE(!ih_item_len in search_for_position_by_key()
875 ih_item_len(p_le_ih) / UNFM_P_SIZE; in search_for_position_by_key()
877 pos_in_item(search_path) = ih_item_len(p_le_ih); in search_for_position_by_key()
919 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item()
928 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item()
933 *cut_size = -(ih_item_len(le_ih) - pos_in_item(path)); in prepare_for_direct_item()
941 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item()
[all …]
Dtail_conversion.c102 + ih_item_len(p_le_ih) - 1; in direct2indirect()
206 le_ih_k_offset(&s_ih) - 1 + (ih_item_len(&s_ih) / UNFM_P_SIZE - in indirect2direct()
226 (ih_item_len(&s_ih) / UNFM_P_SIZE - in indirect2direct()
Ditem_ops.c125 return ih_item_len(ih); in direct_bytes_number()
149 while (j < ih_item_len(ih)) in direct_print_item()
220 return ih_item_len(ih) / UNFM_P_SIZE * block_size; //- get_ih_free_space (ih); in indirect_bytes_number()
282 if (ih_item_len(ih) % UNFM_P_SIZE) in indirect_print_item()
401 (i ? (deh_location(deh - 1)) : ih_item_len(ih)) - in direntry_print_item()
497 (j ? deh_location(&(deh[j - 1])) : ih_item_len(vi->vi_ih)) - in direntry_create_vi()
Dreiserfs.h1172 __le16 ih_item_len; /* total size of the item body */ member
1187 #define ih_item_len(ih) le16_to_cpu((ih)->ih_item_len) macro
1193 #define put_ih_item_len(ih, val) do { (ih)->ih_item_len = cpu_to_le16(val); } while (0)
1747 return ih_item_len(ih) - deh_location(deh); in entry_length()
2221 #define I_UNFM_NUM(ih) (ih_item_len(ih) / UNFM_P_SIZE)
Dinode.c306 ((ih_item_len(ih) / UNFM_P_SIZE) - 1)) { in _get_block_create_0()
374 if ((le_ih_k_offset(ih) - 1 + ih_item_len(ih)) > inode->i_size) { in _get_block_create_0()
380 chars = ih_item_len(ih) - path.pos_in_item; in _get_block_create_0()
924 RFALSE(pos_in_item != ih_item_len(ih) / UNFM_P_SIZE, in reiserfs_get_block()
2253 copy_size = ih_item_len(ih) - pos_in_item; in map_block_for_writepage()
Dprints.c120 ih_item_len(ih), ih_location(ih), ih_free_space(ih)); in sprintf_item_head()
Dfix_node.c129 vi->vi_item_len += ih_item_len(ih + j) + IH_SIZE; in create_virtual_node()