OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:roundup2
(Results
1 - 2
of
2
) sorted by relevancy
/src/sys/sys/
param.h
437
* Rounding to powers of two. The naive definitions of
roundup2
and
440
* #define
roundup2
(x,m) (((x) + ((m) - 1)) & ~((m) - 1))
446
*
roundup2
and rounddown2 would have the unintended effect of clearing
451
#define
roundup2
(x,m) ((((x) - 1) | ((m) - 1)) + 1)
macro
/src/tools/compat/
compat_defs.h
1297
#undef
roundup2
1298
#define
roundup2
(x, m) ((((x) - 1) | ((m) - 1)) + 1)
macro
Completed in 14 milliseconds
Indexes created Sat Sep 20 22:09:52 GMT 2025