Lines Matching refs:f
24 struct w1_family *f; in w1_register_family() local
29 f = list_entry(ent, struct w1_family, family_entry); in w1_register_family()
31 if (f->fid == newf->fid) { in w1_register_family()
57 struct w1_family *f; in w1_unregister_family() local
61 f = list_entry(ent, struct w1_family, family_entry); in w1_unregister_family()
63 if (f->fid == fent->fid) { in w1_unregister_family()
89 struct w1_family *f = NULL; in w1_family_registered() local
93 f = list_entry(ent, struct w1_family, family_entry); in w1_family_registered()
95 if (f->fid == fid) { in w1_family_registered()
101 return (ret) ? f : NULL; in w1_family_registered()
104 static void __w1_family_put(struct w1_family *f) in __w1_family_put() argument
106 atomic_dec(&f->refcnt); in __w1_family_put()
109 void w1_family_put(struct w1_family *f) in w1_family_put() argument
112 __w1_family_put(f); in w1_family_put()
117 void w1_family_get(struct w1_family *f)
120 __w1_family_get(f);
125 void __w1_family_get(struct w1_family *f) in __w1_family_get() argument
128 atomic_inc(&f->refcnt); in __w1_family_get()