src/dpdk/lib/librte_eal/include/rte_common.h
static inline uint64_t
rte_align64prevpow2(uint64_t v)
{
	v = rte_combine64ms1b(v);

	return v - (v >> 1);
}
/**
 * Aligns 64b input parameter to the previous power of 2
 *
 * @param v
 *   The 64b value to align
 *
 * @return
 *   Input parameter aligned to the previous power of 2
 */
Aligns 64b input parameter to the previous power of 2
@param v
The 64b value to align

@return
Input parameter aligned to the previous power of 2
Aligns 64b input parameter to the previous power of 2 @param v The 64b value to align @return Input parameter aligned to the previous power of 2
static inline uint64_t
rte_align64prevpow2(uint64_t v)
{
	v = rte_combine64ms1b(v);
	return v - (v >> 1);
}
static inline uint64_t rte_align64prevpow2 ( uint64_t v ) { v = rte_combine64ms1b ( v ) ; return v - ( v >> 1 ) ; }
Aligns 64b input parameter to the previous power of 2
 @param v
   The 64b value to align
Aligns 64b input parameter to the previous power of 2 @param v The 64b value to align