/linux-6.6.21/tools/testing/radix-tree/ |
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()
|
D | multiorder.c | 36 XA_STATE(xas, xa, 0); in multiorder_iteration() 76 XA_STATE(xas, xa, 0); in multiorder_tagged_iteration() 182 XA_STATE(xas, ptr, 0); in iterator_func()
|
D | iteration_check_2.c | 15 XA_STATE(xas, arg, 0); in iterator()
|
D | test.c | 176 XA_STATE(xas, xa, start); in tag_tagged_items() 257 XA_STATE(xas, xa, 0); in item_kill_tree()
|
D | regression1.c | 82 XA_STATE(xas, &mt_tree, start); in find_get_pages()
|
/linux-6.6.21/lib/ |
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() 494 XA_STATE(xas, xa, 0); in check_xas_erase() 534 XA_STATE(xas, xa, index); in check_multi_store_1() 559 XA_STATE(xas, xa, index); in check_multi_store_2() 573 XA_STATE(xas, xa, 0); in check_multi_store_3() 975 XA_STATE(xas, xa, j + index); in check_multi_find_2() [all …]
|
D | xarray.c | 1456 XA_STATE(xas, xa, index); in xa_load() 1494 XA_STATE(xas, xa, index); in __xa_erase() 1540 XA_STATE(xas, xa, index); in __xa_store() 1606 XA_STATE(xas, xa, index); in __xa_cmpxchg() 1643 XA_STATE(xas, xa, index); in __xa_insert() 1719 XA_STATE(xas, xa, 0); in xa_store_range() 1761 XA_STATE(xas, xa, index); in xa_get_order() 1816 XA_STATE(xas, xa, 0); in __xa_alloc() 1906 XA_STATE(xas, xa, index); in __xa_set_mark() 1924 XA_STATE(xas, xa, index); in __xa_clear_mark() [all …]
|
D | idr.c | 383 XA_STATE(xas, &ida->xa, min / IDA_BITMAP_BITS); in ida_alloc_range() 489 XA_STATE(xas, &ida->xa, id / IDA_BITMAP_BITS); in ida_free() 543 XA_STATE(xas, &ida->xa, 0); in ida_destroy()
|
/linux-6.6.21/mm/ |
D | filemap.c | 129 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() 476 XA_STATE(xas, &mapping->i_pages, start_byte >> PAGE_SHIFT); in filemap_range_has_page() 634 XA_STATE(xas, &mapping->i_pages, start_byte >> PAGE_SHIFT); in filemap_range_has_writeback() 812 XA_STATE(xas, &mapping->i_pages, offset); in replace_page_cache_folio() 847 XA_STATE(xas, &mapping->i_pages, index); in __filemap_add_folio() 1734 XA_STATE(xas, &mapping->i_pages, index); in page_cache_next_miss() 1770 XA_STATE(xas, &mapping->i_pages, index); in page_cache_prev_miss() 1818 XA_STATE(xas, &mapping->i_pages, index); in filemap_get_entry() 2027 XA_STATE(xas, &mapping->i_pages, *start); in find_get_entries() [all …]
|
D | list_lru.c | 376 XA_STATE(xas, &lru->xa, 0); in memcg_destroy_list_lru() 481 XA_STATE(xas, &lru->xa, 0); in memcg_list_lru_alloc()
|
D | memfd.c | 77 XA_STATE(xas, &mapping->i_pages, 0); in memfd_wait_for_pins()
|
D | swap_state.c | 146 XA_STATE(xas, &address_space->i_pages, idx); in __delete_from_swap_cache() 255 XA_STATE(xas, &address_space->i_pages, curr); in clear_shadow_from_swap_cache()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | hibernate.c | 243 XA_STATE(xa_state, &mte_pages, 0); in swsusp_mte_free_storage() 293 XA_STATE(xa_state, &mte_pages, 0); in swsusp_mte_restore_tags()
|
/linux-6.6.21/arch/arm64/mm/ |
D | mteswap.c | 77 XA_STATE(xa_state, &mte_pages, entry.val); in mte_invalidate_tags_area()
|
/linux-6.6.21/fs/cachefiles/ |
D | ondemand.c | 14 XA_STATE(xas, &cache->reqs, 0); in cachefiles_ondemand_fd_release() 245 XA_STATE(xas, &cache->reqs, cache->req_id_next); in cachefiles_ondemand_daemon_read() 317 XA_STATE(xas, &cache->reqs, 0); in cachefiles_ondemand_send_req()
|
/linux-6.6.21/fs/ |
D | dax.c | 425 XA_STATE(xas, NULL, 0); in dax_lock_folio() 473 XA_STATE(xas, &mapping->i_pages, folio->index); in dax_unlock_folio() 493 XA_STATE(xas, NULL, 0); in dax_lock_mapping_entry() 536 XA_STATE(xas, &mapping->i_pages, index); in dax_unlock_mapping_entry() 685 XA_STATE(xas, &mapping->i_pages, start_idx); in dax_layout_busy_page_range() 748 XA_STATE(xas, &mapping->i_pages, index); in __dax_invalidate_entry() 773 XA_STATE(xas, &mapping->i_pages, start); in __dax_clear_dirty_range() 1028 XA_STATE(xas, &mapping->i_pages, wbc->range_start >> PAGE_SHIFT); in dax_writeback_mapping_range() 1701 XA_STATE(xas, &mapping->i_pages, vmf->pgoff); in dax_iomap_pte_fault()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | ib_core_uverbs.c | 268 XA_STATE(xas, &ucontext->mmap_xa, min_pgoff); in rdma_user_mmap_entry_insert_range()
|
D | restrack.c | 116 XA_STATE(xas, &rt->xa, 0); in rdma_restrack_count()
|
/linux-6.6.21/drivers/iommu/iommufd/ |
D | pages.c | 523 XA_STATE(xas, xa, start_index); in batch_from_xarray() 544 XA_STATE(xas, xa, start_index); in batch_from_xarray_clear() 566 XA_STATE(xas, xa, start_index); in clear_xarray() 580 XA_STATE(xas, xa, start_index); in pages_to_xarray() 1595 XA_STATE(xas, &pages->pinned_pfns, start_index); in iopt_pages_fill_from_xarray()
|
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | xarray.rst | 256 高级API是基于xa_state的。这是一个不透明的数据结构,你使用XA_STATE()宏在堆栈中声明。这个宏初始化了
|
/linux-6.6.21/fs/fscache/ |
D | io.c | 219 XA_STATE(xas, &mapping->i_pages, first); in __fscache_clear_page_bits()
|
/linux-6.6.21/drivers/infiniband/sw/rxe/ |
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-6.6.21/fs/netfs/ |
D | buffered_read.c | 25 XA_STATE(xas, &rreq->mapping->i_pages, start_page); in netfs_rreq_unlock_folios()
|
/linux-6.6.21/fs/nfs/ |
D | fscache.c | 314 XA_STATE(xas, &sreq->rreq->mapping->i_pages, start); in nfs_netfs_issue_read()
|
/linux-6.6.21/arch/x86/kernel/cpu/sgx/ |
D | encl.c | 530 XA_STATE(xas, &encl->page_array, PFN_DOWN(start)); in sgx_encl_may_map() 708 XA_STATE(xas, &encl->page_array, PFN_DOWN(encl->base)); in sgx_encl_release()
|