Lines Matching refs:t

104 	struct xprt_class *t;  in xprt_register_transport()  local
109 list_for_each_entry(t, &xprt_list, list) { in xprt_register_transport()
111 if (t->ident == transport->ident) in xprt_register_transport()
136 struct xprt_class *t; in xprt_unregister_transport() local
141 list_for_each_entry(t, &xprt_list, list) { in xprt_unregister_transport()
142 if (t == transport) { in xprt_unregister_transport()
159 xprt_class_release(const struct xprt_class *t) in xprt_class_release() argument
161 module_put(t->owner); in xprt_class_release()
167 const struct xprt_class *t; in xprt_class_find_by_ident_locked() local
169 list_for_each_entry(t, &xprt_list, list) { in xprt_class_find_by_ident_locked()
170 if (t->ident != ident) in xprt_class_find_by_ident_locked()
172 if (!try_module_get(t->owner)) in xprt_class_find_by_ident_locked()
174 return t; in xprt_class_find_by_ident_locked()
182 const struct xprt_class *t; in xprt_class_find_by_ident() local
185 t = xprt_class_find_by_ident_locked(ident); in xprt_class_find_by_ident()
187 return t; in xprt_class_find_by_ident()
193 const struct xprt_class *t; in xprt_class_find_by_netid_locked() local
196 list_for_each_entry(t, &xprt_list, list) { in xprt_class_find_by_netid_locked()
197 for (i = 0; t->netid[i][0] != '\0'; i++) { in xprt_class_find_by_netid_locked()
198 if (strcmp(t->netid[i], netid) != 0) in xprt_class_find_by_netid_locked()
200 if (!try_module_get(t->owner)) in xprt_class_find_by_netid_locked()
202 return t; in xprt_class_find_by_netid_locked()
211 const struct xprt_class *t; in xprt_class_find_by_netid() local
214 t = xprt_class_find_by_netid_locked(netid); in xprt_class_find_by_netid()
215 if (!t) { in xprt_class_find_by_netid()
219 t = xprt_class_find_by_netid_locked(netid); in xprt_class_find_by_netid()
222 return t; in xprt_class_find_by_netid()
235 const struct xprt_class *t; in xprt_find_transport_ident() local
238 t = xprt_class_find_by_netid(netid); in xprt_find_transport_ident()
239 if (!t) in xprt_find_transport_ident()
241 ret = t->ident; in xprt_find_transport_ident()
242 xprt_class_release(t); in xprt_find_transport_ident()
852 xprt_init_autodisconnect(struct timer_list *t) in xprt_init_autodisconnect() argument
854 struct rpc_xprt *xprt = from_timer(xprt, t, timer); in xprt_init_autodisconnect()
2041 const struct xprt_class *t; in xprt_create_transport() local
2043 t = xprt_class_find_by_ident(args->ident); in xprt_create_transport()
2044 if (!t) { in xprt_create_transport()
2049 xprt = t->setup(args); in xprt_create_transport()
2050 xprt_class_release(t); in xprt_create_transport()