Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/power/snapshot.c mem_bm_set_bit_check() -> memory_bm_find_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bm | 4096-ptr_max |
| PARAM_VALUE | 0 | bm->cur.node_bit | 0 |
| PARAM_VALUE | 0 | bm->cur.node_pfn | 0,32768-u64max |
| PARAM_VALUE | 0 | bm->cur.zone | 4096-ptr_max |
| PARAM_VALUE | 0 | bm->p_list | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bm->zones.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bm->zones.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pfn | 0-18446744073709551614 |
| PARAM_VALUE | 2 | addr | 383650493843435520 |
| PARAM_VALUE | 3 | bit_nr | 1911069673517723648 |
| BUF_SIZE | 0 | bm | 64 |
| CAPPED_DATA | 1 | pfn | 1 |
| CAPPED_DATA | 1 | pfn | 1 |
| DATA_SOURCE | 0 | bm | $0 |
| DATA_SOURCE | 1 | pfn | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pfn | unit_page |
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
kernel/power/snapshot.c memory_bm_clear_bit() -> memory_bm_find_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bm | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 2193018910881845248 |
| PARAM_VALUE | 3 | bit_nr | 1183100490006368256 |
| DATA_SOURCE | 0 | bm | $0 |
| DATA_SOURCE | 1 | pfn | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
kernel/power/snapshot.c memory_bm_pfn_present() -> memory_bm_find_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bm | 3906572357807849472 |
| PARAM_VALUE | 0 | bm->cur.node_bit | 0-65 |
| PARAM_VALUE | 0 | bm->p_list | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pfn | 0-4503599627370495 |
| PARAM_VALUE | 2 | addr | 2136295318073712640 |
| PARAM_VALUE | 3 | bit_nr | 5840042406683009024 |
| CAPPED_DATA | 1 | pfn | 1 |
| CAPPED_DATA | 1 | pfn | 1 |
| DATA_SOURCE | 0 | bm | $0 |
| DATA_SOURCE | 1 | pfn | $1 |
| BIT_INFO | 1 | pfn | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
kernel/power/snapshot.c memory_bm_set_bit() -> memory_bm_find_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bm | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 2429622577764069376 |
| PARAM_VALUE | 3 | bit_nr | 6489695069973639168 |
| DATA_SOURCE | 0 | bm | $0 |
| DATA_SOURCE | 1 | pfn | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pfn | unit_page |
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
kernel/power/snapshot.c memory_bm_test_bit() -> memory_bm_find_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bm | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 5207703096071802880 |
| PARAM_VALUE | 3 | bit_nr | 6574067137452560384 |
| DATA_SOURCE | 0 | bm | $0 |
| DATA_SOURCE | 1 | pfn | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &system_transition_mutex |