Home
last modified time | relevance | path

Searched refs:XA_STATE (Results 1 – 25 of 32) sorted by relevance

12

/linux/tools/testing/radix-tree/
H A Diteration_check.c23 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 Dtest.c176 XA_STATE(xas, xa, start); in tag_tagged_items()
257 XA_STATE(xas, xa, 0); in item_kill_tree()
H A Diteration_check_2.c15 XA_STATE(xas, arg, 0); in iterator()
H A Dregression1.c82 XA_STATE(xas, &mt_tree, start); in find_get_pages()
/linux/lib/
H A Dtest_xarray.c104 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 Dxarray.c1614 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 Didr.c385 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 Dondemand.c25 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 Ddaemon.c361 XA_STATE(xas, &cache->reqs, 0); in cachefiles_daemon_poll()
/linux/mm/
H A Dfilemap.c132 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 Dpage-writeback.c2359 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 Dmigrate.c574 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 Dhibernate.c243 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 Dmain.c105 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 Dfscache_io.c181 XA_STATE(xas, &mapping->i_pages, first); in __fscache_clear_page_bits()
H A Diterator.c201 XA_STATE(xas, iter->xarray, index); in netfs_limit_xarray()
/linux/Documentation/translations/zh_CN/core-api/
H A Dxarray.rst256 高级API是基于xa_state的。这是一个不透明的数据结构,你使用XA_STATE()宏在堆栈中声明。这个宏初始化了
/linux/drivers/infiniband/core/
H A Drestrack.c69 XA_STATE(xas, &rt->xa, 0); in rdma_restrack_count()
/linux/drivers/block/
H A Dbrd.c52 XA_STATE(xas, &brd->brd_pages, sector >> PAGE_SECTORS_SHIFT); in brd_lookup_page()
/linux/include/linux/
H A Diov_iter.h211 XA_STATE(xas, iter->xarray, index); in iterate_xarray()
H A Dxarray.h1396 #define XA_STATE(name, array, index) \ macro
H A Dpagemap.h1463 XA_STATE(xas, &rac->mapping->i_pages, 0); in __readahead_batch()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_counters.c115 XA_STATE(xas, &fc_stats->counters, 0); in mlx5_fc_stats_query_all_counters()
/linux/fs/btrfs/
H A Dextent_io.c1951 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 Dfscache.c49 XA_STATE(xas, &req->mapping->i_pages, start_page); in erofs_fscache_req_complete()

12