HomeSort by: relevance | last modified time | path
    Searched defs:lgcapacity (Results 1 - 1 of 1) sorted by relevancy

  /src/sys/dev/
midictl.c 138 uint32_t lgcapacity; member in struct:midictl_store
153 #define NEED_REHASH(s) ((s)->used * 2 >= 1 << (s)->lgcapacity)
163 static uint32_t store_idx(uint32_t lgcapacity,
180 s->lgcapacity = INITIALLGCAPACITY;
181 s->table = kmem_zalloc(sizeof(*s->table)<<s->lgcapacity, KM_SLEEP);
189 kmem_free(s->table, sizeof(*s->table)<<s->lgcapacity);
547 kmem_free(s->table, sizeof(*s->table)<<s->lgcapacity);
565 if ( s->used >= 1 << s->lgcapacity )
578 s->idx = store_idx(s->lgcapacity, s->table, s->key, mask);
646 store_idx(uint32_t lgcapacity, uint64_t *table
    [all...]

Completed in 27 milliseconds