Home
last modified time | relevance | path

Searched refs:XArray (Results 1 – 7 of 7) 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/rust/kernel/
H A Dxarray.rs56 pub struct XArray<T: ForeignOwnable> { struct
63 impl<T: ForeignOwnable> PinnedDrop for XArray<T> { implementation
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/Documentation/core-api/
H A Didr.rst20 The IDR interface is deprecated; please use the :doc:`XArray <xarray>`
/linux/lib/
H A DKconfig353 XArray.
H A DKconfig.debug2506 tristate "Test the XArray code at runtime"