Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/swapfile.c swap_dup_entries_cluster() -> swap_extend_table_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | ci->extend_table | 0 |
| PARAM_VALUE | 1 | ci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | gfp | 2080 |
| CAPPED_DATA | 1 | ci->table | 1 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 1 | ci | r swap_cluster_lock |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | dst_ptl | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | src_ptl |
mm/swapfile.c swap_retry_table_alloc() -> swap_extend_table_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->max | 1-u32max |
| PARAM_VALUE | 0 | si->users.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | ci_off | 0-511 |
| PARAM_VALUE | 3 | gfp | 3264 |
| DATA_SOURCE | 0 | si | r get_swap_device |
| DATA_SOURCE | 1 | ci | r __swap_offset_to_cluster |
| DATA_SOURCE | 3 | gfp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &oldmm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |