Searched refs:xas_find (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/Documentation/translations/zh_CN/core-api/ |
D | xarray.rst | 322 你可以使用xas_find()搜索下一个当前条目。这相当于xa_find()和xa_find_after();如果光标已经移动到了 324 xas_next_entry()而不是xas_find()来移动到下一个当前条目,在大多数情况下会节省一个函数调用,但代价 355 如果xas_load()遇到一个多索引条目,xa_state中的xa_index将不会被改变。当遍历一个XArray或者调用xas_find()
|
/Linux-v6.6/include/linux/ |
D | xarray.h | 1534 void *xas_find(struct xa_state *, unsigned long max); 1695 return xas_find(xas, max); in xas_next_entry() 1699 return xas_find(xas, max); in xas_next_entry() 1701 return xas_find(xas, max); in xas_next_entry() 1704 return xas_find(xas, max); in xas_next_entry() 1789 for (entry = xas_find(xas, max); entry; \
|
/Linux-v6.6/lib/ |
D | xarray.c | 1237 void *xas_find(struct xa_state *xas, unsigned long max) in xas_find() function 1283 EXPORT_SYMBOL_GPL(xas_find); 2028 entry = xas_find(&xas, max); in xa_find() 2081 entry = xas_find(&xas, max); in xa_find_after()
|
D | test_xarray.c | 111 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-v6.6/Documentation/core-api/ |
D | xarray.rst | 417 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-v6.6/mm/ |
D | filemap.c | 484 folio = xas_find(&xas, max); in filemap_range_has_page() 1976 folio = xas_find(xas, max); in find_get_entry()
|