Lines Matching full:bid
70 struct bus_id_priv *bid = NULL; in get_busid_priv() local
75 bid = &(busid_table[idx]); in get_busid_priv()
77 spin_lock(&bid->busid_lock); in get_busid_priv()
81 return bid; in get_busid_priv()
84 void put_busid_priv(struct bus_id_priv *bid) in put_busid_priv() argument
86 if (bid) in put_busid_priv()
87 spin_unlock(&bid->busid_lock); in put_busid_priv()
251 struct bus_id_priv *bid; in rebind_store() local
259 bid = get_busid_priv(buf); in rebind_store()
260 if (!bid) in rebind_store()
264 bid->status = STUB_BUSID_OTHER; in rebind_store()
266 put_busid_priv(bid); in rebind_store()
268 ret = do_rebind((char *) buf, bid); in rebind_store()