| /linux/tools/testing/radix-tree/ |
| H A D | iteration_check.c | 23 XA_STATE(xas, xa, index); in my_item_insert() 69 XA_STATE(xas, &array, 0); in tagged_iteration_fn() 102 XA_STATE(xas, &array, 0); in untagged_iteration_fn()
|
| H A D | test.c | 176 XA_STATE(xas, xa, start); in tag_tagged_items() 257 XA_STATE(xas, xa, 0); in item_kill_tree()
|
| H A D | iteration_check_2.c | 15 XA_STATE(xas, arg, 0); in iterator()
|
| H A D | regression1.c | 82 XA_STATE(xas, &mt_tree, start); in find_get_pages()
|
| /linux/lib/ |
| H A D | test_xarray.c | 104 XA_STATE(xas, xa, 0); in check_xas_retry() 220 XA_STATE(xas, xa, i); in check_xa_mark_1() 256 XA_STATE(xas, xa, 0); in check_xa_mark_2() 295 XA_STATE(xas, xa, 0x41); in check_xa_mark_3() 326 XA_STATE(xas, xa, 1); in check_xa_shrink() 547 XA_STATE(xas, xa, 0); in check_xas_erase() 587 XA_STATE(xas, xa, index); in check_multi_store_1() 612 XA_STATE(xas, xa, index); in check_multi_store_2() 626 XA_STATE(xas, xa, 0); in check_multi_store_3() 737 XA_STATE(xas, xa, index); in check_xa_multi_store_adv_add() [all …]
|
| H A D | xarray.c | 1614 XA_STATE(xas, xa, index); in xa_load() 1648 XA_STATE(xas, xa, index); in __xa_erase() 1694 XA_STATE(xas, xa, index); in __xa_store() 1773 XA_STATE(xas, xa, index); in __xa_cmpxchg_raw() 1875 XA_STATE(xas, xa, 0); in xa_store_range() 1950 XA_STATE(xas, xa, index); in xa_get_order() 1988 XA_STATE(xas, xa, 0); in __xa_alloc() 2078 XA_STATE(xas, xa, index); in __xa_set_mark() 2096 XA_STATE(xas, xa, index); in __xa_clear_mark() 2118 XA_STATE(xas, xa, index); in xa_get_mark() [all …]
|
| /linux/fs/cachefiles/ |
| H A D | ondemand.c | 25 XA_STATE(xas, NULL, 0); in cachefiles_ondemand_fd_release() 122 XA_STATE(xas, &cache->reqs, id); in cachefiles_ondemand_fd_ioctl() 167 XA_STATE(xas, &cache->reqs, 0); in cachefiles_ondemand_copen() 274 XA_STATE(xas, &cache->reqs, 0); in cachefiles_ondemand_restore() 421 XA_STATE(xas, &cache->reqs, cache->req_id_next); in cachefiles_ondemand_daemon_read() 492 XA_STATE(xas, &cache->reqs, 0); in cachefiles_ondemand_send_req()
|
| H A D | daemon.c | 361 XA_STATE(xas, &cache->reqs, 0); in cachefiles_daemon_poll()
|
| /linux/arch/arm64/kernel/ |
| H A D | hibernate.c | 243 XA_STATE(xa_state, &mte_pages, 0); in swsusp_mte_free_storage() 299 XA_STATE(xa_state, &mte_pages, 0); in swsusp_mte_restore_tags()
|
| /linux/fs/ |
| H A D | dax.c | 502 XA_STATE(xas, NULL, 0); in dax_lock_folio() 550 XA_STATE(xas, &mapping->i_pages, folio->index); in dax_unlock_folio() 570 XA_STATE(xas, NULL, 0); in dax_lock_mapping_entry() 613 XA_STATE(xas, &mapping->i_pages, index); in dax_unlock_mapping_entry() 762 XA_STATE(xas, &mapping->i_pages, start_idx); in dax_layout_busy_page_range() 818 XA_STATE(xas, &mapping->i_pages, index); in __dax_invalidate_entry() 843 XA_STATE(xas, &mapping->i_pages, start); in __dax_clear_dirty_range() 894 XA_STATE(xas, &mapping->i_pages, start_idx); in dax_delete_mapping_range() 1202 XA_STATE(xas, &mapping->i_pages, wbc->range_start >> PAGE_SHIFT); in dax_writeback_mapping_range() 1866 XA_STATE(xas, &mapping->i_pages, vmf->pgoff); in dax_iomap_pte_fault()
|
| /linux/mm/ |
| H A D | filemap.c | 132 XA_STATE(xas, &mapping->i_pages, folio->index); in page_cache_delete() 282 XA_STATE(xas, &mapping->i_pages, fbatch->folios[0]->index); in page_cache_delete_batch() 483 XA_STATE(xas, &mapping->i_pages, start_byte >> PAGE_SHIFT); in filemap_range_has_page() 640 XA_STATE(xas, &mapping->i_pages, start_byte >> PAGE_SHIFT); in filemap_range_has_writeback() 816 XA_STATE(xas, &mapping->i_pages, offset); in replace_page_cache_folio() 1804 XA_STATE(xas, &mapping->i_pages, index); in page_cache_next_miss() 1841 XA_STATE(xas, &mapping->i_pages, index); in page_cache_prev_miss() 1889 XA_STATE(xas, &mapping->i_pages, index); in filemap_get_entry() 2113 XA_STATE(xas, &mapping->i_pages, *start); in find_get_entries() 2162 XA_STATE(xas, &mapping->i_pages, *start); in find_lock_entries() [all …]
|
| H A D | truncate.c | 29 XA_STATE(xas, &mapping->i_pages, start); in clear_shadow_entries() 63 XA_STATE(xas, &mapping->i_pages, indices[0]); in truncate_folio_batch_exceptionals()
|
| H A D | memfd.c | 158 XA_STATE(xas, &mapping->i_pages, 0); in memfd_wait_for_pins()
|
| H A D | page-writeback.c | 2386 XA_STATE(xas, &mapping->i_pages, start); in tag_pages_for_writeback() 3026 XA_STATE(xas, &mapping->i_pages, folio->index); in __folio_start_writeback()
|
| H A D | migrate.c | 573 XA_STATE(xas, &mapping->i_pages, folio->index); in __folio_migrate_mapping() 726 XA_STATE(xas, &mapping->i_pages, src->index); in migrate_huge_page_move_mapping()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | main.c | 105 XA_STATE(xas, &ictx->objects, obj->id); in iommufd_object_finalize() 118 XA_STATE(xas, &ictx->objects, obj->id); in iommufd_object_abort() 211 XA_STATE(xas, &ictx->objects, id); in iommufd_object_remove()
|
| H A D | pages.c | 560 XA_STATE(xas, xa, start_index); in batch_from_xarray() 581 XA_STATE(xas, xa, start_index); in batch_from_xarray_clear() 603 XA_STATE(xas, xa, start_index); in clear_xarray() 617 XA_STATE(xas, xa, start_index); in pages_to_xarray() 2100 XA_STATE(xas, &pages->pinned_pfns, start_index); in iopt_pages_fill_from_xarray()
|
| /linux/drivers/infiniband/core/ |
| H A D | ib_core_uverbs.c | 268 XA_STATE(xas, &ucontext->mmap_xa, min_pgoff); in rdma_user_mmap_entry_insert_range()
|
| H A D | restrack.c | 69 XA_STATE(xas, &rt->xa, 0); in rdma_restrack_count()
|
| /linux/fs/netfs/ |
| H A D | iterator.c | 160 XA_STATE(xas, iter->xarray, index); in netfs_limit_xarray()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | xarray.rst | 256 高级API是基于xa_state的。这是一个不透明的数据结构,你使用XA_STATE()宏在堆栈中声明。这个宏初始化了
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_mr.c | 96 XA_STATE(xas, &mr->page_list, 0); in rxe_mr_fill_pages_from_sgt() 161 XA_STATE(xas, &mr->page_list, 0); in rxe_mr_alloc()
|
| /linux/include/linux/ |
| H A D | iov_iter.h | 211 XA_STATE(xas, iter->xarray, index); in iterate_xarray()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_counters.c | 115 XA_STATE(xas, &fc_stats->counters, 0); in mlx5_fc_stats_query_all_counters()
|
| /linux/fs/btrfs/ |
| H A D | extent_io.c | 1924 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in lock_extent_buffer_for_io() 2025 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in buffer_tree_set_mark() 2037 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in buffer_tree_clear_mark() 2049 XA_STATE(xas, &fs_info->buffer_tree, start); in buffer_tree_tag_for_writeback() 2131 XA_STATE(xas, &fs_info->buffer_tree, *start); in buffer_tree_get_ebs_tag()
|