Searched refs:MAX (Results 1 - 25 of 469) sorted by relevance

1234567891011>>

/freebsd-current/usr.bin/dpv/
H A Ddpv_util.h55 #undef MAX macro
56 #define MAX(x,y) ((x) > (y) ? (x) : (y)) macro
/freebsd-current/lib/libc/sys/
H A Dclosefrom.c41 __sys_close_range(MAX(0, lowfd), ~0U, 0);
/freebsd-current/contrib/ofed/opensm/include/complib/
H A Dcl_math.h55 /****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 Dpw_usernext_test.sh12 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 Dsubr_pidctrl.c92 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 Drain_saver.c44 #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 Dint128_builtins.cpp25 const __int128_t MAX = ~MIN; local
45 if (abs_a > MAX / abs_b)
/freebsd-current/sys/dev/bwi/
H A Dbitops.h73 ((__BIT(MAX((__m), (__n)) + 1) - 1) ^ (__BIT(MIN((__m), (__n))) - 1))
/freebsd-current/contrib/libdiff/lib/
H A Ddiff_internal.h18 #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 Dcdefs.h82 ((__BIT(MAX((__m), (__n)) + 1) - 1) ^ (__BIT(MIN((__m), (__n))) - 1))
/freebsd-current/sys/contrib/openzfs/include/sys/
H A Dmmp.h36 #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 Dbasic.c157 const int MAX = 1000; local
164 for (i = 0; i < MAX; i++)
178 ATF_CHECK(r[0] == MAX);
/freebsd-current/sys/xen/
H A Dblkif.h86 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 Dsplay_test.c56 #define MAX 5000 macro
72 tmp->key = arc4random_uniform(MAX-MIN);
H A Darb_test.c58 #define MAX 5000 macro
76 tmp->key = arc4random_uniform(MAX-MIN);
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Darc_os.c94 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 Dzstd_internal.h54 #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 Dathpow.c56 #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 Dzstd_internal.h58 #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 Dmouse.c70 butPtr->step_x = MAX(1, step_x);
71 butPtr->step_y = MAX(1, step_y);
/freebsd-current/contrib/nvi/common/
H A Dutil.h58 #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 Dsysmacros.h36 #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 Dzpool_upgrade.kshlib147 typeset MAX=$2
152 RAND=$(( $RANDOM % $MAX + 1))
/freebsd-current/contrib/netbsd-tests/fs/common/
H A Dfstest_zfs.c58 size = MAX(64*1024*1024, size);
/freebsd-current/crypto/openssh/
H A Dgroupaccess.c61 ngroups = MAX(NGROUPS_MAX, sysconf(_SC_NGROUPS_MAX));

Completed in 719 milliseconds

1234567891011>>