Lines Matching refs:fio_filelock
18 struct fio_filelock { struct
32 struct fio_filelock ffs[MAX_FILELOCKS]; argument
35 static void put_filelock(struct fio_filelock *ff) in put_filelock()
40 static struct fio_filelock *__get_filelock(void) in __get_filelock()
42 struct fio_filelock *ff; in __get_filelock()
47 ff = flist_first_entry(&fld->free_list, struct fio_filelock, list); in __get_filelock()
52 static struct fio_filelock *get_filelock(int trylock, int *retry) in get_filelock()
54 struct fio_filelock *ff; in get_filelock()
85 struct fio_filelock *ff = &fld->ffs[i]; in fio_filelock_init()
107 struct fio_filelock *ff; in fio_filelock_exit()
109 ff = flist_first_entry(&fld->free_list, struct fio_filelock, list); in fio_filelock_exit()
119 static struct fio_filelock *fio_hash_find(uint32_t hash) in fio_hash_find()
122 struct fio_filelock *ff; in fio_hash_find()
125 ff = flist_entry(entry, struct fio_filelock, list); in fio_hash_find()
133 static struct fio_filelock *fio_hash_get(uint32_t hash, int trylock) in fio_hash_get()
135 struct fio_filelock *ff; in fio_hash_get()
151 struct fio_filelock *__ff; in fio_hash_get()
170 struct fio_filelock *ff; in __fio_lock_file()
227 struct fio_filelock *ff; in fio_unlock_file()