Lines Matching refs:p_le_ih
860 struct item_head *p_le_ih; /* pointer to on-disk structure */ in search_for_position_by_key() local
893 p_le_ih = in search_for_position_by_key()
898 if (comp_short_keys(&p_le_ih->ih_key, p_cpu_key)) in search_for_position_by_key()
903 item_offset = le_ih_k_offset(p_le_ih); in search_for_position_by_key()
908 item_offset + op_bytes_number(p_le_ih, blk_size) > offset) { in search_for_position_by_key()
910 if (is_indirect_le_ih(p_le_ih)) { in search_for_position_by_key()
920 if (is_indirect_le_ih(p_le_ih)) in search_for_position_by_key()
922 ih_item_len(p_le_ih) / UNFM_P_SIZE; in search_for_position_by_key()
924 pos_in_item(search_path) = ih_item_len(p_le_ih); in search_for_position_by_key()
1050 struct item_head *p_le_ih = tp_item_head(path); in prepare_for_delete_or_cut() local
1056 if (is_statdata_le_ih(p_le_ih)) { in prepare_for_delete_or_cut()
1061 *cut_size = -(IH_SIZE + ih_item_len(p_le_ih)); in prepare_for_delete_or_cut()
1066 if (is_direntry_le_ih(p_le_ih)) in prepare_for_delete_or_cut()
1067 return prepare_for_direntry_item(path, p_le_ih, inode, in prepare_for_delete_or_cut()
1072 if (is_direct_le_ih(p_le_ih)) in prepare_for_delete_or_cut()
1073 return prepare_for_direct_item(path, p_le_ih, inode, in prepare_for_delete_or_cut()
1167 struct item_head *p_le_ih = tp_item_head(tb->tb_path); in calc_deleted_bytes_number() local
1169 if (is_statdata_le_ih(p_le_ih)) in calc_deleted_bytes_number()
1174 M_DELETE) ? ih_item_len(p_le_ih) : -tb->insert_size[0]; in calc_deleted_bytes_number()
1175 if (is_direntry_le_ih(p_le_ih)) { in calc_deleted_bytes_number()
1184 if (is_indirect_le_ih(p_le_ih)) in calc_deleted_bytes_number()
1653 struct item_head *p_le_ih; in reiserfs_cut_from_item() local
1793 p_le_ih = tp_item_head(s_cut_balance.tb_path); in reiserfs_cut_from_item()
1794 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(p_le_ih)) { in reiserfs_cut_from_item()
1796 (le_ih_k_offset(p_le_ih) & (sb->s_blocksize - 1)) == in reiserfs_cut_from_item()
1890 struct item_head *p_le_ih; /* Pointer to an item header. */ in reiserfs_do_truncate() local
1941 p_le_ih = tp_item_head(&s_search_path); in reiserfs_do_truncate()
1942 if (is_statdata_le_ih(p_le_ih)) in reiserfs_do_truncate()
1945 loff_t offset = le_ih_k_offset(p_le_ih); in reiserfs_do_truncate()
1947 op_bytes_number(p_le_ih, inode->i_sb->s_blocksize); in reiserfs_do_truncate()