Lines Matching refs:newtbl
354 struct fileassoc_table *newtbl; in fileassoc_table_resize() local
361 newtbl = kmem_zalloc(sizeof(*newtbl), KM_SLEEP); in fileassoc_table_resize()
362 newtbl->tbl_nslots = (tbl->tbl_nslots * 2); in fileassoc_table_resize()
363 if (newtbl->tbl_nslots < tbl->tbl_nslots) in fileassoc_table_resize()
364 newtbl->tbl_nslots = tbl->tbl_nslots; in fileassoc_table_resize()
365 newtbl->tbl_hash = hashinit(newtbl->tbl_nslots, HASH_LIST, in fileassoc_table_resize()
366 true, &newtbl->tbl_mask); in fileassoc_table_resize()
367 newtbl->tbl_nused = 0; in fileassoc_table_resize()
368 specificdata_init(fileassoc_domain, &newtbl->tbl_data); in fileassoc_table_resize()
381 indx = FILEASSOC_HASH(newtbl, faf->faf_handle); in fileassoc_table_resize()
382 hash_entry = &(newtbl->tbl_hash[indx]); in fileassoc_table_resize()
386 newtbl->tbl_nused++; in fileassoc_table_resize()
390 if (tbl->tbl_nused != newtbl->tbl_nused) in fileassoc_table_resize()
393 newtbl->tbl_nused); in fileassoc_table_resize()
399 return (newtbl); in fileassoc_table_resize()
550 struct fileassoc_table *newtbl; in fileassoc_file_add() local
552 newtbl = fileassoc_table_resize(tbl); in fileassoc_file_add()
554 newtbl); in fileassoc_file_add()