Home
last modified time | relevance | path

Searched refs:xas_find (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dxarray.rst322 你可以使用xas_find()搜索下一个当前条目。这相当于xa_find()和xa_find_after();如果光标已经移动到了
324 xas_next_entry()而不是xas_find()来移动到下一个当前条目,在大多数情况下会节省一个函数调用,但代价
355 如果xas_load()遇到一个多索引条目,xa_state中的xa_index将不会被改变。当遍历一个XArray或者调用xas_find()
/linux-6.1.9/include/linux/
Dxarray.h1516 void *xas_find(struct xa_state *, unsigned long max);
1676 return xas_find(xas, max); in xas_next_entry()
1680 return xas_find(xas, max); in xas_next_entry()
1682 return xas_find(xas, max); in xas_next_entry()
1685 return xas_find(xas, max); in xas_next_entry()
1770 for (entry = xas_find(xas, max); entry; \
/linux-6.1.9/lib/
Dxarray.c1239 void *xas_find(struct xa_state *xas, unsigned long max) in xas_find() function
1285 EXPORT_SYMBOL_GPL(xas_find);
2024 entry = xas_find(&xas, max); in xa_find()
2077 entry = xas_find(&xas, max); in xa_find_after()
Dtest_xarray.c111 XA_BUG_ON(xa, xas_find(&xas, ULONG_MAX) != xa_mk_value(0)); in check_xas_retry()
1248 XA_BUG_ON(xa, xas_find(&xas, ULONG_MAX) != xa_mk_index(ULONG_MAX)); in check_move_max()
1249 XA_BUG_ON(xa, xas_find(&xas, ULONG_MAX) != NULL); in check_move_max()
1254 XA_BUG_ON(xa, xas_find(&xas, ULONG_MAX) != xa_mk_index(ULONG_MAX)); in check_move_max()
1256 XA_BUG_ON(xa, xas_find(&xas, ULONG_MAX) != NULL); in check_move_max()
/linux-6.1.9/Documentation/core-api/
Dxarray.rst417 You can search for the next present entry using xas_find(). This
422 move to the next present entry instead of xas_find() will save
476 or calling xas_find(), if the initial index is in the middle
/linux-6.1.9/mm/
Dfilemap.c482 page = xas_find(&xas, max); in filemap_range_has_page()
2003 folio = xas_find(xas, max); in find_get_entry()
3325 return next_uptodate_page(xas_find(xas, end_pgoff), in first_map_page()