Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 5 files:
Smatch caller information:
lib/xarray.c xa_get_order() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 8581684615636942848 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 0 |
| PARAM_VALUE | 0 | xas->xa_sibs | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
mm/shmem.c shmem_add_to_page_cache() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 0,4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | irq |
mm/shmem.c shmem_confirm_swap() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 3766250426435674112 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 0 |
| PARAM_VALUE | 0 | xas->xa_sibs | 0 |
| NOSPEC | 0 | xas->xa_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | xas->xa_index | 0-2251799813685247[c] |
| HOST_DATA | 0 | xas->xa_offset | 0-15[c] |
| USER_DATA | 0 | xas->xa_index | 0-2251799813685247[c] |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| LOCK2 | rcu_read |
mm/shmem.c shmem_free_swap() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 0 |
| PARAM_VALUE | 0 | xas->xa_sibs | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &encl->lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | obj->base.resv |
mm/shmem.c shmem_partial_swap_usage() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 6448362035493040128 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 0 |
| PARAM_VALUE | 0 | xas->xa_sibs | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &m->lock |
mm/shmem.c shmem_split_large_entry() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-ptr_max,(-86),(-66) |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | xas->xa_index | 0-2251799813685247[c] |
| HOST_DATA | 0 | xas->xa_offset | 0-15[c] |
| USER_DATA | 0 | xas->xa_index | 0-2251799813685247[c] |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &inode->i_rwsem |
mm/filemap.c __filemap_add_folio() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4278563593193455616 |
| PARAM_VALUE | 0 | xas->xa_alloc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 0,4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | irq |
mm/filemap.c filemap_cachestat() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 8973220117944201216 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 0 |
| PARAM_VALUE | 0 | xas->xa_sibs | 0 |
| USER_DATA | 0 | xas->xa_index | 0-4503599627370495[c] |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| LOCK2 | rcu_read |
mm/filemap.c find_lock_entries() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 1557338091834888192 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 0 |
| PARAM_VALUE | 0 | xas->xa_sibs | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | xas->xa_index | 0-4503599627370495,18444492273895866368-u64max[c] |
| LOCK2 | rcu_read |
mm/filemap.c seek_folio_size() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 3296202185961701376 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4-ptr_max,(-1) |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 0 |
| PARAM_VALUE | 0 | xas->xa_sibs | 0 |
| DATA_SOURCE | 0 | xas | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | xas->xa_index | 0-2251799813685247 |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &inode->i_rwsem |
lib/test_xarray.c check_xas_conflict_get_order() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 5279462268744273920 |
| PARAM_VALUE | 0 | xas->xa_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_shift | 1-18 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &((&xas)->xa)->xa_lock |
lib/test_xarray.c check_xas_conflict_get_order() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 5279462268744273920 |
| PARAM_VALUE | 0 | xas->xa_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_shift | 1-19 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &((&xas)->xa)->xa_lock |
lib/test_xarray.c check_xas_get_order() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4596740266813808640 |
| PARAM_VALUE | 0 | xas->xa_index | 0-18446744073709551614 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_shift | 0 |
| PARAM_VALUE | 0 | xas->xa_sibs | 0 |
| LOCK2 | rcu_read |
mm/khugepaged.c collapse_scan_file() -> xas_get_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 6626938681375535104 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 0 |
| PARAM_VALUE | 0 | xas->xa_sibs | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &mm->mmap_lock |