Home
last modified time | relevance | path

Searched refs:XArray (Results 1 – 8 of 8) sorted by relevance

/linux/Documentation/translations/zh_CN/core-api/
H A Dxarray.rst18 XArray title
26 XArray是一个抽象的数据类型,它的行为就像一个非常大的指针数组。它满足了许多与哈
32 当使用的索引是密集聚集的时候,XArray的实现是有效的;而哈希对象并使用哈希作为索引
33 将不会有好的表现。XArray对小的索引进行了优化,不过对大的索引仍有良好的性能。如果
34 你的索引可以大于 ``ULONG_MAX`` ,那么XArray就不适合你的数据类型。XArray最重要
37 普通指针可以直接存储在XArray中。它们必须是4字节对齐的,这对任何从kmalloc()和
41 你也可以在XArray中存储0到 ``LONG_MAX`` 之间的整数。你必须首先使用xa_mk_value()
42 将其转换为一个条目。当你从XArray中检索一个条目时,你可以通过调用xa_is_value()检
45 一些用户希望对他们存储在XArray中的指针进行标记。你可以调用xa_tag_pointer()来创建
48 指针,所以你必须决定他们是否要在任何特定的XArray中存储值条目或标签指针。
[all …]
H A Didr.rst31 IDR接口已经被废弃,请使用 ``XArray`` 。
/linux/Documentation/core-api/
H A Dxarray.rst4 XArray title
12 The XArray is an abstract data type which behaves like a very large array
21 The XArray implementation is efficient when the indices used are densely
23 perform well. The XArray is optimised for small indices, but still has
25 ``ULONG_MAX`` then the XArray is not the data type for you. The most
26 important user of the XArray is the page cache.
28 Normal pointers may be stored in the XArray directly. They must be 4-byte
34 You can also store integers between 0 and ``LONG_MAX`` in the XArray.
36 When you retrieve an entry from the XArray, you can check whether it is
40 Some users want to tag the pointers they store in the XArray. You can
[all …]
H A Didr.rst20 The IDR interface is deprecated; please use the :doc:`XArray <xarray>`
/linux/rust/kernel/
H A Dxarray.rs56 pub struct XArray<T: ForeignOwnable> { struct
63 impl<T: ForeignOwnable> PinnedDrop for XArray<T> { argument
87 impl<T: ForeignOwnable> XArray<T> { implementation
151 xa: &'a XArray<T>,
272 unsafe impl<T: ForeignOwnable + Send> Send for XArray<T> {} implementation
276 unsafe impl<T: ForeignOwnable + Send> Sync for XArray<T> {} implementation
/linux/Documentation/mm/
H A Dswap-table.rst41 The previous swap cache is implemented by XArray. The XArray is a tree
/linux/lib/
H A DKconfig353 XArray.
H A DKconfig.debug2546 tristate "Test the XArray code at runtime"