| /linux/lib/ |
| H A D | idr.c | 414 xas_store(&xas, xa_mk_value(tmp)); in ida_alloc_range() 424 xas_store(&xas, bitmap); in ida_alloc_range() 452 xas_store(&xas, bitmap); in ida_alloc_range() 578 xas_store(&xas, xa_mk_value(v)); in ida_free() 587 xas_store(&xas, NULL); in ida_free() 620 xas_store(&xas, NULL); in ida_destroy()
|
| H A D | test_xarray.c | 79 curr = xas_store(&xas, entry); in xa_store_order() 133 xas_store(&xas, XA_RETRY_ENTRY); in check_xas_retry() 135 xas_store(&xas, XA_RETRY_ENTRY); in check_xas_retry() 139 xas_store(&xas, xa_mk_index(xas.xa_index)); in check_xas_retry() 343 XA_BUG_ON(xa, xas_store(&xas, NULL) != xa_mk_value(1)); in check_xa_shrink() 556 xas_store(&xas, xa_mk_index(j)); in check_xas_erase() 564 xas_store(&xas, xa_mk_value(0)); in check_xas_erase() 569 xas_store(&xas, NULL); in check_xas_erase() 575 xas_store(&xas, NULL); in check_xas_erase() 598 XA_BUG_ON(xa, xas_store(&xas, xa_mk_index(min)) != xa_mk_index(index)); in check_multi_store_1() [all …]
|
| H A D | xarray.c | 783 void *xas_store(struct xa_state *xas, void *entry) in xas_store() function 855 EXPORT_SYMBOL_GPL(xas_store); 1649 return xas_result(&xas, xa_zero_to_null(xas_store(&xas, NULL))); in __xa_erase() 1703 curr = xas_store(&xas, entry); in __xa_store() 1782 xas_store(&xas, entry); in __xa_cmpxchg_raw() 1895 xas_store(&xas, entry); in xa_store_range() 2005 xas_store(&xas, entry); in __xa_alloc() 2369 xas_store(&xas, NULL); in xa_delete_node()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | xarray.rst | 312 为 ``XA_FLAGS_TRACK_FREE`` ,在这种情况下,标记0被设置,所有其他标记被清空。使用xas_store()将一个 350 你可以通过使用XA_STATE_ORDER()或xas_set_order(),然后调用xas_store()来创建一个多索引条目。用一个
|
| /linux/fs/cachefiles/ |
| H A D | ondemand.c | 46 xas_store(&xas, NULL); in cachefiles_ondemand_fd_release() 137 xas_store(&xas, NULL); in cachefiles_ondemand_fd_ioctl() 199 xas_store(&xas, NULL); in cachefiles_ondemand_copen() 568 xas_store(&xas, req); in cachefiles_ondemand_send_req()
|
| /linux/mm/ |
| H A D | list_lru.c | 438 xas_store(&xas, NULL); in memcg_destroy_list_lru() 482 mlru = xas_store(&xas, NULL); in memcg_reparent_list_lrus() 551 xas_store(&xas, mlru); in memcg_list_lru_alloc()
|
| H A D | truncate.c | 44 xas_store(&xas, NULL); in clear_shadow_entries() 109 xas_store(&xas, NULL); in truncate_folio_batch_exceptionals()
|
| H A D | khugepaged.c | 2139 xas_store(&xas, XA_RETRY_ENTRY); in collapse_file() 2179 xas_store(&xas, NULL); in collapse_file() 2211 xas_store(&xas, new_folio); in collapse_file()
|
| H A D | filemap.c | 142 xas_store(&xas, shadow); in page_cache_delete() 314 xas_store(&xas, NULL); in page_cache_delete_batch() 829 xas_store(&xas, new); in replace_page_cache_folio() 915 xas_store(&xas, folio); in __filemap_add_folio()
|
| H A D | migrate.c | 646 xas_store(&xas, newfolio); in __folio_migrate_mapping() 748 xas_store(&xas, dst); in migrate_huge_page_move_mapping()
|
| H A D | shmem.c | 508 xas_store(&xas, replacement); in shmem_replace_entry() 922 xas_store(&xas, folio); in shmem_add_to_page_cache() 980 xas_store(&xas, NULL); in shmem_free_swap()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | main.c | 109 old = xas_store(&xas, obj); in iommufd_object_finalize() 122 old = xas_store(&xas, NULL); in iommufd_object_abort() 258 xas_store(&xas, (flags & REMOVE_OBJ_TOMBSTONE) ? XA_ZERO_ENTRY : NULL); in iommufd_object_remove()
|
| H A D | pages.c | 593 xas_store(&xas, NULL); in batch_from_xarray_clear() 609 xas_store(&xas, NULL); in clear_xarray() 634 old = xas_store(&xas, xa_mk_value(page_to_pfn(*pages))); in pages_to_xarray()
|
| /linux/tools/testing/radix-tree/ |
| H A D | iteration_check.c | 34 xas_store(&xas, item); in my_item_insert()
|
| H A D | test.c | 264 xas_store(&xas, NULL); in item_kill_tree()
|
| H A D | multiorder.c | 23 xas_store(&xas, item); in item_insert_order()
|
| /linux/fs/ |
| H A D | dax.c | 318 old = xas_store(xas, entry); in dax_unlock_entry() 330 return xas_store(xas, xa_mk_value(v | DAX_LOCKED)); in dax_lock_entry() 701 xas_store(xas, NULL); /* undo the PMD join */ in grab_mapping_entry() 831 xas_store(&xas, NULL); in __dax_invalidate_entry() 910 xas_store(&xas, NULL); in dax_delete_mapping_range() 1182 xas_store(xas, entry); in dax_writeback_one()
|
| /linux/include/linux/ |
| H A D | xarray.h | 1543 void *xas_store(struct xa_state *, void *entry); 1580 xas_store(xas, entry); in xas_split()
|
| /linux/Documentation/core-api/ |
| H A D | xarray.rst | 403 xas_store() will not reset the marks on that entry; if you want 467 or xas_set_order() followed by a call to xas_store().
|
| /linux/drivers/target/ |
| H A D | target_core_user.c | 3121 xas_store(&xas, NULL); in tcmu_free_kept_buf_store()
|