Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/swapfile.c __do_sys_swapoff() -> del_from_avail_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->flags | 2-u64max |
| PARAM_VALUE | 0 | si->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | si->swap_file | 4096-ptr_max |
| PARAM_VALUE | 1 | swapoff | 1 |
| CAPPED_DATA | 0 | si->pages | 1 |
| CAPPED_DATA | 0 | si->swap_file->f_mapping | 1 |
| CAPPED_DATA | 0 | &si->list.node_list | 1 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 0 | si->flags | 0x2,0xffffffffffffdfff |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | global &swap_lock | ||
| LOCK2 | 0 | &si->lock | |
| TYPE_LOCK | (struct swap_info_struct)->lock |
mm/swapfile.c __do_sys_swapoff() -> del_from_avail_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->flags | 2-u64max |
| PARAM_VALUE | 0 | si->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | si->swap_file | 4096-ptr_max |
| PARAM_VALUE | 1 | swapoff | 1 |
| CAPPED_DATA | 0 | si->pages | 1 |
| CAPPED_DATA | 0 | si->swap_file->f_mapping | 1 |
| CAPPED_DATA | 0 | &si->list.node_list | 1 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 0 | si->flags | 0x2,0xffffffffffffdfff |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | global &swap_lock | ||
| LOCK2 | 0 | &si->lock | |
| TYPE_LOCK | (struct swap_info_struct)->lock |
mm/swapfile.c swap_usage_add() -> del_from_avail_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->flags | 2-u64max |
| PARAM_VALUE | 0 | *si->global_cluster->next | 0-4294967295 |
| PARAM_VALUE | 1 | swapoff | 0 |
| CAPPED_DATA | 0 | si->pages | 1 |
| DATA_SOURCE | 0 | si | $0 |
| BIT_INFO | 0 | si->flags | 0x2,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ci->lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &si->global_cluster_lock |