Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/clk/mvebu/ap-cpu-clk.c
- drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c
- fs/exfat/iomap.c
- fs/ext4/extents.c
- mm/swapfile.c
Smatch caller information:
mm/swapfile.c __swap_cluster_alloc_entries() -> cluster_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->flags | 2-u64max |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| CAPPED_DATA | 1 | ci->table | 1 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 1 | ci | $1 |
| BIT_INFO | 0 | si->flags | 0x2,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &si->global_cluster_lock |
mm/swapfile.c __swap_cluster_free_entries() -> cluster_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| CAPPED_DATA | 1 | ci->table | 1 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 1 | ci | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 1 | &ci->lock |
mm/swapfile.c alloc_swap_scan_list() -> cluster_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 1 | ci | r isolate_lock_cluster |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &si->global_cluster_lock |
mm/swapfile.c cluster_alloc_swap_entry() -> cluster_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 1 | ci | r swap_cluster_lock |
| BIT_INFO | 0 | si->flags | 0x0,0xffffffffffffffef |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &si->global_cluster_lock | |
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct swap_info_struct)->global_cluster_lock |
mm/swapfile.c swap_alloc_fast() -> cluster_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| DATA_SOURCE | 1 | ci | r swap_cluster_lock |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/swapfile.c swap_reclaim_full_clusters() -> cluster_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 1 | ci | r isolate_lock_cluster |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &si->global_cluster_lock |