FreeBSD/sys/dev/bxe/ecore_sp.c
/**
 * ecore_mcast_clear_first_bin - find the first set bin and clear it
 *
 * @o:
 *
 * returns the index of the found bin or -1 if none is found
 */
find the first set bin and clear it
@o.

returns the index of the found bin or -1 if none is found
find the first set bin and clear it @o . returns the index of the found bin or - 1 if none is found
static inline int ecore_mcast_clear_first_bin(struct ecore_mcast_obj *o)
{
	int cur_bit = ecore_mcast_get_next_bin(o, 0);
	if (cur_bit >= 0)
		BIT_VEC64_CLEAR_BIT(o->registry.aprox_match.vec, cur_bit);
	return cur_bit;
}
static inline int ecore_mcast_clear_first_bin ( struct ecore_mcast_obj * o ) { int cur_bit = ecore_mcast_get_next_bin ( o , 0 ) ; if ( cur_bit >= 0 ) BIT_VEC64_CLEAR_BIT ( o -> registry . aprox_match . vec , cur_bit ) ; return cur_bit ; }
ecore_mcast_clear_first_bin - find the first set bin and clear it
 @o:
ecore_mcast_clear_first_bin - find the first set bin and clear it @o :