Documented in 1 files:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

mm/huge_memory.c __folio_split() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 2322829303633539072
PARAM_VALUE 0 xas->xa_node 3
PARAM_VALUE 0 xas->xa_shift 0
PARAM_VALUE 0 xas->xa_sibs 0
PARAM_VALUE 2 order 0-254
CAPPED_DATA 2 order 1
DATA_SOURCE 2 order $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 index unit_page
HALF_LOCKED2 global &ksm_thread_mutex
HALF_LOCKED2 global &mf_mutex

mm/huge_memory.c __split_unmapped_folio() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 0,2322829303633539072
PARAM_VALUE 0 xas->xa_node 0-1,3,4096-ptr_max
PARAM_VALUE 0 xas->xa_shift 0-254
PARAM_VALUE 2 order 0-254
CAPPED_DATA 0 xas->xa_node 1
DATA_SOURCE 0 xas $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 index unit_page
LOCK2 irq
HALF_LOCKED2 &mapping->i_mmap_rwsem
HALF_LOCKED2 rcu_read

lib/xarray.c xa_store_range() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 4096-ptr_max
PARAM_VALUE 0 xas->xa_node 3
PARAM_VALUE 1 index 0-9007199254740989,u64max
DATA_SOURCE 1 index $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 xas->xa_index 0-u64max[c]
HOST_DATA 0 xas->xa_offset 0-15[c]
HOST_DATA 0 xas->xa_sibs 0-15,255[c]
HOST_DATA 1 index 4095-4294963199,u32max-9007194959769599,u64max[c]
USER_DATA 0 xas->xa_index 0-524287[c]
USER_DATA 0 xas->xa_offset 0-255
USER_DATA 0 xas->xa_sibs 0-255
USER_DATA 1 index 0-4503599627894781,u64max[u]
UNITS 2 order unit_bit
LOCK2 &((&xas)->xa)->xa_lock
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 _T->lock

mm/shmem.c shmem_split_large_entry() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 4096-ptr_max
PARAM_VALUE 0 xas->xa_node 0-1,4096-ptr_max
PARAM_VALUE 2 order 0-s32max
CAPPED_DATA 2 order 1
DATA_SOURCE 1 index $1
NOSPEC 1 index
NOSPEC 1 index
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 xas->xa_index 0-2251799813685247[c]
HOST_DATA 0 xas->xa_offset 0-15[c]
HOST_DATA 1 index 0-2251799813685247[c]
USER_DATA 0 xas->xa_index 0-2251799813685247[c]
USER_DATA 0 xas->xa_offset 0-255
USER_DATA 1 index 0-2251799813685247[c]
UNITS 1 index unit_page
LOCK2 &((&xas)->xa)->xa_lock
LOCK2 irq
HALF_LOCKED2 &inode->i_rwsem

mm/filemap.c __filemap_add_folio() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 4278563593193455616
PARAM_VALUE 0 xas->xa_node 0-1,4096-ptr_max
PARAM_VALUE 2 order 0-s32max
CAPPED_DATA 2 order 1
DATA_SOURCE 1 index $2
NOSPEC 1 index
NOSPEC 1 index
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 index 0-1292716[c]
USER_DATA 0 xas->xa_offset 0-255
USER_DATA 1 index 0-u64max
UNITS 1 index unit_page
LOCK2 &((&xas)->xa)->xa_lock
LOCK2 irq

mm/filemap.c __filemap_add_folio() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 4278563593193455616
PARAM_VALUE 0 xas->xa_node 3
PARAM_VALUE 2 order 0-255
CAPPED_DATA 2 order 1
DATA_SOURCE 1 index $2
DATA_SOURCE 2 order r folio_order
NOSPEC 1 index
NOSPEC 1 index
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 index 0-1292716[c]
USER_DATA 0 xas->xa_offset 0-255
USER_DATA 1 index 0-u64max
UNITS 1 index unit_page

mm/filemap.c page_cache_delete() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 4579885240732745728
PARAM_VALUE 0 xas->xa_node 3
PARAM_VALUE 0 xas->xa_shift 0
PARAM_VALUE 0 xas->xa_sibs 0
PARAM_VALUE 2 order 0-255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 xas->xa_index
NO_OVERFLOW_SIMPLE 1 index
UNITS 1 index unit_page
LOCK2 irq
HALF_LOCKED2 &(&mapping->i_pages)->xa_lock
HALF_LOCKED2 &folio->private->lock
HALF_LOCKED2 &mapping->host->i_lock
HALF_LOCKED2 rcu_read

