Lines Matching full:dir

26 static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir,  in ref_tracker_dir_init()  argument
30 INIT_LIST_HEAD(&dir->list); in ref_tracker_dir_init()
31 INIT_LIST_HEAD(&dir->quarantine); in ref_tracker_dir_init()
32 spin_lock_init(&dir->lock); in ref_tracker_dir_init()
33 dir->quarantine_avail = quarantine_count; in ref_tracker_dir_init()
34 dir->dead = false; in ref_tracker_dir_init()
35 refcount_set(&dir->untracked, 1); in ref_tracker_dir_init()
36 refcount_set(&dir->no_tracker, 1); in ref_tracker_dir_init()
37 strscpy(dir->name, name, sizeof(dir->name)); in ref_tracker_dir_init()
41 void ref_tracker_dir_exit(struct ref_tracker_dir *dir);
43 void ref_tracker_dir_print_locked(struct ref_tracker_dir *dir,
46 void ref_tracker_dir_print(struct ref_tracker_dir *dir,
49 int ref_tracker_dir_snprint(struct ref_tracker_dir *dir, char *buf, size_t size);
51 int ref_tracker_alloc(struct ref_tracker_dir *dir,
54 int ref_tracker_free(struct ref_tracker_dir *dir,
59 static inline void ref_tracker_dir_init(struct ref_tracker_dir *dir, in ref_tracker_dir_init() argument
65 static inline void ref_tracker_dir_exit(struct ref_tracker_dir *dir) in ref_tracker_dir_exit() argument
69 static inline void ref_tracker_dir_print_locked(struct ref_tracker_dir *dir, in ref_tracker_dir_print_locked() argument
74 static inline void ref_tracker_dir_print(struct ref_tracker_dir *dir, in ref_tracker_dir_print() argument
79 static inline int ref_tracker_dir_snprint(struct ref_tracker_dir *dir, in ref_tracker_dir_snprint() argument
85 static inline int ref_tracker_alloc(struct ref_tracker_dir *dir, in ref_tracker_alloc() argument
92 static inline int ref_tracker_free(struct ref_tracker_dir *dir, in ref_tracker_free() argument