Lines Matching refs:item

9  * this contains item handlers for old item types: sd, direct,
15 * explanation of each item handler method? -Hans
36 static void sd_print_item(struct item_head *ih, char *item)
40 struct stat_data_v1 *sd = (struct stat_data_v1 *)item;
47 struct stat_data *sd = (struct stat_data *)item;
55 static void sd_check_item(struct item_head *ih, char *item)
113 /* direct item functions */
134 static void direct_print_item(struct item_head *ih, char *item)
141 printk("%c", item[j++]);
145 static void direct_check_item(struct item_head *ih, char *item)
204 /* indirect item functions */
218 /* if it is not first item of the body, then it is mergeable */
226 /* printing of indirect item */
260 static void indirect_print_item(struct item_head *ih, char *item)
267 unp = (__le32 *) item;
270 reiserfs_warning(NULL, "reiserfs-16102", "invalid item len");
283 static void indirect_check_item(struct item_head *ih, char *item)
316 /* unit of indirect item is byte (yet) */
322 /* unit of indirect item is byte (yet) */
372 static void direntry_print_item(struct item_head *ih, char *item)
383 deh = (struct reiserfs_de_head *)item;
389 name = item + deh_location(deh);
412 static void direntry_check_item(struct item_head *ih, char *item)
418 deh = (struct reiserfs_de_head *)item;
427 * function returns old entry number in directory item in real node
428 * using new entry number in virtual item in virtual node
437 /* cut or paste is applied to another item */
455 * item. Return space used by an item. FIXME: no control over
456 * consuming of space used by this item handler
477 /* virtual directory item have this amount of entry after */
497 /* compare total size of entries with item length */
511 "directory item",
635 /* Error catching functions to catch errors caused by incorrect item types. */
639 "Invalid item type observed, run fsck ASAP");
646 "Invalid item type observed, run fsck ASAP");
653 "Invalid item type observed, run fsck ASAP");
657 static void errcatch_print_item(struct item_head *ih, char *item)
660 "Invalid item type observed, run fsck ASAP");
663 static void errcatch_check_item(struct item_head *ih, char *item)
666 "Invalid item type observed, run fsck ASAP");
674 "Invalid item type observed, run fsck ASAP");
687 "Invalid item type observed, run fsck ASAP");
694 "Invalid item type observed, run fsck ASAP");
701 "Invalid item type observed, run fsck ASAP");
708 "Invalid item type observed, run fsck ASAP");
715 "Invalid item type observed, run fsck ASAP");