Lines Matching refs:dir
24 static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir, in ref_tracker_dir_init() argument
27 INIT_LIST_HEAD(&dir->list); in ref_tracker_dir_init()
28 INIT_LIST_HEAD(&dir->quarantine); in ref_tracker_dir_init()
29 spin_lock_init(&dir->lock); in ref_tracker_dir_init()
30 dir->quarantine_avail = quarantine_count; in ref_tracker_dir_init()
31 dir->dead = false; in ref_tracker_dir_init()
32 refcount_set(&dir->untracked, 1); in ref_tracker_dir_init()
33 refcount_set(&dir->no_tracker, 1); in ref_tracker_dir_init()
37 void ref_tracker_dir_exit(struct ref_tracker_dir *dir);
39 void ref_tracker_dir_print(struct ref_tracker_dir *dir,
42 int ref_tracker_alloc(struct ref_tracker_dir *dir,
45 int ref_tracker_free(struct ref_tracker_dir *dir,
50 static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir, in ref_tracker_dir_init() argument
55 static inline void ref_tracker_dir_exit(struct ref_tracker_dir *dir) in ref_tracker_dir_exit() argument
59 static inline void ref_tracker_dir_print(struct ref_tracker_dir *dir, in ref_tracker_dir_print() argument
64 static inline int ref_tracker_alloc(struct ref_tracker_dir *dir, in ref_tracker_alloc() argument
71 static inline int ref_tracker_free(struct ref_tracker_dir *dir, in ref_tracker_free() argument