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...] |