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()
247 struct bus_id_priv *bid; in rebind_store() local
255 bid = get_busid_priv(buf); in rebind_store()
256 if (!bid) in rebind_store()
260 bid->status = STUB_BUSID_OTHER; in rebind_store()
262 put_busid_priv(bid); in rebind_store()
264 ret = do_rebind((char *) buf, bid); in rebind_store()