xa_get_next
void *xa_get_next(struct xarray *, unsigned long *);
for (index = 0; ((entry) = xa_get_next(xa, &(index))) != NULL; index++)