/freebsd-current/usr.bin/dpv/ |
H A D | dpv_util.h | 55 #undef MAX macro 56 #define MAX(x,y) ((x) > (y) ? (x) : (y)) macro
|
/freebsd-current/lib/libc/sys/ |
H A D | closefrom.c | 41 __sys_close_range(MAX(0, lowfd), ~0U, 0);
|
/freebsd-current/contrib/ofed/opensm/include/complib/ |
H A D | cl_math.h | 55 /****d* Component Library: Math/MAX 57 * MAX 60 * The MAX macro returns the greater of two values. 63 * MAX( x, y ); 78 #ifndef MAX 79 #define MAX(x,y) ((x) > (y) ? (x) : (y)) macro 102 * MAX, ROUNDUP
|
/freebsd-current/usr.sbin/pw/tests/ |
H A D | pw_usernext_test.sh | 12 MAX=`expr ${CURRENT} + ${RANDOM}` 13 while [ "${CURRENT}" -lt "${MAX}" ] 31 MAX=`expr ${CURRENT} + ${RANDOM}` 32 while [ "${CURRENT}" -lt "${MAX}" ]
|
/freebsd-current/sys/kern/ |
H A D | subr_pidctrl.c | 92 Kpd = MAX(pc->pc_Kpd, 1); 93 Kid = MAX(pc->pc_Kid, 1); 94 Kdd = MAX(pc->pc_Kdd, 1); 99 MAX(MIN(pc->pc_integral + error, pc->pc_bound), -pc->pc_bound); 135 Kpd = MAX(pc->pc_Kpd, 1); 136 Kid = MAX(pc->pc_Kid, 1); 137 Kdd = MAX(pc->pc_Kdd, 1); 142 MAX(MIN(pc->pc_integral + error, pc->pc_bound), 0); 148 output = MAX(output - pc->pc_output, 0);
|
/freebsd-current/sys/dev/syscons/rain/ |
H A D | rain_saver.c | 44 #ifdef MAX 45 #undef MAX macro 47 #define MAX 63 /* number of colors (in addition to black) */ macro 70 t = rain_pal[BLUE(MAX)]; 71 for (i = MAX; i > 1; i--) 110 vid[p] = 1 + (random() % MAX); 120 temp = (vid[p] < MAX) ? 1 + vid[p] : 1; 157 for (i = 1; i < MAX; i++)
|
/freebsd-current/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | int128_builtins.cpp | 25 const __int128_t MAX = ~MIN; local 45 if (abs_a > MAX / abs_b)
|
/freebsd-current/sys/dev/bwi/ |
H A D | bitops.h | 73 ((__BIT(MAX((__m), (__n)) + 1) - 1) ^ (__BIT(MIN((__m), (__n))) - 1))
|
/freebsd-current/contrib/libdiff/lib/ |
H A D | diff_internal.h | 18 #ifndef MAX 19 #define MAX(A,B) ((A)>(B)?(A):(B)) macro 42 .end = MAX(a->end, b->end),
|
/freebsd-current/lib/libnetbsd/sys/ |
H A D | cdefs.h | 82 ((__BIT(MAX((__m), (__n)) + 1) - 1) ^ (__BIT(MIN((__m), (__n))) - 1))
|
/freebsd-current/sys/contrib/openzfs/include/sys/ |
H A D | mmp.h | 36 #define MMP_INTERVAL_OK(interval) MAX(interval, MMP_MIN_INTERVAL) 37 #define MMP_FAIL_INTVS_OK(fails) (fails == 0 ? 0 : MAX(fails, \
|
/freebsd-current/tests/sys/netgraph/ |
H A D | basic.c | 157 const int MAX = 1000; local 164 for (i = 0; i < MAX; i++) 178 ATF_CHECK(r[0] == MAX);
|
/freebsd-current/sys/xen/ |
H A D | blkif.h | 86 MAX(__RING_SIZE((blkif_x86_64_sring_t *)NULL, _sz), \ 87 MAX(__RING_SIZE((blkif_x86_32_sring_t *)NULL, _sz), \ 95 MAX(__RING_PAGES((blkif_x86_64_sring_t *)NULL, _entries), \ 96 MAX(__RING_PAGES((blkif_x86_32_sring_t *)NULL, _entries), \
|
/freebsd-current/tests/sys/sys/ |
H A D | splay_test.c | 56 #define MAX 5000 macro 72 tmp->key = arc4random_uniform(MAX-MIN);
|
H A D | arb_test.c | 58 #define MAX 5000 macro 76 tmp->key = arc4random_uniform(MAX-MIN);
|
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | arc_os.c | 94 return (MAX(allmem * 5 / 8, size)); 150 uint64_t arc_dirty = MAX((int64_t)asize - (int64_t)arc_clean, 0); 157 min = MAX(arc_c_min, MIN(arc_c_max, min)); 162 return (MAX((int64_t)asize - (int64_t)min, 0)); 277 MAX(arc_sys_free / 4, free_memory) / 4) { 333 wmark = MAX(wmark, 128 * 1024);
|
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | zstd_internal.h | 54 #undef MAX macro 56 #define MAX(a,b) ((a)>(b) ? (a) : (b)) macro 182 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */ 186 #define MaxFSELog MAX(MAX(MLFSELog, LLFSELog), OffFSELog)
|
/freebsd-current/tools/tools/ath/athpow/ |
H A D | athpow.c | 56 #ifndef MAX 57 #define MAX(a,b) ((a) > (b) ? (a) : (b)) macro 78 u_int16_t pcdacTable[MAX(PWR_TABLE_SIZE,PWR_TABLE_SIZE_2413)];
|
/freebsd-current/sys/contrib/zstd/lib/common/ |
H A D | zstd_internal.h | 58 #undef MAX macro 60 #define MAX(a,b) ((a)>(b) ? (a) : (b)) macro 61 #define BOUNDED(min,val,max) (MAX(min,MIN(val,max))) 111 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */ 115 #define MaxFSELog MAX(MAX(MLFSELog, LLFSELog), OffFSELog)
|
/freebsd-current/contrib/dialog/ |
H A D | mouse.c | 70 butPtr->step_x = MAX(1, step_x); 71 butPtr->step_y = MAX(1, step_y);
|
/freebsd-current/contrib/nvi/common/ |
H A D | util.h | 58 #undef MAX macro 60 #define MAX(_a,_b) ((_a)<(_b)?(_b):(_a)) macro
|
/freebsd-current/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
H A D | sysmacros.h | 36 #ifndef MAX 37 #define MAX(a, b) ((a) < (b) ? (b) : (a)) macro
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/ |
H A D | zpool_upgrade.kshlib | 147 typeset MAX=$2 152 RAND=$(( $RANDOM % $MAX + 1))
|
/freebsd-current/contrib/netbsd-tests/fs/common/ |
H A D | fstest_zfs.c | 58 size = MAX(64*1024*1024, size);
|
/freebsd-current/crypto/openssh/ |
H A D | groupaccess.c | 61 ngroups = MAX(NGROUPS_MAX, sysconf(_SC_NGROUPS_MAX));
|