Searched refs:MIN (Results 51 - 75 of 888) sorted by relevance

1234567891011>>

/freebsd-current/lib/libulog/
H A Dulog_login.c59 memcpy(utx->ut_id, id, MIN(sizeof utx->ut_id, sizeof id));
/freebsd-current/bin/pax/
H A Dbuf_subs.c399 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 Dtg.c119 #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 Dbusdma_machdep.c60 #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 Dossl_chacha20.c103 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 Ddivsufsort_private.h148 #ifndef MIN
149 # define MIN(_a, _b) (((_a) < (_b)) ? (_a) : (_b)) macro
150 #endif /* MIN */
/freebsd-current/contrib/nvi/ex/
H A Dex_shell.c175 (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 Dkcf_prov_lib.c69 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 Dgb2312.c130 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
/freebsd-current/sbin/camcontrol/
H A Dprogress.c146 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 Dgetutxent.c181 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 Dsubr_pidctrl.c99 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 Dbt_overflow.c106 nb = MIN(sz, plen);
151 nb = MIN(sz, plen);
/freebsd-current/sys/riscv/riscv/
H A Dbusdma_machdep.c98 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 Dsysmacros.h140 #ifndef MIN
141 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
/freebsd-current/sys/contrib/zstd/lib/common/
H A Dzstd_internal.h57 #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 Daesni_ccm.c160 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 Dagdef.h64 #define AGTIAPI_NSEGS (MIN(btoc(maxphys), 64) + 1)
/freebsd-current/sys/powerpc/powernv/
H A Dopal_flash.c177 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 Dnehemiah.c84 ret = MIN(VIA_RNG_store(&tmp), count);
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Ddmu_os.c105 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 Dstrtab.c119 n = MIN(resid, len);
145 n = MIN(resid, len);
249 n = MIN(resid, len);
/freebsd-current/contrib/wpa/src/crypto/
H A Dsha256-internal.c79 #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 Dzstd_internal.h53 #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 Dbenchfn.c206 #undef MIN macro
207 #define MIN(a,b) ( (a) < (b) ? (a) : (b) ) macro
233 double const fastestRun_ns = MIN(bestRunTime.nanoSecPerRun, newRunTime.nanoSecPerRun);

Completed in 382 milliseconds

1234567891011>>