Home
last modified time | relevance | path

Searched refs:xa_is_value (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/mm/
Dmemfd.c42 if (!xa_is_value(page) && in memfd_tag_pins()
46 if (!xa_is_value(page) && in memfd_tag_pins()
101 if (!xa_is_value(page) && in memfd_wait_for_pins()
105 if (!xa_is_value(page) && cache_count != in memfd_wait_for_pins()
Dtruncate.c71 if (xa_is_value(fbatch->folios[j])) in truncate_folio_batch_exceptionals()
87 if (!xa_is_value(folio)) { in truncate_folio_batch_exceptionals()
420 if (xa_is_value(folio)) in truncate_inode_pages_range()
520 if (xa_is_value(folio)) { in invalidate_mapping_pagevec()
651 if (xa_is_value(folio)) { in invalidate_inode_pages2_range()
Dfilemap.c291 if (xa_is_value(folio)) in page_cache_delete_batch()
486 if (xa_is_value(page)) in filemap_range_has_page()
644 if (xa_is_value(folio)) in filemap_range_has_writeback()
876 if (!xa_is_value(entry)) { in __filemap_add_folio()
1767 if (!entry || xa_is_value(entry)) in page_cache_next_miss()
1803 if (!entry || xa_is_value(entry)) in page_cache_prev_miss()
1860 if (!folio || xa_is_value(folio)) in mapping_get_entry()
1916 if (xa_is_value(folio)) { in __filemap_get_folio()
2014 if (!folio || xa_is_value(folio)) in find_get_entry()
2096 if (!xa_is_value(folio)) { in find_lock_entries()
[all …]
Dswap_state.c79 if (xa_is_value(page)) in get_shadow_from_swap_cache()
112 if (xa_is_value(old)) { in add_to_swap_cache()
257 if (!xa_is_value(old)) in clear_shadow_from_swap_cache()
394 if (!xa_is_value(page)) in find_get_incore_page()
Dreadahead.c233 if (folio && !xa_is_value(folio)) { in page_cache_ra_unbounded()
806 if (page && !xa_is_value(page)) in readahead_expand()
829 if (page && !xa_is_value(page)) in readahead_expand()
Dfolio-compat.c111 if ((fgp_flags & FGP_HEAD) || !folio || xa_is_value(folio)) in pagecache_get_page()
Dshmem.c808 if (xa_is_value(page)) in shmem_partial_swap_usage()
885 if (!xa_is_value(folio)) in shmem_get_partial_folio()
930 if (xa_is_value(folio)) { in shmem_undo_range()
1002 if (xa_is_value(folio)) { in shmem_undo_range()
1192 if (!xa_is_value(folio)) in shmem_find_swap_entries()
1232 if (!xa_is_value(folio)) in shmem_unuse_swap_entries()
1741 VM_BUG_ON(!*foliop || !xa_is_value(*foliop)); in shmem_swapin_folio()
1864 if (!xa_is_value(folio)) { in shmem_get_folio_gfp()
1872 if (xa_is_value(folio)) { in shmem_get_folio_gfp()
Dkhugepaged.c1822 if (xa_is_value(page) || !PageUptodate(page)) { in collapse_file()
1841 if (!page || xa_is_value(page)) { in collapse_file()
2133 if (xa_is_value(page)) { in hpage_collapse_scan_file()
Dswap.c1095 if (!xa_is_value(folio)) in folio_batch_remove_exceptionals()
Dmadvise.c250 if (!xa_is_value(page)) in force_shm_swapin_readahead()
/linux-6.1.9/lib/
Didr.c403 if (xa_is_value(bitmap)) { in ida_alloc_range()
500 if (xa_is_value(bitmap)) { in ida_free()
549 if (!xa_is_value(bitmap)) in ida_destroy()
578 } else if (xa_is_value(entry)) { in ida_dump_entry()
Dradix-tree.c445 } else if (xa_is_value(entry)) { in radix_tree_extend()
687 if (xa_is_value(item)) in insert_entries()
878 int values = !!xa_is_value(item) - !!xa_is_value(old); in __radix_tree_replace()
1367 int values = xa_is_value(old) ? -1 : 0; in __radix_tree_delete()
Dxarray.c589 if (xa_is_value(head)) in xas_expand()
785 bool value = xa_is_value(entry); in xas_store()
827 values += !xa_is_value(first) - !value; in xas_store()
1079 child->nr_values = xa_is_value(entry) ? in xas_split()
1085 if (xa_is_value(curr)) in xas_split()
1096 values += (xa_is_value(entry) - xa_is_value(curr)) * in xas_split()
2278 } else if (xa_is_value(entry)) in xa_dump_entry()
Diov_iter.c94 if (WARN_ON(xa_is_value(folio))) \
Dtest_xarray.c877 XA_BUG_ON(xa, !xa_is_value(entry)); in __check_store_iter()
/linux-6.1.9/fs/
Ddax.c234 if (!entry || WARN_ON_ONCE(!xa_is_value(entry))) in get_unlocked_entry()
596 if (!xa_is_value(entry)) { in grab_mapping_entry()
725 if (WARN_ON_ONCE(!xa_is_value(entry))) in dax_layout_busy_page_range()
762 if (!entry || WARN_ON_ONCE(!xa_is_value(entry))) in __dax_invalidate_entry()
923 if (WARN_ON(!xa_is_value(entry))) in dax_writeback_one()
932 if (!entry || WARN_ON_ONCE(!xa_is_value(entry))) in dax_writeback_one()
/linux-6.1.9/tools/testing/radix-tree/
Dtest.c261 if (!xa_is_value(entry)) { in item_kill_tree()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dxarray.rst42 将其转换为一个条目。当你从XArray中检索一个条目时,你可以通过调用xa_is_value()检
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_pages.c613 if (unlikely(xa_is_value(sg))) { in __i915_gem_object_get_sg()
/linux-6.1.9/include/linux/
Dxarray.h79 static inline bool xa_is_value(const void *entry) in xa_is_value() function
Dpagemap.h184 if (!xa_is_node(head) && xa_is_value(head)) in mapping_shrinkable()
/linux-6.1.9/fs/afs/
Dwrite.c460 if (xa_is_value(folio)) in afs_extend_writeback()
Ddir.c125 BUG_ON(xa_is_value(folio)); in afs_dir_read_cleanup()
/linux-6.1.9/fs/btrfs/
Dcompression.c556 if (page && !xa_is_value(page)) { in add_ra_bio_pages()
/linux-6.1.9/Documentation/core-api/
Dxarray.rst37 a value entry by calling xa_is_value(), and convert it back to

12