Lines Matching defs:ih
399 struct item_head *ih;
419 ih = (struct item_head *)(buf + BLKH_SIZE) + nr - 1;
420 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih));
430 ih = (struct item_head *)(buf + BLKH_SIZE);
432 for (i = 0; i < nr; i++, ih++) {
433 if (le_ih_k_type(ih) == TYPE_ANY) {
436 ih);
439 if (ih_location(ih) >= blocksize
440 || ih_location(ih) < IH_SIZE * nr) {
443 ih);
446 if (ih_item_len(ih) < 1
447 || ih_item_len(ih) > MAX_ITEM_LEN(blocksize)) {
450 ih);
453 if (prev_location - ih_location(ih) != ih_item_len(ih)) {
456 "(second one): %h", ih);
459 prev_location = ih_location(ih);
884 struct item_head *ih;
895 ih = get_ih(path);
896 return memcmp(stored_ih, ih, IH_SIZE);
1144 char key2type(struct reiserfs_key *ih)
1146 if (is_direntry_le_key(2, ih))
1148 if (is_direct_le_key(2, ih))
1150 if (is_indirect_le_key(2, ih))
1152 if (is_statdata_le_key(2, ih))
1157 char head2type(struct item_head *ih)
1159 if (is_direntry_le_ih(ih))
1161 if (is_direct_le_ih(ih))
1163 if (is_indirect_le_ih(ih))
1165 if (is_statdata_le_ih(ih))
2007 do_balance(&s_paste_balance, NULL /*ih */ , body, M_PASTE);
2027 * ih - pointer to the item header to insert
2032 struct item_head *ih, struct inode *inode,
2044 quota_bytes = ih_item_len(ih);
2049 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(ih))
2054 quota_bytes, inode->i_uid, head2type(ih));
2065 IH_SIZE + ih_item_len(ih));
2075 fix_nodes(M_INSERT, &s_ins_balance, ih,
2096 do_balance(&s_ins_balance, ih, body, M_INSERT);
2107 quota_bytes, inode->i_uid, head2type(ih));