aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xarray.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xarray.c')
-rw-r--r--lib/xarray.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/xarray.c b/lib/xarray.c
index c3e2084aa313..7946380cd6c9 100644
--- a/lib/xarray.c
+++ b/lib/xarray.c
@@ -610,8 +610,8 @@ static int xas_expand(struct xa_state *xas, void *head)
610 * (see the xa_cmpxchg() implementation for an example). 610 * (see the xa_cmpxchg() implementation for an example).
611 * 611 *
612 * Return: If the slot already existed, returns the contents of this slot. 612 * Return: If the slot already existed, returns the contents of this slot.
613 * If the slot was newly created, returns NULL. If it failed to create the 613 * If the slot was newly created, returns %NULL. If it failed to create the
614 * slot, returns NULL and indicates the error in @xas. 614 * slot, returns %NULL and indicates the error in @xas.
615 */ 615 */
616static void *xas_create(struct xa_state *xas) 616static void *xas_create(struct xa_state *xas)
617{ 617{
@@ -1640,7 +1640,7 @@ EXPORT_SYMBOL(__xa_alloc);
1640 * @index: Index of entry. 1640 * @index: Index of entry.
1641 * @mark: Mark number. 1641 * @mark: Mark number.
1642 * 1642 *
1643 * Attempting to set a mark on a NULL entry does not succeed. 1643 * Attempting to set a mark on a %NULL entry does not succeed.
1644 * 1644 *
1645 * Context: Any context. Expects xa_lock to be held on entry. 1645 * Context: Any context. Expects xa_lock to be held on entry.
1646 */ 1646 */
@@ -1710,7 +1710,7 @@ EXPORT_SYMBOL(xa_get_mark);
1710 * @index: Index of entry. 1710 * @index: Index of entry.
1711 * @mark: Mark number. 1711 * @mark: Mark number.
1712 * 1712 *
1713 * Attempting to set a mark on a NULL entry does not succeed. 1713 * Attempting to set a mark on a %NULL entry does not succeed.
1714 * 1714 *
1715 * Context: Process context. Takes and releases the xa_lock. 1715 * Context: Process context. Takes and releases the xa_lock.
1716 */ 1716 */
@@ -1879,7 +1879,7 @@ static unsigned int xas_extract_marked(struct xa_state *xas, void **dst,
1879 * 1879 *
1880 * The @filter may be an XArray mark value, in which case entries which are 1880 * The @filter may be an XArray mark value, in which case entries which are
1881 * marked with that mark will be copied. It may also be %XA_PRESENT, in 1881 * marked with that mark will be copied. It may also be %XA_PRESENT, in
1882 * which case all entries which are not NULL will be copied. 1882 * which case all entries which are not %NULL will be copied.
1883 * 1883 *
1884 * The entries returned may not represent a snapshot of the XArray at a 1884 * The entries returned may not represent a snapshot of the XArray at a
1885 * moment in time. For example, if another thread stores to index 5, then 1885 * moment in time. For example, if another thread stores to index 5, then