- t2ex
- bsd_source/lib/libc/src_bsd/include/sys/sched.h - 8.7KB - 218 lines
129: #define NICE_WEIGHT 2 /* priorities per nice level */
130: #define ESTCPULIM(e) min((e), NICE_WEIGHT * PRIO_MAX - SCHED_PPQ)
131:
- bsd_source/lib/libc/src_bsd/stdlib/qsort.c - 6.3KB - 162 lines
148: pn = (char *)a + n * es;
149: r = min(pa - (char *)a, pb - pa);
150: vecswap(a, pb - r, r);
- More results from qsort.c
- bsd_source/t2ex/network/net/src_bsd/kern/kern_descrip.c - 60.6KB - 2,238 lines
901: #ifndef T2EX
902: lim = min((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);
903: #else
- More results from kern_descrip.c
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_mbuf.c - 57.8KB - 1,910 lines
796: }
797: n->m_len = min(len, m->m_len - off);
798: if (m->m_flags & M_EXT) {
- More results from uipc_mbuf.c
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_socket.c - 76.4KB - 2,408 lines
633: backlog = 0;
634: so->so_qlimit = min(backlog, somaxconn);
635: sounlock(so);
- More results from uipc_socket.c
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_socket2.c - 45.7KB - 1,544 lines
688: return 0;
689: sb->sb_mbmax = min(cc * 2, sb_max);
690: if (sb->sb_lowat > sb->sb_hiwat)
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_syscalls.c - 40.9KB - 1,442 lines
1148: if (valsize > 0) {
1149: len = min(valsize, sopt.sopt_size);
1150: error = copyout(sopt.sopt_data, SCARG(uap, val), len);
- bsd_source/t2ex/network/net/src_bsd/net/bpf.c - 56.1KB - 2,015 lines
1361: panic("bpf_mcpy");
1362: count = min(m->m_len, len);
1363: memcpy(dst, mtod(m, const void *), count);
- More results from bpf.c
- bsd_source/t2ex/network/net/src_bsd/net/if_tun.c - 33.3KB - 1,241 lines
904: while (m0 && uio->uio_resid > 0 && error == 0) {
905: len = min(uio->uio_resid, m0->m_len);
906: if (len != 0)
- More results from if_tun.c
- bsd_source/t2ex/network/net/src_bsd/net/radix.c - 36.9KB - 1,170 lines
225: const char *cplim;
226: int length = min(*(const u_char *)cp, *(const u_char *)cp2);
227:
- More results from radix.c