Function report |
Source Code:lib\rhashtable.c |
Create Date:2022-07-28 06:25:07 |
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_one
Proto:static struct bucket_table *rhashtable_insert_one(struct rhashtable *ht, struct rhash_lock_head **bkt, struct bucket_table *tbl, unsigned int hash, struct rhash_head *obj, void *data)
Type:struct bucket_table
Parameter:
Type | Parameter | Name |
---|---|---|
struct rhashtable * | ht | |
struct rhash_lock_head ** | bkt | |
struct bucket_table * | tbl | |
unsigned int | hash | |
struct rhash_head * | obj | |
void * | data |
539 | If Not IS_ERR_OR_NULL(data) Then Return ERR_PTR( - EEXIST) |
545 | new_tbl = rht_dereference_rcu(future_tbl, ht) |
552 | If Value for the false possibility is greater at compile time(ht_grow_above_max - returns true if table is above maximum*@ht: hash table*@tbl: current table) Then Return ERR_PTR( - E2BIG) |
555 | If Value for the false possibility is greater at compile time(ht_grow_above_100 - returns true if nelems > table-size*@ht: hash table*@tbl: current table) Then Return ERR_PTR( - EAGAIN) |
561 | If rhlist Then |
571 | rht_assign_locked(bkt, obj) |
573 | atomic_inc( & nelems) |
577 | Return NULL |
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 |