Function report |
Source Code:lib\rhashtable.c |
Create Date:2022-07-28 06:25:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rhashtable_insert_rehash
Proto:static int rhashtable_insert_rehash(struct rhashtable *ht, struct bucket_table *tbl)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct rhashtable * | ht | |
struct bucket_table * | tbl |
438 | old_tbl = rht_dereference_rcu(tbl, ht) |
444 | If ht_grow_above_75 - returns true if nelems > 0.75 * table-size*@ht: hash table*@tbl: current table Then size *= 2 |
456 | err = rhashtable_rehash_attach(ht, tbl, new_tbl) |
457 | If err Then |
458 | bucket_table_free(new_tbl) |
464 | Return err |
466 | fail : |
472 | If err == -ENOMEM Then schedule_work - put work task in global workqueue*@work: job to be done* Returns %false if @work was already on the kernel-global workqueue and* %true otherwise |
475 | Return err |
Name | Describe |
---|---|
rhashtable_try_insert |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |