On Mon, Oct 09, 2017 at 07:24:22PM +0800, Ming Lei wrote: > We need to iterate ctx starting from any ctx in round robin > way, so introduce this helper. > > Cc: Omar Sandoval <osandov@xxxxxx> Reviewed-by: Omar Sandoval <osandov@xxxxxx> > Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx> > --- > include/linux/sbitmap.h | 64 ++++++++++++++++++++++++++++++++++++------------- > 1 file changed, 47 insertions(+), 17 deletions(-)