函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\rhashtable.c Create Date:2022-07-27 07:22:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rhashtable_rehash_alloc

函数原型:static int rhashtable_rehash_alloc(struct rhashtable *ht, struct bucket_table *old_tbl, unsigned int size)

返回类型:int

参数:

类型参数名称
struct rhashtable *ht
struct bucket_table *old_tbl
unsigned intsize
351  new_tbl等于bucket_table_alloc(ht, size, GFP_KERNEL)
352  如果(new_tbl == NULL)则返回:负ENOMEM
355  err等于rhashtable_rehash_attach(ht, old_tbl, new_tbl)
356  如果errbucket_table_free(new_tbl)
359  返回:err
调用者
名称描述
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