Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/zsmalloc.c fix_fullness_group() -> remove_zspage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 4096-ptr_max |
| PARAM_VALUE | 0 | class->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | zspage | 4096-ptr_max |
| DATA_SOURCE | 0 | class | $0 |
| DATA_SOURCE | 1 | zspage | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &class->lock | |
| TYPE_LOCK | (struct size_class)->lock |
mm/zsmalloc.c free_zspage() -> remove_zspage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 4096-ptr_max |
| PARAM_VALUE | 0 | class->index | 0-254 |
| PARAM_VALUE | 0 | class->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *class->stats.objs | 1 |
| PARAM_VALUE | 1 | zspage | 4096-ptr_max |
| PARAM_VALUE | 1 | zspage->first_zpdesc | 4096-ptr_max |
| PARAM_VALUE | 1 | zspage->first_zpdesc->flags.f | 0-s64max |
| PARAM_VALUE | 1 | zspage->inuse | 0 |
| PARAM_VALUE | 1 | zspage->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | zspage->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | zspage->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | zspage->zsl.cnt | 0 |
| PARAM_VALUE | 1 | zspage->zsl.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | class->index | 1 |
| CAPPED_DATA | 1 | &zspage->list | 1 |
| DATA_SOURCE | 0 | class | $1 |
| DATA_SOURCE | 1 | zspage | $2 |
| PARAM_COMPARE | 1 | &zspage->list | != $1->list.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &class->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct size_class)->lock | ||
| TYPE_LOCK | (struct zs_pool)->lock |
mm/zsmalloc.c isolate_dst_zspage() -> remove_zspage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 4096-ptr_max |
| PARAM_VALUE | 0 | class->fullness_list | 4096-ptr_max |
| PARAM_VALUE | 0 | class->index | 0-254 |
| PARAM_VALUE | 0 | class->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | zspage | 4096-ptr_max |
| CAPPED_DATA | 0 | class->index | 1 |
| DATA_SOURCE | 0 | class | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &class->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct size_class)->lock | ||
| TYPE_LOCK | (struct zs_pool)->lock |
mm/zsmalloc.c isolate_src_zspage() -> remove_zspage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 4096-ptr_max |
| PARAM_VALUE | 0 | class->fullness_list | 4096-ptr_max |
| PARAM_VALUE | 0 | class->index | 0-254 |
| PARAM_VALUE | 0 | class->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | zspage | 4096-ptr_max |
| CAPPED_DATA | 0 | class->index | 1 |
| DATA_SOURCE | 0 | class | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &class->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct size_class)->lock | ||
| TYPE_LOCK | (struct zs_pool)->lock |
mm/zsmalloc.c zs_free() -> remove_zspage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 4096-ptr_max |
| PARAM_VALUE | 0 | class->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | zspage | 4096-ptr_max |
| PARAM_VALUE | 1 | zspage->first_zpdesc | 4096-ptr_max |
| PARAM_VALUE | 1 | zspage->first_zpdesc->flags.f | 0-s64max |
| PARAM_VALUE | 1 | zspage->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | zspage->magic | 88 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &class->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct size_class)->lock |