Lines Matching refs:bid
68 struct bus_id_priv *bid = NULL; in get_busid_priv() local
73 bid = &(busid_table[idx]); in get_busid_priv()
75 spin_lock(&bid->busid_lock); in get_busid_priv()
79 return bid; in get_busid_priv()
82 void put_busid_priv(struct bus_id_priv *bid) in put_busid_priv() argument
84 if (bid) in put_busid_priv()
85 spin_unlock(&bid->busid_lock); in put_busid_priv()
249 struct bus_id_priv *bid; in rebind_store() local
257 bid = get_busid_priv(buf); in rebind_store()
258 if (!bid) in rebind_store()
262 bid->status = STUB_BUSID_OTHER; in rebind_store()
264 put_busid_priv(bid); in rebind_store()
266 ret = do_rebind((char *) buf, bid); in rebind_store()