Lines Matching refs:item
8 // this contains item handlers for old item types: sd, direct,
12 explanation of each item handler method? -Hans */
42 static void sd_print_item(struct item_head *ih, char *item)
46 struct stat_data_v1 *sd = (struct stat_data_v1 *)item;
53 struct stat_data *sd = (struct stat_data *)item;
61 static void sd_check_item(struct item_head *ih, char *item)
120 // direct item functions
141 static void direct_print_item(struct item_head *ih, char *item)
148 printk("%c", item[j++]);
152 static void direct_check_item(struct item_head *ih, char *item)
212 // indirect item functions
228 // if it is not first item of the body, then it is mergeable
236 // printing of indirect item
270 static void indirect_print_item(struct item_head *ih, char *item)
277 unp = (__le32 *) item;
280 reiserfs_warning(NULL, "reiserfs-16102", "invalid item len");
293 static void indirect_check_item(struct item_head *ih, char *item)
323 // unit of indirect item is byte (yet)
329 // unit of indirect item is byte (yet)
382 static void direntry_print_item(struct item_head *ih, char *item)
393 deh = (struct reiserfs_de_head *)item;
399 name = item + deh_location(deh);
422 static void direntry_check_item(struct item_head *ih, char *item)
427 deh = (struct reiserfs_de_head *)item;
436 * function returns old entry number in directory item in real node
437 * using new entry number in virtual item in virtual node */
445 /* cut or paste is applied to another item */
480 /* virtual directory item have this amount of entry after */
500 /* compare total size of entries with item length */
514 "directory item",
639 // Error catching functions to catch errors caused by incorrect item types.
644 "Invalid item type observed, run fsck ASAP");
651 "Invalid item type observed, run fsck ASAP");
658 "Invalid item type observed, run fsck ASAP");
662 static void errcatch_print_item(struct item_head *ih, char *item)
665 "Invalid item type observed, run fsck ASAP");
668 static void errcatch_check_item(struct item_head *ih, char *item)
671 "Invalid item type observed, run fsck ASAP");
679 "Invalid item type observed, run fsck ASAP");
688 "Invalid item type observed, run fsck ASAP");
695 "Invalid item type observed, run fsck ASAP");
702 "Invalid item type observed, run fsck ASAP");
709 "Invalid item type observed, run fsck ASAP");
716 "Invalid item type observed, run fsck ASAP");