Searched refs:mib (Results 1 - 25 of 274) sorted by relevance

1234567891011

/netbsd-current/lib/libc/gen/
H A Dsysconf.c80 int mib[CTL_MAXNAME], value; local
95 mib[0] = CTL_KERN;
96 mib[1] = KERN_ARGMAX;
115 mib[0] = CTL_KERN;
116 mib[1] = KERN_CLOCKRATE;
118 clk_tck = sysctl(mib, 2, &tmpclock, &len, NULL, 0)
123 mib[0] = CTL_KERN;
124 mib[1] = KERN_JOB_CONTROL;
127 mib[0] = CTL_KERN;
128 mib[
[all...]
H A Duname.c56 int mib[2]; local
62 mib[0] = CTL_KERN;
63 mib[1] = KERN_OSTYPE;
65 if (sysctl(mib, 2, &name->sysname, &len, NULL, 0) == -1)
68 mib[0] = CTL_KERN;
69 mib[1] = KERN_HOSTNAME;
71 if (sysctl(mib, 2, &name->nodename, &len, NULL, 0) == -1)
74 mib[0] = CTL_KERN;
75 mib[1] = KERN_OSRELEASE;
77 if (sysctl(mib,
[all...]
H A Dgetpagesize.c57 int mib[2]; local
60 mib[0] = CTL_HW;
61 mib[1] = HW_PAGESIZE;
63 if (sysctl(mib, 2, &pagsz, &size, NULL, 0) == -1)
H A Dsetdomainname.c56 int mib[2]; local
60 mib[0] = CTL_KERN;
61 mib[1] = KERN_DOMAINNAME;
62 if (sysctl(mib, 2, NULL, NULL, name, namelen) == -1)
H A Dsethostname.c56 int mib[2]; local
60 mib[0] = CTL_KERN;
61 mib[1] = KERN_HOSTNAME;
62 if (sysctl(mib, 2, NULL, NULL, name, namelen) == -1)
H A Dgetdomainname.c56 int mib[2]; local
62 mib[0] = CTL_KERN;
63 mib[1] = KERN_DOMAINNAME;
66 if (sysctl(mib, 2, name, &size, NULL, 0) == -1) {
H A Dgethostname.c56 int mib[2]; local
61 mib[0] = CTL_KERN;
62 mib[1] = KERN_HOSTNAME;
64 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/ia64/
H A Dlast.s3 {.mib
6 {.mib
H A Ddv-branch.s8 { .mib
13 { .mib
/netbsd-current/lib/libc/compat-43/
H A Dsethostid.c49 int mib[2], value; local
51 mib[0] = CTL_KERN;
52 mib[1] = KERN_HOSTID;
54 if (sysctl(mib, 2, NULL, NULL, &value, sizeof(value)) == -1)
H A Dgethostid.c49 int mib[2], value; local
52 mib[0] = CTL_KERN;
53 mib[1] = KERN_HOSTID;
55 if (sysctl(mib, 2, &value, &size, NULL, (size_t)0) == -1)
/netbsd-current/lib/libutil/
H A Dgetbyteorder.c44 int byteorder, mib[2]; local
47 mib[0] = CTL_HW;
48 mib[1] = HW_BYTEORDER;
50 if (sysctl(mib, 2, &byteorder, &varlen, NULL, (size_t)0) < 0)
H A Dgetmaxpartitions.c44 int maxpart, mib[2]; local
47 mib[0] = CTL_KERN;
48 mib[1] = KERN_MAXPARTITIONS;
50 if (sysctl(mib, 2, &maxpart, &varlen, NULL, (size_t)0) < 0)
H A Dgetrawpartition.c44 int rawpart, mib[2]; local
47 mib[0] = CTL_KERN;
48 mib[1] = KERN_RAWPARTITION;
50 if (sysctl(mib, 2, &rawpart, &varlen, NULL, (size_t)0) < 0)
H A Dkinfo_getvmmap.c17 int mib[5]; local
24 mib[0] = CTL_VM;
25 mib[1] = VM_PROC;
26 mib[2] = VM_PROC_MAP;
27 mib[3] = pid;
28 mib[4] = sizeof(*kiv);
30 error = sysctl(mib, (u_int)__arraycount(mib), NULL, &len, NULL, 0);
40 error = sysctl(mib, (u_int)__arraycount(mib), ki
[all...]
H A Dgetlabelsector.c50 int sector, mib[2]; local
53 mib[0] = CTL_KERN;
54 mib[1] = KERN_LABELSECTOR;
56 if (sysctl(mib, 2, &sector, &varlen, NULL, (size_t)0) < 0)
65 int offset, mib[2]; local
68 mib[0] = CTL_KERN;
69 mib[1] = KERN_LABELOFFSET;
71 if (sysctl(mib, 2, &offset, &varlen, NULL, (size_t)0) < 0)
H A Dgetbootfile.c52 int mib[2]; local
60 mib[0] = CTL_MACHDEP;
61 mib[1] = CPU_BOOTED_KERNEL;
63 if (sysctl(mib, 2, name + 1, &size, NULL, 0) == 0) {
/netbsd-current/lib/libc/compat/net/
H A D__cmsg_alignbytes.c48 int mib[2]; local
57 mib[0] = CTL_HW;
58 mib[1] = HW_ALIGNBYTES;
60 ret = sysctl(mib, (u_int) (sizeof(mib) / sizeof(mib[0])),
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/unix/
H A Dmeminfo.c27 int mib[2]; local
28 mib[0] = CTL_HW;
30 mib[1] = HW_MEMSIZE;
32 mib[1] = HW_PHYSMEM64;
36 if (sysctl(mib, 2, &size, &len, NULL, 0) == 0) {
/netbsd-current/external/mpl/bind/dist/lib/isc/
H A Dmeminfo.c27 int mib[2]; local
28 mib[0] = CTL_HW;
30 mib[1] = HW_MEMSIZE;
32 mib[1] = HW_PHYSMEM64;
36 if (sysctl(mib, 2, &size, &len, NULL, 0) == 0) {
/netbsd-current/external/cddl/dtracetoolkit/dist/Bin/
H A Dtcpstat.d19 * in the /usr/include/inet/mib2.h file; and also in the mib provider
71 mib:::tcpOutDataBytes { TCP_out += arg0; }
72 mib:::tcpRetransBytes { TCP_outRe += arg0; }
73 mib:::tcpInDataInorderBytes { TCP_in += arg0; }
74 mib:::tcpInDataDupBytes { TCP_inDup += arg0; }
75 mib:::tcpInDataUnorderBytes { TCP_inUn += arg0; }
H A Dudpstat.d19 * in the /usr/include/inet/mib2.h file; and also in the mib provider
71 mib:::udp*InDatagrams { UDP_in += arg0; }
72 mib:::udp*OutDatagrams { UDP_out += arg0; }
73 mib:::udpInErrors { UDP_inErr += arg0; }
74 mib:::udpInCksumErrs { UDP_inErr += arg0; }
75 mib:::udpOutErrors { UDP_outErr += arg0; }
76 mib:::udpNoPorts { UDP_noPort += arg0; }
/netbsd-current/external/cddl/dtracetoolkit/dist/Net/
H A Dtcpstat.d19 * in the /usr/include/inet/mib2.h file; and also in the mib provider
71 mib:::tcpOutDataBytes { TCP_out += arg0; }
72 mib:::tcpRetransBytes { TCP_outRe += arg0; }
73 mib:::tcpInDataInorderBytes { TCP_in += arg0; }
74 mib:::tcpInDataDupBytes { TCP_inDup += arg0; }
75 mib:::tcpInDataUnorderBytes { TCP_inUn += arg0; }
H A Dudpstat.d19 * in the /usr/include/inet/mib2.h file; and also in the mib provider
71 mib:::udp*InDatagrams { UDP_in += arg0; }
72 mib:::udp*OutDatagrams { UDP_out += arg0; }
73 mib:::udpInErrors { UDP_inErr += arg0; }
74 mib:::udpInCksumErrs { UDP_inErr += arg0; }
75 mib:::udpOutErrors { UDP_outErr += arg0; }
76 mib:::udpNoPorts { UDP_noPort += arg0; }
/netbsd-current/external/bsd/unbound/dist/compat/
H A Dgetentropy_freebsd.c35 int mib[2]; local
38 mib[0] = CTL_KERN;
39 mib[1] = KERN_ARND;
44 if (sysctl(mib, 2, buf, &len, NULL, 0) == -1)

Completed in 337 milliseconds

1234567891011