/src/sys/kern/ |
kern_fileassoc.c | 354 struct fileassoc_table *newtbl; local in function:fileassoc_table_resize 361 newtbl = kmem_zalloc(sizeof(*newtbl), KM_SLEEP); 362 newtbl->tbl_nslots = (tbl->tbl_nslots * 2); 363 if (newtbl->tbl_nslots < tbl->tbl_nslots) 364 newtbl->tbl_nslots = tbl->tbl_nslots; 365 newtbl->tbl_hash = hashinit(newtbl->tbl_nslots, HASH_LIST, 366 true, &newtbl->tbl_mask); 367 newtbl->tbl_nused = 0 550 struct fileassoc_table *newtbl; local in function:fileassoc_file_add [all...] |
kern_fileassoc.c | 354 struct fileassoc_table *newtbl; local in function:fileassoc_table_resize 361 newtbl = kmem_zalloc(sizeof(*newtbl), KM_SLEEP); 362 newtbl->tbl_nslots = (tbl->tbl_nslots * 2); 363 if (newtbl->tbl_nslots < tbl->tbl_nslots) 364 newtbl->tbl_nslots = tbl->tbl_nslots; 365 newtbl->tbl_hash = hashinit(newtbl->tbl_nslots, HASH_LIST, 366 true, &newtbl->tbl_mask); 367 newtbl->tbl_nused = 0 550 struct fileassoc_table *newtbl; local in function:fileassoc_file_add [all...] |
/src/sys/dev/ |
midictl.c | 675 uint64_t *newtbl, *oldtbl, mask; local in function:store_rehash 684 newtbl = kmem_zalloc(sizeof(*newtbl) << newlgcap, KM_SLEEP); 697 kmem_free(newtbl, sizeof(*newtbl) << newlgcap); 709 nidx = store_idx(newlgcap, newtbl, 711 newtbl[nidx] = s->table[oidx]; 714 s->table = newtbl;
|
midictl.c | 675 uint64_t *newtbl, *oldtbl, mask; local in function:store_rehash 684 newtbl = kmem_zalloc(sizeof(*newtbl) << newlgcap, KM_SLEEP); 697 kmem_free(newtbl, sizeof(*newtbl) << newlgcap); 709 nidx = store_idx(newlgcap, newtbl, 711 newtbl[nidx] = s->table[oidx]; 714 s->table = newtbl;
|