| /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 …]
|
| H A D | idr.c | 385 XA_STATE(xas, &ida->xa, min / IDA_BITMAP_BITS); in ida_alloc_range() 558 XA_STATE(xas, &ida->xa, id / IDA_BITMAP_BITS); in ida_free() 612 XA_STATE(xas, &ida->xa, 0); in ida_destroy()
|
| /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/mm/ |
| H A D | filemap.c | 132 XA_STATE(xas, &mapping->i_pages, folio->index); in page_cache_delete() 283 XA_STATE(xas, &mapping->i_pages, fbatch->folios[0]->index); in page_cache_delete_batch() 484 XA_STATE(xas, &mapping->i_pages, start_byte >> PAGE_SHIFT); in filemap_range_has_page() 641 XA_STATE(xas, &mapping->i_pages, start_byte >> PAGE_SHIFT); in filemap_range_has_writeback() 817 XA_STATE(xas, &mapping->i_pages, offset); in replace_page_cache_folio() 1810 XA_STATE(xas, &mapping->i_pages, index); in page_cache_next_miss() 1847 XA_STATE(xas, &mapping->i_pages, index); in page_cache_prev_miss() 1895 XA_STATE(xas, &mapping->i_pages, index); in filemap_get_entry() 2119 XA_STATE(xas, &mapping->i_pages, *start); in find_get_entries() 2168 XA_STATE(xas, &mapping->i_pages, *start); in find_lock_entries() [all …]
|
| H A D | page-writeback.c | 2359 XA_STATE(xas, &mapping->i_pages, start); in tag_pages_for_writeback() 2999 XA_STATE(xas, &mapping->i_pages, folio->index); in __folio_start_writeback()
|
| H A D | migrate.c | 574 XA_STATE(xas, &mapping->i_pages, folio->index); in __folio_migrate_mapping() 729 XA_STATE(xas, &mapping->i_pages, src->index); in migrate_huge_page_move_mapping()
|
| /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/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()
|
| /linux/fs/netfs/ |
| H A D | fscache_io.c | 181 XA_STATE(xas, &mapping->i_pages, first); in __fscache_clear_page_bits()
|
| H A D | iterator.c | 201 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/core/ |
| H A D | restrack.c | 69 XA_STATE(xas, &rt->xa, 0); in rdma_restrack_count()
|
| /linux/drivers/block/ |
| H A D | brd.c | 52 XA_STATE(xas, &brd->brd_pages, sector >> PAGE_SECTORS_SHIFT); in brd_lookup_page()
|
| /linux/include/linux/ |
| H A D | iov_iter.h | 211 XA_STATE(xas, iter->xarray, index); in iterate_xarray()
|
| H A D | xarray.h | 1396 #define XA_STATE(name, array, index) \ macro
|
| H A D | pagemap.h | 1463 XA_STATE(xas, &rac->mapping->i_pages, 0); in __readahead_batch()
|
| /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 | 1951 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in lock_extent_buffer_for_io() 2052 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in buffer_tree_set_mark() 2064 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in buffer_tree_clear_mark() 2076 XA_STATE(xas, &fs_info->buffer_tree, start); in buffer_tree_tag_for_writeback() 2158 XA_STATE(xas, &fs_info->buffer_tree, *start); in buffer_tree_get_ebs_tag()
|
| /linux/fs/erofs/ |
| H A D | fscache.c | 49 XA_STATE(xas, &req->mapping->i_pages, start_page); in erofs_fscache_req_complete()
|