Home
last modified time | relevance | path

Searched refs:ffsb_file (Results 1 – 7 of 7) sorted by relevance

/external/ltp/utils/ffsb-6.0-rc2/
Dfilelist.c54 int node_cmp(struct ffsb_file *a, struct ffsb_file *b)
101 static void file_destructor(struct ffsb_file *file) in file_destructor()
113 struct ffsb_file *cur = cl_remove_head(bf->holes); in destroy_filelist()
121 struct ffsb_file *add_file(struct benchfiles *b, uint64_t size, randdata_t * rd) in add_file()
123 struct ffsb_file *newfile, *oldfile = NULL; in add_file()
130 newfile = ffsb_malloc(sizeof(struct ffsb_file)); in add_file()
181 struct ffsb_file *add_dir(struct benchfiles *b, uint64_t size, randdata_t * rd) in add_dir()
183 struct ffsb_file *newdir, *olddir = NULL; in add_dir()
186 newdir = ffsb_malloc(sizeof(struct ffsb_file)); in add_dir()
231 static struct ffsb_file *add_file_named(struct benchfiles *b, uint64_t size, in add_file_named()
[all …]
Dfilelist.h30 struct ffsb_file { struct
83 struct ffsb_file *add_file(struct benchfiles *b, uint64_t size, randdata_t *rd);
84 struct ffsb_file *add_dir(struct benchfiles *, uint64_t, randdata_t *);
97 void remove_file(struct benchfiles *, struct ffsb_file *);
102 struct ffsb_file *choose_file_reader(struct benchfiles *, randdata_t *);
107 struct ffsb_file *choose_file_writer(struct benchfiles *, randdata_t *);
113 void rename_file(struct ffsb_file *);
115 void unlock_file_reader(struct ffsb_file *);
116 void unlock_file_writer(struct ffsb_file *);
Dmetaops.c44 struct ffsb_file *newdir; in createdir()
56 struct ffsb_file *deldir; in removedir()
70 struct ffsb_file *dir; in renamedir()
101 struct ffsb_file *newdir; in ffsb_createdir()
Dfileops.c92 struct ffsb_file *curfile = NULL; in ffsb_readfile()
195 struct ffsb_file *curfile = NULL; in ffsb_readall()
225 struct ffsb_file *curfile = NULL; in ffsb_writefile_core()
309 struct ffsb_file *curfile = NULL; in ffsb_writeall_core()
366 struct ffsb_file *curfile; in ffsb_appendfile_core()
422 struct ffsb_file *newfile = NULL; in ffsb_createfile_core()
489 struct ffsb_file *curfile = NULL; in ffsb_deletefile()
520 struct ffsb_file *curfile = NULL; in ffsb_open_close()
534 struct ffsb_file *curfile = NULL; in ffsb_stat()
Dcirlist.h23 typedef struct ffsb_file *cldatatype;
Drbt.h58 typedef struct ffsb_file *datatype;
Dffsb_fs.c86 struct ffsb_file *cur; in add_files()