Lines Matching refs:p_le_ih
815 struct item_head *p_le_ih; /* pointer to on-disk structure */ in search_for_position_by_key() local
848 p_le_ih = in search_for_position_by_key()
853 if (comp_short_keys(&(p_le_ih->ih_key), p_cpu_key)) { in search_for_position_by_key()
858 item_offset = le_ih_k_offset(p_le_ih); in search_for_position_by_key()
863 item_offset + op_bytes_number(p_le_ih, blk_size) > offset) { in search_for_position_by_key()
865 if (is_indirect_le_ih(p_le_ih)) { in search_for_position_by_key()
873 if (is_indirect_le_ih(p_le_ih)) 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()
992 struct item_head *p_le_ih = PATH_PITEM_HEAD(path); in prepare_for_delete_or_cut() local
998 if (is_statdata_le_ih(p_le_ih)) { in prepare_for_delete_or_cut()
1003 *cut_size = -(IH_SIZE + ih_item_len(p_le_ih)); in prepare_for_delete_or_cut()
1008 if (is_direntry_le_ih(p_le_ih)) in prepare_for_delete_or_cut()
1009 return prepare_for_direntry_item(path, p_le_ih, inode, in prepare_for_delete_or_cut()
1014 if (is_direct_le_ih(p_le_ih)) in prepare_for_delete_or_cut()
1015 return prepare_for_direct_item(path, p_le_ih, inode, in prepare_for_delete_or_cut()
1102 struct item_head *p_le_ih = PATH_PITEM_HEAD(tb->tb_path); in calc_deleted_bytes_number() local
1104 if (is_statdata_le_ih(p_le_ih)) in calc_deleted_bytes_number()
1109 M_DELETE) ? ih_item_len(p_le_ih) : -tb->insert_size[0]; in calc_deleted_bytes_number()
1110 if (is_direntry_le_ih(p_le_ih)) { in calc_deleted_bytes_number()
1117 if (is_indirect_le_ih(p_le_ih)) in calc_deleted_bytes_number()
1556 struct item_head *p_le_ih; in reiserfs_cut_from_item() local
1680 p_le_ih = PATH_PITEM_HEAD(s_cut_balance.tb_path); in reiserfs_cut_from_item()
1681 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(p_le_ih)) { in reiserfs_cut_from_item()
1683 (le_ih_k_offset(p_le_ih) & (sb->s_blocksize - 1)) == in reiserfs_cut_from_item()
1767 struct item_head *p_le_ih; /* Pointer to an item header. */ in reiserfs_do_truncate() local
1816 p_le_ih = PATH_PITEM_HEAD(&s_search_path); in reiserfs_do_truncate()
1817 if (is_statdata_le_ih(p_le_ih)) in reiserfs_do_truncate()
1820 loff_t offset = le_ih_k_offset(p_le_ih); in reiserfs_do_truncate()
1822 op_bytes_number(p_le_ih, inode->i_sb->s_blocksize); in reiserfs_do_truncate()