Lines Matching refs:ih

392 	struct item_head *ih;  in is_leaf()  local
412 ih = (struct item_head *)(buf + BLKH_SIZE) + nr - 1; in is_leaf()
413 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih)); in is_leaf()
427 ih = (struct item_head *)(buf + BLKH_SIZE); in is_leaf()
429 for (i = 0; i < nr; i++, ih++) { in is_leaf()
430 if (le_ih_k_type(ih) == TYPE_ANY) { in is_leaf()
433 ih); in is_leaf()
436 if (ih_location(ih) >= blocksize in is_leaf()
437 || ih_location(ih) < IH_SIZE * nr) { in is_leaf()
440 ih); in is_leaf()
443 if (ih_item_len(ih) < 1 in is_leaf()
444 || ih_item_len(ih) > MAX_ITEM_LEN(blocksize)) { in is_leaf()
447 ih); in is_leaf()
450 if (prev_location - ih_location(ih) != ih_item_len(ih)) { in is_leaf()
453 "(second one): %h", ih); in is_leaf()
456 prev_location = ih_location(ih); in is_leaf()
909 struct item_head *ih; in comp_items() local
920 ih = tp_item_head(path); in comp_items()
921 return memcmp(stored_ih, ih, IH_SIZE); in comp_items()
1198 char key2type(struct reiserfs_key *ih) in key2type() argument
1200 if (is_direntry_le_key(2, ih)) in key2type()
1202 if (is_direct_le_key(2, ih)) in key2type()
1204 if (is_indirect_le_key(2, ih)) in key2type()
1206 if (is_statdata_le_key(2, ih)) in key2type()
1211 char head2type(struct item_head *ih) in head2type() argument
1213 if (is_direntry_le_ih(ih)) in head2type()
1215 if (is_direct_le_ih(ih)) in head2type()
1217 if (is_indirect_le_ih(ih)) in head2type()
1219 if (is_statdata_le_ih(ih)) in head2type()
2169 struct item_head *ih, struct inode *inode, in reiserfs_insert_item() argument
2182 quota_bytes = ih_item_len(ih); in reiserfs_insert_item()
2189 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(ih)) in reiserfs_insert_item()
2194 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item()
2209 IH_SIZE + ih_item_len(ih)); in reiserfs_insert_item()
2222 fix_nodes(M_INSERT, &s_ins_balance, ih, in reiserfs_insert_item()
2243 do_balance(&s_ins_balance, ih, body, M_INSERT); in reiserfs_insert_item()
2254 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item()