Searched refs:oid_index (Results 1 – 1 of 1) sorted by relevance
85 sw_discovery_oid oid_index; member230 while (self->oid_index >= OID_MAX) in oid_alloc()231 self->oid_index -= OID_MAX; in oid_alloc()233 if (self->oid_table[self->oid_index].type == OID_UNUSED) { in oid_alloc()234 self->oid_table[self->oid_index].type = type; in oid_alloc()235 self->oid_table[self->oid_index].discovery = self; in oid_alloc()237 assert(OID_GET_INDEX(&self->oid_table[self->oid_index]) == self->oid_index); in oid_alloc()239 return self->oid_index ++; in oid_alloc()242 self->oid_index ++; in oid_alloc()365 (*self)->oid_index = 0; in sw_discovery_init()