Lines Matching refs:bid
69 struct bus_id_priv *bid = NULL; in get_busid_priv() local
74 bid = &(busid_table[idx]); in get_busid_priv()
76 spin_lock(&bid->busid_lock); in get_busid_priv()
80 return bid; in get_busid_priv()
83 void put_busid_priv(struct bus_id_priv *bid) in put_busid_priv() argument
85 if (bid) in put_busid_priv()
86 spin_unlock(&bid->busid_lock); in put_busid_priv()
252 struct bus_id_priv *bid; in rebind_store() local
260 bid = get_busid_priv(buf); in rebind_store()
261 if (!bid) in rebind_store()
265 bid->status = STUB_BUSID_OTHER; in rebind_store()
267 put_busid_priv(bid); in rebind_store()
269 ret = do_rebind((char *) buf, bid); in rebind_store()