lib/test_xarray.c check_split_1() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 8714264325197791232
PARAM_VALUE 0 xas->xa_node 0-1,4096-ptr_max
PARAM_VALUE 0 xas->xa_shift 1-6
PARAM_VALUE 2 order 0
CAPPED_DATA 1 index 1
CAPPED_DATA 1 index 1
DATA_SOURCE 1 index $1
NOCHECK_CALL

lib/test_xarray.c check_split_2() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 5500646605020205056
PARAM_VALUE 0 xas->xa_node 0-1,4096-ptr_max,(-86)
PARAM_VALUE 0 xas->xa_shift 1-6
PARAM_VALUE 2 order 0
CAPPED_DATA 1 index 1
CAPPED_DATA 1 index 1
DATA_SOURCE 1 index $1
NOCHECK_CALL

lib/test_xarray.c check_xa_multi_store_adv_add() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 6155665963776450560
PARAM_VALUE 0 xas->xa_index 0-8589934590
PARAM_VALUE 0 xas->xa_node 3
PARAM_VALUE 0 xas->xa_shift 0
PARAM_VALUE 0 xas->xa_sibs 0
PARAM_VALUE 1 index 0-8589934590
PARAM_VALUE 2 order 0-19
CAPPED_DATA 1 index 1
CAPPED_DATA 1 index 1
DATA_SOURCE 1 index $1
DATA_SOURCE 2 order $2
NOCHECK_CALL

lib/test_xarray.c check_xa_multi_store_adv_del_entry() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 2236783299100811264
PARAM_VALUE 0 xas->xa_index 0-8589934590
PARAM_VALUE 0 xas->xa_node 3
PARAM_VALUE 0 xas->xa_shift 0
PARAM_VALUE 0 xas->xa_sibs 0
PARAM_VALUE 1 index 0-8589934590
PARAM_VALUE 2 order 0-19
CAPPED_DATA 1 index 1
CAPPED_DATA 1 index 1
DATA_SOURCE 1 index $1
DATA_SOURCE 2 order $2
PREEMPT_ADD
NOCHECK_CALL
LOCK2 &xa->xa_lock
LOCK2 irq
TYPE_LOCK (struct xarray)->xa_lock

lib/test_xarray.c check_xas_conflict_get_order() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 5279462268744273920
PARAM_VALUE 2 order 0-19
FUZZY_MAX 2 order 19
NOCHECK_CALL

lib/test_xarray.c check_xas_conflict_get_order() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 5279462268744273920
PARAM_VALUE 2 order 0-18
CAPPED_DATA 2 order 1
NOCHECK_CALL

lib/test_xarray.c check_xas_conflict_get_order() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 5279462268744273920
PARAM_VALUE 2 order 1-19
CAPPED_DATA 2 order 1
NOCHECK_CALL

lib/test_xarray.c check_xas_conflict_get_order() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 5279462268744273920
PARAM_VALUE 2 order 0-19
CAPPED_DATA 1 index 1
CAPPED_DATA 2 order 1
FUZZY_MAX 2 order 19
NOCHECK_CALL

lib/test_xarray.c check_xas_get_order() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 4596740266813808640
PARAM_VALUE 2 order 0-19
FUZZY_MAX 2 order 19
NOCHECK_CALL

lib/test_xarray.c check_xas_get_order() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 4596740266813808640
PARAM_VALUE 1 index 0-18446744073709551614
PARAM_VALUE 2 order 0
CAPPED_DATA 1 index 1
CAPPED_DATA 1 index 1
NOCHECK_CALL

lib/test_xarray.c check_xas_get_order() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 4596740266813808640
PARAM_VALUE 2 order 0-19
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &((&xas)->xa)->xa_lock

mm/khugepaged.c collapse_file() -> xas_set_order()

Type Parameter Key Value
PARAM_VALUE 0 xas 4184487716943413248
PARAM_VALUE 2 order 9
DATA_SOURCE 1 index $3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 index unit_page
LOCK2 &((&xas)->xa)->xa_lock
LOCK2 irq
HALF_LOCKED2 &mm->mmap_lock