Lines Matching refs:yaffs_obj
130 struct yaffs_obj *object;
387 struct yaffs_obj *equiv_obj;
398 struct yaffs_obj { struct
441 struct yaffs_obj *parent; argument
584 void (*remove_obj_fn) (struct yaffs_obj *obj);
715 struct yaffs_obj *root_dir;
716 struct yaffs_obj *lost_n_found;
725 struct yaffs_obj *unlinked_dir; /* Directory where unlinked and deleted
727 struct yaffs_obj *del_dir; /* Directory where deleted objects are
729 struct yaffs_obj *unlinked_deletion; /* Current file being
835 int yaffs_rename_obj(struct yaffs_obj *old_dir, const YCHAR * old_name,
836 struct yaffs_obj *new_dir, const YCHAR * new_name);
838 int yaffs_unlinker(struct yaffs_obj *dir, const YCHAR * name);
839 int yaffs_del_obj(struct yaffs_obj *obj);
841 int yaffs_get_obj_name(struct yaffs_obj *obj, YCHAR * name, int buffer_size);
842 loff_t yaffs_get_obj_length(struct yaffs_obj *obj);
843 int yaffs_get_obj_inode(struct yaffs_obj *obj);
844 unsigned yaffs_get_obj_type(struct yaffs_obj *obj);
845 int yaffs_get_obj_link_count(struct yaffs_obj *obj);
848 int yaffs_file_rd(struct yaffs_obj *obj, u8 * buffer, loff_t offset,
850 int yaffs_wr_file(struct yaffs_obj *obj, const u8 * buffer, loff_t offset,
852 int yaffs_resize_file(struct yaffs_obj *obj, loff_t new_size);
854 struct yaffs_obj *yaffs_create_file(struct yaffs_obj *parent,
858 int yaffs_flush_file(struct yaffs_obj *obj, int update_time, int data_sync);
867 struct yaffs_obj *yaffs_create_dir(struct yaffs_obj *parent, const YCHAR *name,
869 struct yaffs_obj *yaffs_find_by_name(struct yaffs_obj *the_dir,
871 struct yaffs_obj *yaffs_find_by_number(struct yaffs_dev *dev, u32 number);
874 struct yaffs_obj *yaffs_link_obj(struct yaffs_obj *parent, const YCHAR *name,
875 struct yaffs_obj *equiv_obj);
877 struct yaffs_obj *yaffs_get_equivalent_obj(struct yaffs_obj *obj);
880 struct yaffs_obj *yaffs_create_symlink(struct yaffs_obj *parent,
883 YCHAR *yaffs_get_symlink_alias(struct yaffs_obj *obj);
886 struct yaffs_obj *yaffs_create_special(struct yaffs_obj *parent,
890 int yaffs_set_xattrib(struct yaffs_obj *obj, const YCHAR *name,
892 int yaffs_get_xattrib(struct yaffs_obj *obj, const YCHAR *name, void *value,
894 int yaffs_list_xattrib(struct yaffs_obj *obj, char *buffer, int size);
895 int yaffs_remove_xattrib(struct yaffs_obj *obj, const YCHAR *name);
898 struct yaffs_obj *yaffs_root(struct yaffs_dev *dev);
899 struct yaffs_obj *yaffs_lost_n_found(struct yaffs_dev *dev);
901 void yaffs_handle_defered_free(struct yaffs_obj *obj);
908 int yaffs_dump_obj(struct yaffs_obj *obj);
922 struct yaffs_obj *yaffs_find_or_create_by_number(struct yaffs_dev *dev,
925 int yaffs_put_chunk_in_file(struct yaffs_obj *in, int inode_chunk,
927 void yaffs_set_obj_name(struct yaffs_obj *obj, const YCHAR *name);
928 void yaffs_set_obj_name_from_oh(struct yaffs_obj *obj,
930 void yaffs_add_obj_to_dir(struct yaffs_obj *directory, struct yaffs_obj *obj);
934 int yaffs_update_oh(struct yaffs_obj *in, const YCHAR *name,
946 int yaffs_do_file_wr(struct yaffs_obj *in, const u8 *buffer, loff_t offset,
948 void yaffs_resize_file_down(struct yaffs_obj *obj, loff_t new_size);
960 int yaffs_is_non_empty_dir(struct yaffs_obj *obj);