Lines Matching refs:f
41 struct w1_family *f; in w1_register_family() local
46 f = list_entry(ent, struct w1_family, family_entry); in w1_register_family()
48 if (f->fid == newf->fid) { in w1_register_family()
73 struct w1_family *f; in w1_unregister_family() local
77 f = list_entry(ent, struct w1_family, family_entry); in w1_unregister_family()
79 if (f->fid == fent->fid) { in w1_unregister_family()
104 struct w1_family *f = NULL; in w1_family_registered() local
108 f = list_entry(ent, struct w1_family, family_entry); in w1_family_registered()
110 if (f->fid == fid) { in w1_family_registered()
116 return (ret) ? f : NULL; in w1_family_registered()
119 static void __w1_family_put(struct w1_family *f) in __w1_family_put() argument
121 atomic_dec(&f->refcnt); in __w1_family_put()
124 void w1_family_put(struct w1_family *f) in w1_family_put() argument
127 __w1_family_put(f); in w1_family_put()
132 void w1_family_get(struct w1_family *f)
135 __w1_family_get(f);
140 void __w1_family_get(struct w1_family *f) in __w1_family_get() argument
143 atomic_inc(&f->refcnt); in __w1_family_get()