Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/swapfile.c free_cluster() -> __free_cluster()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | *si->global_cluster->next | 0-4294967295 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | ci->count | 0 |
| PARAM_VALUE | 1 | ci->flags | 0,2-255 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 1 | ci | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &si->global_cluster_lock | |
| HALF_LOCKED2 | 1 | &ci->lock |
mm/swapfile.c swap_do_scheduled_discard() -> __free_cluster()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | ci->flags | 0 |
| PARAM_VALUE | 1 | ci->lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &si->discard_clusters | 1 |
| DATA_SOURCE | 0 | si | $0 |
| PARAM_COMPARE | 0 | &si->discard_clusters | != $0->discard_clusters.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 1 | &ci->lock | |
| TYPE_LOCK | (struct swap_cluster_info)->lock |