Lines Matching defs:ih
493 #define ih_free_space(ih) le16_to_cpu((ih)->u.ih_free_space_reserved) argument
494 #define ih_version(ih) le16_to_cpu((ih)->ih_version) argument
495 #define ih_entry_count(ih) le16_to_cpu((ih)->u.ih_entry_count) argument
496 #define ih_location(ih) le16_to_cpu((ih)->ih_item_location) argument
497 #define ih_item_len(ih) le16_to_cpu((ih)->ih_item_len) argument
499 #define put_ih_free_space(ih, val) do { (ih)->u.ih_free_space_reserved = cpu_to_le16(val); } whil… argument
500 #define put_ih_version(ih, val) do { (ih)->ih_version = cpu_to_le16(val); } while (0) argument
501 #define put_ih_entry_count(ih, val) do { (ih)->u.ih_entry_count = cpu_to_le16(val); } while (0) argument
502 #define put_ih_location(ih, val) do { (ih)->ih_item_location = cpu_to_le16(val); } while (0) argument
503 #define put_ih_item_len(ih, val) do { (ih)->ih_item_len = cpu_to_le16(val); } while (0) argument
505 #define unreachable_item(ih) (ih_version(ih) & (1 << 15)) argument
507 #define get_ih_free_space(ih) (ih_version (ih) == KEY_FORMAT_3_6 ? 0 : ih_free_space (ih)) argument
508 #define set_ih_free_space(ih,val) put_ih_free_space((ih), ((ih_version(ih) == KEY_FORMAT_3_6) ? 0 :… argument
583 static __inline__ loff_t le_ih_k_offset(const struct item_head *ih) in le_ih_k_offset()
595 static __inline__ loff_t le_ih_k_type(const struct item_head *ih) in le_ih_k_type()
607 static __inline__ void set_le_ih_k_offset(struct item_head *ih, loff_t offset) in set_le_ih_k_offset()
620 static __inline__ void set_le_ih_k_type(struct item_head *ih, int type) in set_le_ih_k_type()
633 #define is_direntry_le_ih(ih) is_direntry_le_key (ih_version (ih), &((ih)->ih_key)) argument
634 #define is_direct_le_ih(ih) is_direct_le_key (ih_version (ih), &((ih)->ih_key)) argument
635 #define is_indirect_le_ih(ih) is_indirect_le_key (ih_version(ih), &((ih)->ih_key)) argument
636 #define is_statdata_le_ih(ih) is_statdata_le_key (ih_version (ih), &((ih)->ih_key)) argument
672 #define is_direntry_cpu_ih(ih) (is_direntry_cpu_key (&((ih)->ih_key))) argument
673 #define is_direct_cpu_ih(ih) (is_direct_cpu_key (&((ih)->ih_key))) argument
674 #define is_indirect_cpu_ih(ih) (is_indirect_cpu_key (&((ih)->ih_key))) argument
675 #define is_statdata_cpu_ih(ih) (is_statdata_cpu_key (&((ih)->ih_key))) argument
787 #define stat_data_v1(ih) (ih_version (ih) == KEY_FORMAT_3_5) argument
868 #define stat_data_v2(ih) (ih_version (ih) == KEY_FORMAT_3_6) argument
1003 #define B_I_PITEM(bh,ih) ( (bh)->b_data + ih_location(ih) ) argument
1004 #define B_I_DEH(bh,ih) ((struct reiserfs_de_head *)(B_I_PITEM(bh,ih))) argument
1017 const struct item_head *ih, int pos_in_item) in entry_length()
1029 #define I_ENTRY_COUNT(ih) (ih_entry_count((ih))) argument
1032 #define B_I_E_NAME(bh,ih,entry_num) ((char *)(bh->b_data + ih_location(ih) + deh_location(B_I_DEH(b… argument
1061 #define B_I_DEH_ENTRY_FILE_NAME(bh,ih,deh) (B_I_PITEM (bh, ih) + deh_location(deh)) argument
1064 #define I_DEH_N_ENTRY_FILE_NAME_LENGTH(ih,deh,entry_num) \ argument
1210 #define item_moved(ih,path) comp_items(ih, path) argument
1211 #define path_changed(ih,path) comp_items (ih, path) argument
1470 #define op_bytes_number(ih,bsize) item_ops[le_ih_k_type (ih)]->bytes_number (ih,… argument
1472 #define op_print_item(ih,item) item_ops[le_ih_k_type (ih)]->print_item (ih, i… argument
1473 #define op_check_item(ih,item) item_ops[le_ih_k_type (ih)]->check_item (ih, i… argument
1487 #define I_POS_UNFM_SIZE(ih,pos,size) (((pos) == I_UNFM_NUM(ih) - 1 ) ? (size) - ih_free_space(ih) :… argument
1510 #define B_I_STAT_DATA(bh, ih) ( (struct stat_data * )((bh)->b_data + ih_location(ih)) ) argument
1518 #define B_I_POS_UNFM_POINTER(bh,ih,pos) le32_to_cpu(*(((unp_t *)B_I_PITEM(bh,ih)) + (pos))) argument
1519 #define PUT_B_I_POS_UNFM_POINTER(bh,ih,pos, val) do {*(((unp_t *)B_I_PITEM(bh,ih)) + (pos)) = cpu_t… argument