Searched refs:busid_table (Results 1 – 1 of 1) sorted by relevance
25 static struct bus_id_priv busid_table[MAX_BUSID]; variable36 memset(busid_table, 0, sizeof(busid_table)); in init_busid_table()41 spin_lock_init(&busid_table[i].busid_lock); in init_busid_table()54 spin_lock(&busid_table[i].busid_lock); in get_busid_idx()55 if (busid_table[i].name[0]) in get_busid_idx()56 if (!strncmp(busid_table[i].name, busid, BUSID_SIZE)) { in get_busid_idx()58 spin_unlock(&busid_table[i].busid_lock); in get_busid_idx()61 spin_unlock(&busid_table[i].busid_lock); in get_busid_idx()75 bid = &(busid_table[idx]); in get_busid_priv()103 spin_lock(&busid_table[i].busid_lock); in add_match_busid()[all …]