Lines Matching defs:ih

616 #define ih_free_space(ih)            le16_to_cpu((ih)->u.ih_free_space_reserved)  argument
617 #define ih_version(ih) le16_to_cpu((ih)->ih_version) argument
618 #define ih_entry_count(ih) le16_to_cpu((ih)->u.ih_entry_count) argument
619 #define ih_location(ih) le16_to_cpu((ih)->ih_item_location) argument
620 #define ih_item_len(ih) le16_to_cpu((ih)->ih_item_len) argument
622 #define put_ih_free_space(ih, val) do { (ih)->u.ih_free_space_reserved = cpu_to_le16(val); } whil… argument
623 #define put_ih_version(ih, val) do { (ih)->ih_version = cpu_to_le16(val); } while (0) argument
624 #define put_ih_entry_count(ih, val) do { (ih)->u.ih_entry_count = cpu_to_le16(val); } while (0) argument
625 #define put_ih_location(ih, val) do { (ih)->ih_item_location = cpu_to_le16(val); } while (0) argument
626 #define put_ih_item_len(ih, val) do { (ih)->ih_item_len = cpu_to_le16(val); } while (0) argument
628 #define unreachable_item(ih) (ih_version(ih) & (1 << 15)) argument
630 #define get_ih_free_space(ih) (ih_version (ih) == KEY_FORMAT_3_6 ? 0 : ih_free_space (ih)) argument
631 #define set_ih_free_space(ih,val) put_ih_free_space((ih), ((ih_version(ih) == KEY_FORMAT_3_6) ? 0 :… argument
703 static inline loff_t le_ih_k_offset(const struct item_head *ih) in le_ih_k_offset()
715 static inline loff_t le_ih_k_type(const struct item_head *ih) in le_ih_k_type()
727 static inline void set_le_ih_k_offset(struct item_head *ih, loff_t offset) in set_le_ih_k_offset()
741 static inline void set_le_ih_k_type(struct item_head *ih, int type) in set_le_ih_k_type()
769 static inline int is_direntry_le_ih(struct item_head *ih) in is_direntry_le_ih()
774 static inline int is_direct_le_ih(struct item_head *ih) in is_direct_le_ih()
779 static inline int is_indirect_le_ih(struct item_head *ih) in is_indirect_le_ih()
784 static inline int is_statdata_le_ih(struct item_head *ih) in is_statdata_le_ih()
823 #define is_direntry_cpu_ih(ih) (is_direntry_cpu_key (&((ih)->ih_key))) argument
824 #define is_direct_cpu_ih(ih) (is_direct_cpu_key (&((ih)->ih_key))) argument
825 #define is_indirect_cpu_ih(ih) (is_indirect_cpu_key (&((ih)->ih_key))) argument
826 #define is_statdata_cpu_ih(ih) (is_statdata_cpu_key (&((ih)->ih_key))) argument
828 #define I_K_KEY_IN_ITEM(ih, key, n_blocksize) \ argument
939 #define stat_data_v1(ih) (ih_version (ih) == KEY_FORMAT_3_5) argument
1020 #define stat_data_v2(ih) (ih_version (ih) == KEY_FORMAT_3_6) argument
1158 #define B_I_PITEM(bh,ih) ( (bh)->b_data + ih_location(ih) ) argument
1159 #define B_I_DEH(bh,ih) ((struct reiserfs_de_head *)(B_I_PITEM(bh,ih))) argument
1172 const struct item_head *ih, int pos_in_item) in entry_length()
1184 #define I_ENTRY_COUNT(ih) (ih_entry_count((ih))) argument
1187 #define B_I_E_NAME(bh,ih,entry_num) ((char *)(bh->b_data + ih_location(ih) + deh_location(B_I_DEH(b… argument
1216 #define B_I_DEH_ENTRY_FILE_NAME(bh,ih,deh) (B_I_PITEM (bh, ih) + deh_location(deh)) argument
1219 #define I_DEH_N_ENTRY_FILE_NAME_LENGTH(ih,deh,entry_num) \ argument
1366 #define item_moved(ih,path) comp_items(ih, path) argument
1367 #define path_changed(ih,path) comp_items (ih, path) argument
1640 #define op_bytes_number(ih,bsize) item_ops[le_ih_k_type (ih)]->bytes_number (ih,… argument
1642 #define op_print_item(ih,item) item_ops[le_ih_k_type (ih)]->print_item (ih, i… argument
1643 #define op_check_item(ih,item) item_ops[le_ih_k_type (ih)]->check_item (ih, i… argument
1654 #define I_UNFM_NUM(ih) (ih_item_len(ih) / UNFM_P_SIZE) argument
1657 #define I_POS_UNFM_SIZE(ih,pos,size) (((pos) == I_UNFM_NUM(ih) - 1 ) ? (size) - ih_free_space(ih) :… argument
1680 #define B_I_STAT_DATA(bh, ih) ( (struct stat_data * )((bh)->b_data + ih_location(ih)) ) argument
1688 #define B_I_POS_UNFM_POINTER(bh,ih,pos) le32_to_cpu(*(((unp_t *)B_I_PITEM(bh,ih)) + (pos))) argument
1689 #define PUT_B_I_POS_UNFM_POINTER(bh,ih,pos, val) do {*(((unp_t *)B_I_PITEM(bh,ih)) + (pos)) = cpu_t… argument