Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\rhashtable.c Create Date:2022-07-28 06:25:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rhashtable_rehash_alloc

Proto:static int rhashtable_rehash_alloc(struct rhashtable *ht, struct bucket_table *old_tbl, unsigned int size)

Type:int

Parameter:

TypeParameterName
struct rhashtable *ht
struct bucket_table *old_tbl
unsigned intsize
351  new_tbl = bucket_table_alloc(ht, size, GFP_KERNEL)
352  If (new_tbl == NULL) Then Return -ENOMEM
355  err = rhashtable_rehash_attach(ht, old_tbl, new_tbl)
356  If err Then bucket_table_free(new_tbl)
359  Return err
Caller
NameDescribe
rhashtable_shrinkhashtable_shrink - Shrink hash table while allowing concurrent lookups*@ht: the hash table to shrink* This function shrinks the hash table to fit, i
rht_deferred_worker