Lines Matching refs:le_ih
932 struct item_head *le_ih, in prepare_for_direct_item() argument
940 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item()
947 if (round_len < le_ih_k_offset(le_ih)) { in prepare_for_direct_item()
948 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item()
952 pos_in_item(path) = round_len - (le_ih_k_offset(le_ih) - 1); in prepare_for_direct_item()
953 *cut_size = -(ih_item_len(le_ih) - pos_in_item(path)); in prepare_for_direct_item()
960 if (new_file_length < le_ih_k_offset(le_ih)) { in prepare_for_direct_item()
961 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item()
966 *cut_size = -(ih_item_len(le_ih) - in prepare_for_direct_item()
968 new_file_length + 1 - le_ih_k_offset(le_ih))); in prepare_for_direct_item()
973 struct item_head *le_ih, in prepare_for_direntry_item() argument
978 if (le_ih_k_offset(le_ih) == DOT_OFFSET && in prepare_for_direntry_item()
980 RFALSE(ih_entry_count(le_ih) != 2, in prepare_for_direntry_item()
981 "PAP-5220: incorrect empty directory item (%h)", le_ih); in prepare_for_direntry_item()
982 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direntry_item()
987 if (ih_entry_count(le_ih) == 1) { in prepare_for_direntry_item()
992 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direntry_item()
999 entry_length(get_last_bh(path), le_ih, pos_in_item(path))); in prepare_for_direntry_item()
1789 struct item_head *le_ih = in reiserfs_cut_from_item() local
1796 if (!is_indirect_le_ih(le_ih)) in reiserfs_cut_from_item()
1798 "item must be indirect %h", le_ih); in reiserfs_cut_from_item()
1800 if (mode == M_DELETE && ih_item_len(le_ih) != UNFM_P_SIZE) in reiserfs_cut_from_item()
1804 "4 byte long", le_ih); in reiserfs_cut_from_item()
1811 le_ih, s_cut_balance.insert_size[0]); in reiserfs_cut_from_item()