Lines Matching refs:le_ih
960 struct item_head *le_ih, in prepare_for_direct_item() argument
968 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item()
975 if (round_len < le_ih_k_offset(le_ih)) { in prepare_for_direct_item()
976 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item()
980 pos_in_item(path) = round_len - (le_ih_k_offset(le_ih) - 1); in prepare_for_direct_item()
981 *cut_size = -(ih_item_len(le_ih) - pos_in_item(path)); in prepare_for_direct_item()
988 if (new_file_length < le_ih_k_offset(le_ih)) { in prepare_for_direct_item()
989 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direct_item()
994 *cut_size = -(ih_item_len(le_ih) - in prepare_for_direct_item()
996 new_file_length + 1 - le_ih_k_offset(le_ih))); in prepare_for_direct_item()
1001 struct item_head *le_ih, in prepare_for_direntry_item() argument
1006 if (le_ih_k_offset(le_ih) == DOT_OFFSET && in prepare_for_direntry_item()
1008 RFALSE(ih_entry_count(le_ih) != 2, in prepare_for_direntry_item()
1009 "PAP-5220: incorrect empty directory item (%h)", le_ih); in prepare_for_direntry_item()
1010 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direntry_item()
1015 if (ih_entry_count(le_ih) == 1) { in prepare_for_direntry_item()
1020 *cut_size = -(IH_SIZE + ih_item_len(le_ih)); in prepare_for_direntry_item()
1027 entry_length(get_last_bh(path), le_ih, pos_in_item(path))); in prepare_for_direntry_item()
1817 struct item_head *le_ih = in reiserfs_cut_from_item() local
1824 if (!is_indirect_le_ih(le_ih)) in reiserfs_cut_from_item()
1826 "item must be indirect %h", le_ih); in reiserfs_cut_from_item()
1828 if (mode == M_DELETE && ih_item_len(le_ih) != UNFM_P_SIZE) in reiserfs_cut_from_item()
1832 "4 byte long", le_ih); in reiserfs_cut_from_item()
1839 le_ih, s_cut_balance.insert_size[0]); in reiserfs_cut_from_item()