Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/iommu/iommufd/pages.c
- fs/cachefiles/ondemand.c, line 575
- fs/dax.c, line 761
- lib/idr.c, line 456
- lib/test_xarray.c
- lib/xarray.c
- mm/filemap.c, line 932
- mm/khugepaged.c, line 2313
- mm/list_lru.c, line 614
- mm/shmem.c
- tools/testing/radix-tree/iteration_check.c, line 39
- tools/testing/radix-tree/multiorder.c, line 25
Smatch caller information:
lib/idr.c ida_alloc_range() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| DATA_SOURCE | 1 | gfp | $3 |
fs/dax.c grab_mapping_entry() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 538607196269289472,2804297901316567040 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc->parent | 0 |
| DATA_SOURCE | 0 | xas | $0 |
| BIT_INFO | 1 | gfp | 0x0,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | xas->xa_index | 0-4503599627370495 |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| HALF_LOCKED2 | &inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &mapping->invalidate_lock |
lib/xarray.c xa_store_range() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 1 | gfp | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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] |
| 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 |
| HALF_LOCKED2 | &inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/iommu/iommufd/pages.c pages_to_xarray() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | (-86) |
| PARAM_VALUE | 1 | gfp | 3264 |
| NOCHECK_CALL | |||
| LOCK2 | &access->ioas_lock | ||
| LOCK2 | &iopt->iova_rwsem | ||
| LOCK2 | &pages->mutex | ||
| HALF_LOCKED2 | &staccess->lock | ||
| HALF_LOCKED2 | &vgpu->cache_lock | ||
| TYPE_LOCK | (struct io_pagetable)->iova_rwsem | ||
| TYPE_LOCK | (struct iommufd_access)->ioas_lock | ||
| TYPE_LOCK | (struct iopt_pages)->mutex |
drivers/iommu/iommufd/pages.c pages_to_xarray() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,3,4096-18446744073709551614 |
| PARAM_VALUE | 1 | gfp | 3264 |
| LOCK2 | &access->ioas_lock | ||
| LOCK2 | &iopt->iova_rwsem | ||
| LOCK2 | &pages->mutex | ||
| HALF_LOCKED2 | &staccess->lock | ||
| HALF_LOCKED2 | &vgpu->cache_lock | ||
| TYPE_LOCK | (struct io_pagetable)->iova_rwsem | ||
| TYPE_LOCK | (struct iommufd_access)->ioas_lock | ||
| TYPE_LOCK | (struct iopt_pages)->mutex |
mm/shmem.c shmem_add_to_page_cache() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 0,32-17558752 |
| DATA_SOURCE | 1 | gfp | $4 [m] |
| BIT_INFO | 1 | gfp | 0x0,0x10bece0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &session->mutex | ||
| HALF_LOCKED2 | &state.ctx->map_changing_lock | ||
| HALF_LOCKED2 | _T->lock |
mm/shmem.c shmem_split_large_entry() -> xas_nomem()
| 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 |
| PARAM_VALUE | 1 | gfp | 0,32-17558752 |
| DATA_SOURCE | 1 | gfp | $3 [m] |
| BIT_INFO | 1 | gfp | 0x0,0x10bece0 |
| 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 |
| HALF_LOCKED2 | &inode->i_rwsem |
mm/filemap.c __filemap_add_folio() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4278563593193455616 |
| PARAM_VALUE | 1 | gfp | 0,32-17558752 |
| DATA_SOURCE | 1 | gfp | $3 [m] |
| BIT_INFO | 1 | gfp | 0x0,0x10bece0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | xas->xa_offset | 0-255 |
mm/list_lru.c __memcg_list_lru_alloc() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 5896713352104103936 |
| PARAM_VALUE | 1 | gfp | 0,32-17558752 |
| DATA_SOURCE | 1 | gfp | $2 [m] |
| BIT_INFO | 1 | gfp | 0x0,0x10bece0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/test_xarray.c __check_store_iter() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
lib/test_xarray.c check_create_range_4() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-18446744073709551614 |
| PARAM_VALUE | 1 | gfp | 3264 |
lib/test_xarray.c check_create_range_5() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa | 5024146686711472128 |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0,4096-18446744073709551614 |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 1 | gfp | 3264 |
lib/test_xarray.c check_split_2() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 5500646605020205056 |
| PARAM_VALUE | 0 | xas->xa | 5024146686711472128 |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | (-46) |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 1-6 |
| PARAM_VALUE | 1 | gfp | 3264 |
lib/test_xarray.c check_workingset() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 3557312703736500224 |
| PARAM_VALUE | 1 | gfp | 3264 |
lib/test_xarray.c check_xa_multi_store_adv_add() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 6155665963776450560 |
| PARAM_VALUE | 1 | gfp | 3264 |
lib/test_xarray.c check_xas_conflict_get_order() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 5279462268744273920 |
| PARAM_VALUE | 1 | gfp | 3264 |
lib/test_xarray.c check_xas_erase() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 2476226735273304064 |
| PARAM_VALUE | 1 | gfp | 3264 |
lib/test_xarray.c check_xas_erase() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 2476226735273304064 |
| PARAM_VALUE | 1 | gfp | 3264 |
lib/test_xarray.c check_xas_get_order() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4596740266813808640 |
| PARAM_VALUE | 1 | gfp | 3264 |
lib/test_xarray.c xa_store_many_order() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-18446744073709551614 |
| PARAM_VALUE | 1 | gfp | 3264 |
lib/test_xarray.c xa_store_order() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 1 | gfp | $4 |
mm/khugepaged.c collapse_file() -> xas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4184487716943413248 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_lru | 0,1444489299079577600 |
| PARAM_VALUE | 0 | xas->xa_node | 18446744073709535238-18446744073709551614 |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_update | 0,8350410864724193280 |
| PARAM_VALUE | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock |