Searched refs:xas_find (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A 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()
|
/openbmc/linux/include/linux/ |
H A D | xarray.h | 1534 void *xas_find(struct xa_state *, unsigned long max); 1701 return xas_find(xas, max); in xas_next_entry() 1705 return xas_find(xas, max); in xas_next_entry() 1707 return xas_find(xas, max); in xas_next_entry() 1710 return xas_find(xas, max); in xas_next_entry() 1795 for (entry = xas_find(xas, max); entry; \
|
/openbmc/linux/lib/ |
H A D | xarray.c | 1237 void *xas_find(struct xa_state *xas, unsigned long max) in xas_find() function 1283 EXPORT_SYMBOL_GPL(xas_find); 2041 entry = xas_find(&xas, max); in xa_find() 2094 entry = xas_find(&xas, max); in xa_find_after()
|
H A 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()
|
/openbmc/linux/Documentation/core-api/ |
H A 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
|
/openbmc/linux/mm/ |
H A D | filemap.c | 484 folio = xas_find(&xas, max); in filemap_range_has_page() 2002 folio = xas_find(xas, max); in find_get_entry()
|