Searched refs:idtab (Results 1 – 1 of 1) sorted by relevance
59 struct rio_id_table *idtab = (struct rio_id_table *)net->enum_data; in rio_destid_alloc() local 61 spin_lock(&idtab->lock); in rio_destid_alloc() 62 destid = find_first_zero_bit(idtab->table, idtab->max); in rio_destid_alloc() 64 if (destid < idtab->max) { in rio_destid_alloc() 65 set_bit(destid, idtab->table); in rio_destid_alloc() 66 destid += idtab->start; in rio_destid_alloc() 70 spin_unlock(&idtab->lock); in rio_destid_alloc() 85 struct rio_id_table *idtab = (struct rio_id_table *)net->enum_data; in rio_destid_reserve() local 87 destid -= idtab in rio_destid_reserve() 103 struct rio_id_table *idtab = (struct rio_id_table *)net->enum_data; rio_destid_free() local 118 struct rio_id_table *idtab = (struct rio_id_table *)net->enum_data; rio_destid_first() local 138 struct rio_id_table *idtab = (struct rio_id_table *)net->enum_data; rio_destid_next() local 845 struct rio_id_table *idtab; rio_scan_alloc_net() local [all...]