Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
lib/rhashtable.c rhashtable_shrink() -> rhashtable_rehash_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ht->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ht->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ht->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ht->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ht->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ht->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ht->nelems.counter | s32min-(-2),1-s32max |
| PARAM_VALUE | 0 | ht->p.automatic_shrinking | 1 |
| PARAM_VALUE | 0 | ht->tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->tbl->future_tbl | 0 |
| PARAM_VALUE | 0 | ht->tbl->size | 1-u32max |
| PARAM_VALUE | 1 | old_tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | old_tbl->future_tbl | 0 |
| PARAM_VALUE | 1 | old_tbl->size | 1-u32max |
| PARAM_VALUE | 2 | size | 0-4294967294 |
| CAPPED_DATA | 0 | ht->p.min_size | 1 |
| CAPPED_DATA | 0 | ht->tbl | 1 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 0 | ht | $0 |
| PARAM_COMPARE | 0 | ht->p.min_size | < $1->size |
| PARAM_COMPARE | 0 | ht->p.min_size | <= $2 |
| PARAM_COMPARE | 1 | old_tbl->size | > $2 |
| PARAM_COMPARE | 2 | size | < $1->size |
| PARAM_COMPARE | 2 | size | >= $0->p.min_size |
| LOCK2 | 0 | &ht->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rhashtable)->mutex |
lib/rhashtable.c rht_deferred_worker() -> rhashtable_rehash_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ht->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ht->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ht->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ht->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ht->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ht->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ht->nelems.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ht->tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | old_tbl | 4096-ptr_max |
| CAPPED_DATA | 0 | &ht->mutex | 1 |
| LOCK2 | 0 | &ht->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rhashtable)->mutex |
lib/rhashtable.c rht_deferred_worker() -> rhashtable_rehash_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ht->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ht->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ht->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ht->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ht->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ht->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ht->nelems.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ht->tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | old_tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | old_tbl->nest | 1-u32max |
| CAPPED_DATA | 0 | &ht->mutex | 1 |
| LOCK2 | 0 | &ht->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rhashtable)->mutex |