Home
last modified time | relevance | path

Searched refs:yaffs_obj (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/fs/yaffs2/
Dyaffs_guts.h130 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
[all …]
Dyaffs_verify.h27 void yaffs_verify_oh(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh,
29 void yaffs_verify_file(struct yaffs_obj *obj);
30 void yaffs_verify_link(struct yaffs_obj *obj);
31 void yaffs_verify_symlink(struct yaffs_obj *obj);
32 void yaffs_verify_special(struct yaffs_obj *obj);
33 void yaffs_verify_obj(struct yaffs_obj *obj);
35 void yaffs_verify_obj_in_dir(struct yaffs_obj *obj);
36 void yaffs_verify_dir(struct yaffs_obj *directory);
39 int yaffs_verify_file_sane(struct yaffs_obj *obj);
Dyaffsfs.c32 static struct yaffs_obj *yaffsfs_FindObject(struct yaffs_obj *relativeDirectory,
35 struct yaffs_obj **dirOut,
38 static void yaffsfs_RemoveObjectCallback(struct yaffs_obj *obj);
65 struct yaffs_obj *iObj;
88 struct yaffs_obj *dirObj; /* ptr to directory being searched */
89 struct yaffs_obj *nextReturn; /* obj returned by next readddir */
163 static struct yaffs_obj *yaffsfs_HandleToObject(int handle) in yaffsfs_HandleToObject()
178 static int yaffsfs_FindInodeIdForObject(struct yaffs_obj *obj) in yaffsfs_FindInodeIdForObject()
198 static int yaffsfs_GetInodeIdForObject(struct yaffs_obj *obj) in yaffsfs_GetInodeIdForObject()
225 static int yaffsfs_CountHandles(struct yaffs_obj *obj) in yaffsfs_CountHandles()
[all …]
Dyaffs_attribs.h21 void yaffs_load_attribs(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh);
22 void yaffs_load_attribs_oh(struct yaffs_obj_hdr *oh, struct yaffs_obj *obj);
23 void yaffs_attribs_init(struct yaffs_obj *obj, u32 gid, u32 uid, u32 rdev);
24 void yaffs_load_current_time(struct yaffs_obj *obj, int do_a, int do_c);
25 int yaffs_set_attribs(struct yaffs_obj *obj, struct iattr *attr);
26 int yaffs_get_attribs(struct yaffs_obj *obj, struct iattr *attr);
Dyaffs_guts.c40 static int yaffs_wr_data_obj(struct yaffs_obj *in, int inode_chunk,
287 struct yaffs_obj *yaffs_root(struct yaffs_dev *dev) in yaffs_root()
292 struct yaffs_obj *yaffs_lost_n_found(struct yaffs_dev *dev) in yaffs_lost_n_found()
666 void yaffs_set_obj_name(struct yaffs_obj *obj, const YCHAR * name) in yaffs_set_obj_name()
678 void yaffs_set_obj_name_from_oh(struct yaffs_obj *obj, in yaffs_set_obj_name_from_oh()
986 static int yaffs_find_chunk_in_file(struct yaffs_obj *in, int inode_chunk, in yaffs_find_chunk_in_file()
1013 static int yaffs_find_del_file_chunk(struct yaffs_obj *in, int inode_chunk, in yaffs_find_del_file_chunk()
1045 int yaffs_put_chunk_in_file(struct yaffs_obj *in, int inode_chunk, in yaffs_put_chunk_in_file()
1202 static int yaffs_soft_del_worker(struct yaffs_obj *in, struct yaffs_tnode *tn, in yaffs_soft_del_worker()
1248 static void yaffs_remove_obj_from_dir(struct yaffs_obj *obj) in yaffs_remove_obj_from_dir()
[all …]
Dyaffs_verify.c165 void yaffs_verify_oh(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh, in yaffs_verify_oh()
220 void yaffs_verify_file(struct yaffs_obj *obj) in yaffs_verify_file()
282 void yaffs_verify_link(struct yaffs_obj *obj) in yaffs_verify_link()
290 void yaffs_verify_symlink(struct yaffs_obj *obj) in yaffs_verify_symlink()
298 void yaffs_verify_special(struct yaffs_obj *obj) in yaffs_verify_special()
304 void yaffs_verify_obj(struct yaffs_obj *obj) in yaffs_verify_obj()
403 struct yaffs_obj *obj; in yaffs_verify_objects()
414 obj = list_entry(lh, struct yaffs_obj, hash_link); in yaffs_verify_objects()
420 void yaffs_verify_obj_in_dir(struct yaffs_obj *obj) in yaffs_verify_obj_in_dir()
423 struct yaffs_obj *list_obj; in yaffs_verify_obj_in_dir()
[all …]
Dyaffs_attribs.c17 void yaffs_load_attribs(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh) in yaffs_load_attribs()
28 void yaffs_load_attribs_oh(struct yaffs_obj_hdr *oh, struct yaffs_obj *obj) in yaffs_load_attribs_oh()
48 void yaffs_attribs_init(struct yaffs_obj *obj, u32 gid, u32 uid, u32 rdev) in yaffs_attribs_init()
64 void yaffs_load_current_time(struct yaffs_obj *obj, int do_a, int do_c) in yaffs_load_current_time()
83 loff_t yaffs_get_file_size(struct yaffs_obj *obj) in yaffs_get_file_size()
101 int yaffs_set_attribs(struct yaffs_obj *obj, struct iattr *attr) in yaffs_set_attribs()
128 int yaffs_get_attribs(struct yaffs_obj *obj, struct iattr *attr) in yaffs_get_attribs()
Dyaffs_allocator.c40 struct yaffs_obj *objects;
246 struct yaffs_obj *new_objs; in yaffs_create_free_objs()
258 new_objs = kmalloc(n_obj * sizeof(struct yaffs_obj), GFP_NOFS); in yaffs_create_free_objs()
287 struct yaffs_obj *yaffs_alloc_raw_obj(struct yaffs_dev *dev) in yaffs_alloc_raw_obj()
289 struct yaffs_obj *obj = NULL; in yaffs_alloc_raw_obj()
304 obj = list_entry(lh, struct yaffs_obj, siblings); in yaffs_alloc_raw_obj()
312 void yaffs_free_raw_obj(struct yaffs_dev *dev, struct yaffs_obj *obj) in yaffs_free_raw_obj()
Dyaffs_allocator.h27 struct yaffs_obj *yaffs_alloc_raw_obj(struct yaffs_dev *dev);
28 void yaffs_free_raw_obj(struct yaffs_dev *dev, struct yaffs_obj *obj);
Dyaffs_yaffs2.c369 struct yaffs_obj *obj) in yaffs2_obj_checkpt_obj()
390 static int yaffs2_checkpt_obj_to_obj(struct yaffs_obj *obj, in yaffs2_checkpt_obj_to_obj()
393 struct yaffs_obj *parent; in yaffs2_checkpt_obj_to_obj()
445 static int yaffs2_checkpt_tnode_worker(struct yaffs_obj *in, in yaffs2_checkpt_tnode_worker()
481 static int yaffs2_wr_checkpt_tnodes(struct yaffs_obj *obj) in yaffs2_wr_checkpt_tnodes()
500 static int yaffs2_rd_checkpt_tnodes(struct yaffs_obj *obj) in yaffs2_rd_checkpt_tnodes()
543 struct yaffs_obj *obj; in yaffs2_wr_checkpt_objs()
555 obj = list_entry(lh, struct yaffs_obj, hash_link); in yaffs2_wr_checkpt_objs()
588 struct yaffs_obj *obj; in yaffs2_rd_checkpt_objs()
831 int yaffs2_handle_hole(struct yaffs_obj *obj, loff_t new_size) in yaffs2_handle_hole()
[all …]
Dyaffs_yaffs1.c34 struct yaffs_obj *in; in yaffs1_scan()
35 struct yaffs_obj *parent; in yaffs1_scan()
389 struct yaffs_obj *obj; in yaffs1_scan()
Dyaffs_yaffs2.h36 int yaffs2_handle_hole(struct yaffs_obj *obj, loff_t new_size);