/freebsd-current/lib/libulog/ |
H A D | ulog_login.c | 59 memcpy(utx->ut_id, id, MIN(sizeof utx->ut_id, sizeof id));
|
/freebsd-current/bin/pax/ |
H A D | buf_subs.c | 399 res = MIN((bufend - bufpt), skcnt); 438 cnt = MIN(cnt, res); 490 cnt = MIN(cnt, outcnt); 538 cnt = MIN(cnt, incnt); 570 cnt = MIN(cnt, skcnt); 613 cnt = MIN(cnt, size); 696 cnt = MIN(cnt, size);
|
/freebsd-current/contrib/ntp/util/ |
H A D | tg.c | 119 #define MIN 3 /* minute pulse */ macro 129 {MIN, 800}, /* 0 minute sync pulse */ 212 {MIN, M8}, /* 0 pi (second) */ 489 case MIN: /* send data bit */ 540 case MIN: /* send minute sync */
|
/freebsd-current/sys/powerpc/powerpc/ |
H A D | busdma_machdep.c | 60 #define MAX_BPAGES MIN(8192, physmem/40) 190 newtag->lowaddr = MIN(parent->lowaddr, newtag->lowaddr); 195 newtag->boundary = MIN(parent->boundary, 332 maxpages = MIN(MAX_BPAGES, Maxmem -atop(dmat->lowaddr)); 338 pages = MIN(maxpages - bz->total_bpages, pages); 492 sgsize = MIN(sgsize, 526 sg_len = MIN(vendaddr - vaddr, 574 sgsize = MIN(sgsize, PAGE_SIZE - (curaddr & PAGE_MASK)); 648 sgsize = MIN(buflen, PAGE_SIZE - (curaddr & PAGE_MASK));
|
/freebsd-current/sys/crypto/openssl/ |
H A D | ossl_chacha20.c | 103 todo = rounddown(MIN(resid, MIN(inlen, outlen)), 231 todo = rounddown(MIN(resid, MIN(inlen, outlen)), 400 todo = rounddown(MIN(resid, MIN(inlen, outlen)),
|
/freebsd-current/contrib/libdivsufsort/include/ |
H A D | divsufsort_private.h | 148 #ifndef MIN 149 # define MIN(_a, _b) (((_a) < (_b)) ? (_a) : (_b)) macro 150 #endif /* MIN */
|
/freebsd-current/contrib/nvi/ex/ |
H A D | ex_shell.c | 175 (int)MIN(len, 20), p, len > 20 ? " ..." : "", 197 (int)MIN(len, 20), p, len > 20 ? " ..." : "",
|
/freebsd-current/sys/contrib/openzfs/module/icp/core/ |
H A D | kcf_prov_lib.c | 69 cur_len = MIN(zfs_uio_iovlen(uiop, vec_idx) - 161 cur_len = MIN(zfs_uio_iovlen(uiop, vec_idx) -
|
/freebsd-current/lib/libc/locale/ |
H A D | gb2312.c | 130 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
|
/freebsd-current/sbin/camcontrol/ |
H A D | progress.c | 146 barlength = MIN(sizeof(buf) - 1, (unsigned)prog->ttywidth) - 156 tmp_prefix_len = MIN(sizeof(buf) - 1,(unsigned)prog->ttywidth) -
|
/freebsd-current/lib/libc/gen/ |
H A D | getutxent.c | 181 MIN(sizeof(fu.fu_id), sizeof(id->ut_id))) == 210 MIN(sizeof(fu.fu_line), sizeof(line->ut_line))) ==
|
/freebsd-current/sys/kern/ |
H A D | subr_pidctrl.c | 99 MAX(MIN(pc->pc_integral + error, pc->pc_bound), -pc->pc_bound); 142 MAX(MIN(pc->pc_integral + error, pc->pc_bound), 0);
|
/freebsd-current/lib/libc/db/btree/ |
H A D | bt_overflow.c | 106 nb = MIN(sz, plen); 151 nb = MIN(sz, plen);
|
/freebsd-current/sys/riscv/riscv/ |
H A D | busdma_machdep.c | 98 common->lowaddr = MIN(parent->lowaddr, common->lowaddr); 103 common->boundary = MIN(parent->boundary,
|
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | sysmacros.h | 140 #ifndef MIN 141 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
|
/freebsd-current/sys/contrib/zstd/lib/common/ |
H A D | zstd_internal.h | 57 #undef MIN macro 59 #define MIN(a,b) ((a)<(b) ? (a) : (b)) macro 61 #define BOUNDED(min,val,max) (MAX(min,MIN(val,max))) 259 size_t const length = MIN(dstCapacity, srcSize);
|
/freebsd-current/sys/crypto/aesni/ |
H A D | aesni_ccm.c | 160 copy_amt = MIN(auth_len, 169 copy_amt = MIN((auth_data + auth_len) - auth_ptr, 237 copy_amt = MIN(nbytes - total, sizeof(staging_block)); 308 size_t copy_amt = MIN(nbytes - total, sizeof(staging_block));
|
/freebsd-current/sys/dev/pms/freebsd/driver/ini/src/ |
H A D | agdef.h | 64 #define AGTIAPI_NSEGS (MIN(btoc(maxphys), 64) + 1)
|
/freebsd-current/sys/powerpc/powernv/ |
H A D | opal_flash.c | 177 size = MIN(count, PAGE_SIZE); 178 size = MIN(size, PAGE_SIZE - ((u_long)data & PAGE_MASK)); 256 size = MIN(count, PAGE_SIZE); 257 size = MIN(size, PAGE_SIZE - ((u_long)data & PAGE_MASK));
|
/freebsd-current/sys/dev/random/ |
H A D | nehemiah.c | 84 ret = MIN(VIA_RNG_store(&tmp), count);
|
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | dmu_os.c | 105 tocpy = (int)MIN(db->db_size - bufoff, size); 117 thiscpy = MIN(PAGESIZE, tocpy - copied); 228 tocpy = MIN(db->db_size - bufoff, PAGESIZE - pgoff); 307 tocpy = MIN(db->db_size - bufoff, PAGESIZE);
|
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | strtab.c | 119 n = MIN(resid, len); 145 n = MIN(resid, len); 249 n = MIN(resid, len);
|
/freebsd-current/contrib/wpa/src/crypto/ |
H A D | sha256-internal.c | 79 #ifndef MIN 80 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro 164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen));
|
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | zstd_internal.h | 53 #undef MIN macro 55 #define MIN(a,b) ((a)<(b) ? (a) : (b)) macro 305 size_t const length = MIN(dstCapacity, srcSize);
|
/freebsd-current/sys/contrib/zstd/programs/ |
H A D | benchfn.c | 206 #undef MIN macro 207 #define MIN(a,b) ( (a) < (b) ? (a) : (b) ) macro 233 double const fastestRun_ns = MIN(bestRunTime.nanoSecPerRun, newRunTime.nanoSecPerRun);
|