Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/resource.c __region_intersects() -> next_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | skip_children | 0 |
| PARAM_VALUE | 2 | subtree_root | 4096-ptr_max |
| CAPPED_DATA | 0 | p->start | 1 |
| CAPPED_DATA | 2 | subtree_root | 1 |
| CAPPED_DATA | 2 | subtree_root->start | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &hmem_resource_lock | ||
| HALF_LOCKED2 | global &resource_lock |
kernel/resource.c find_next_res() -> next_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 2 | subtree_root | 2936731392875139072,5124117421901426688 |
| CAPPED_DATA | 0 | p->start | 1 |
| CAPPED_DATA | 2 | subtree_root | 1 |
| DATA_SOURCE | 2 | subtree_root | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &resource_lock |
kernel/resource.c iomem_map_sanity_check() -> next_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | skip_children | 0 |
| PARAM_VALUE | 2 | subtree_root | 2936731392875139072 |
| BUF_SIZE | 2 | subtree_root | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &resource_lock |
kernel/resource.c r_next() -> next_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 1 | skip_children | 0 |
| PARAM_VALUE | 2 | subtree_root | 0 |
| DATA_SOURCE | 0 | p | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/resource.c r_start() -> next_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-u64max |
| PARAM_VALUE | 1 | skip_children | 0 |
| PARAM_VALUE | 2 | subtree_root | 4096-ptr_max |
| BUF_SIZE | 2 | subtree_root | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | subtree_root | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | subtree_root | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &resource_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/resource.c resource_is_exclusive() -> next_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 2 | subtree_root | 4096-ptr_max |
| CAPPED_DATA | 0 | p->start | 1 |
| CAPPED_DATA | 2 | subtree_root | 1 |
| DATA_SOURCE | 2 | subtree_root | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &resource_lock | ||
| HALF_LOCKED2 | &of->mutex |