linux/include/linux/sbitmap.h
/**
 * sbitmap_for_each_set() - Iterate over each set bit in a &struct sbitmap.
 * @sb: Bitmap to iterate over.
 * @fn: Callback. Should return true to continue or false to break early.
 * @data: Pointer to pass to callback.
 */
Iterate over each set bit in a &struct sbitmap.
@sb: Bitmap to iterate over.
@fn: Callback. Should return true to continue or false to break early.
@data: Pointer to pass to callback.
Iterate over each set bit in a &struct sbitmap . @sb : Bitmap to iterate over . @fn : Callback . Should return true to continue or false to break early . @data : Pointer to pass to callback .
static inline void sbitmap_for_each_set(struct sbitmap *sb, sb_for_each_fn fn,
					void *data)
{
	__sbitmap_for_each_set(sb, 0, fn, data);
}
static inline void sbitmap_for_each_set ( struct sbitmap * sb , sb_for_each_fn fn , void * data ) { __sbitmap_for_each_set ( sb , 0 , fn , data ) ; }
sbitmap_for_each_set() - Iterate over each set bit in a &struct sbitmap.
sbitmap_for_each_set () - Iterate over each set bit in a &struct sbitmap .