Home
last modified time | relevance | path

Searched refs:powerof2 (Results 1 – 8 of 8) sorted by relevance

/xnu-12377.41.6/bsd/sys/
H A Dparam.h221 #define powerof2(x) ((((x)-1)&(x))==0) macro
/xnu-12377.41.6/iokit/Kernel/
H A DIOReporter.cpp665 static_assert(powerof2(UNLOCK_PERIOD),
/xnu-12377.41.6/bsd/vfs/
H A Dvfs_quota.c409 (!powerof2(OSSwapBigToHostInt32(header.dqh_maxentries))) || in dqfileopen()
/xnu-12377.41.6/bsd/kern/
H A Dkern_subr.c658 assert(powerof2(hashmask + 1)); in hashdestroy()
/xnu-12377.41.6/bsd/netinet/
H A Dtcp_subr.c505 if (!powerof2(ret)) { in scale_to_powerof2()
506 while (!powerof2(size)) { in scale_to_powerof2()
662 if (!powerof2(tcp_tcbhashsize)) { in tcp_init()
/xnu-12377.41.6/bsd/skywalk/mem/
H A Dskmem_cache.c566 VERIFY(powerof2(bufalign)); in skmem_cache_create()
H A Dskmem_region.c482 VERIFY(powerof2(align)); in skmem_region_params_config()
/xnu-12377.41.6/bsd/skywalk/nexus/
H A Dnexus.c2596 ASSERT(powerof2(dom_port_max)); in nx_port_grow()