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

12345678

/freebsd-10.3-release/lib/libc/compat-43/
H A Dgethostid.c44 int mib[2]; local
48 mib[0] = CTL_KERN;
49 mib[1] = KERN_HOSTID;
51 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
H A Dsethostid.c44 int mib[2]; local
46 mib[0] = CTL_KERN;
47 mib[1] = KERN_HOSTID;
48 sysctl(mib, 2, NULL, NULL, &hostid, sizeof hostid);
/freebsd-10.3-release/lib/libc/gen/
H A Dgetbootfile.c46 int mib[2]; local
48 mib[0] = CTL_KERN;
49 mib[1] = KERN_BOOTFILE;
50 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
H A Dsetdomainname.c44 int mib[2]; local
46 mib[0] = CTL_KERN;
47 mib[1] = KERN_NISDOMAINNAME;
48 if (sysctl(mib, 2, NULL, NULL, (void *)name, namelen) == -1)
H A Dsethostname.c44 int mib[2]; local
46 mib[0] = CTL_KERN;
47 mib[1] = KERN_HOSTNAME;
48 if (sysctl(mib, 2, NULL, NULL, (void *)name, namelen) == -1)
H A Dfeature_present.c47 char *mib; local
51 if (asprintf(&mib, "kern.features.%s", feature) < 0)
54 if (sysctlbyname(mib, &i, &len, NULL, 0) < 0) {
55 free(mib);
58 free(mib);
H A Dgetdomainname.c46 int mib[2]; local
49 mib[0] = CTL_KERN;
50 mib[1] = KERN_NISDOMAINNAME;
52 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
H A Dgethostname.c47 int mib[2]; local
49 mib[0] = CTL_KERN;
50 mib[1] = KERN_HOSTNAME;
51 if (sysctl(mib, 2, name, &namelen, NULL, 0) == -1) {
H A Dgetosreldate.c45 int mib[2]; local
55 mib[0] = CTL_KERN;
56 mib[1] = KERN_OSRELDATE;
58 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
H A Dsysconf.c77 int mib[2], sverrno, value; local
85 mib[0] = CTL_KERN;
86 mib[1] = KERN_ARGMAX;
101 mib[0] = CTL_KERN;
102 mib[1] = KERN_NGROUPS;
137 mib[0] = CTL_KERN;
138 mib[1] = KERN_SAVED_IDS;
141 mib[0] = CTL_KERN;
142 mib[1] = KERN_POSIX1;
196 mib[
[all...]
H A Dgetpagesize.c56 int mib[2]; local
68 mib[0] = CTL_HW;
69 mib[1] = HW_PAGESIZE;
71 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
H A D__xuname.c46 int mib[2], rval; local
54 mib[0] = CTL_KERN;
59 mib[1] = KERN_OSTYPE;
62 if (sysctl(mib, 2, q, &len, NULL, 0) == -1) {
72 mib[1] = KERN_HOSTNAME;
75 if (sysctl(mib, 2, q, &len, NULL, 0) == -1) {
87 mib[1] = KERN_OSRELEASE;
90 if (sysctl(mib, 2, q, &len, NULL, 0) == -1) {
108 mib[1] = KERN_VERSION;
111 if (sysctl(mib,
[all...]
/freebsd-10.3-release/lib/libgeom/
H A Dgeom_getxml.c43 int mib[3]; local
46 sizep = sizeof(mib) / sizeof(*mib);
47 if (sysctlnametomib("kern.geom.confxml", mib, &sizep) != 0)
49 if (sysctl(mib, sizep, NULL, &l, NULL, 0) != 0)
55 if (sysctl(mib, sizep, p, &l, NULL, 0) != 0) {
/freebsd-10.3-release/contrib/gdb/gdb/
H A Di386obsd-nat.c47 int mib[2]; local
50 mib[0] = CTL_VM;
51 mib[1] = VM_PSSTRINGS;
53 if (sysctl (mib, 2, &_ps, &len, NULL, 0) == 0)
/freebsd-10.3-release/lib/libutil/
H A Dkinfo_getproc.c44 int mib[4]; local
48 mib[0] = CTL_KERN;
49 mib[1] = KERN_PROC;
50 mib[2] = KERN_PROC_PID;
51 mib[3] = pid;
52 if (sysctl(mib, 4, NULL, &len, NULL, 0) < 0)
59 if (sysctl(mib, 4, kipp, &len, NULL, 0) < 0)
/freebsd-10.3-release/cddl/contrib/dtracetoolkit/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; }
/freebsd-10.3-release/cddl/contrib/dtracetoolkit/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; }
/freebsd-10.3-release/lib/libc/arm/gen/
H A Darm_initfini.c61 int mib[2]; local
67 mib[0] = CTL_HW;
68 mib[1] = HW_FLOATINGPT;
71 if (__sysctl(mib, 2, &_libc_arm_fpu_present, &len, NULL, 0) == -1 ||
/freebsd-10.3-release/usr.sbin/bsnmpd/modules/snmp_atm/
H A Datm_sys.c95 free(aif->pub.mib);
170 if ((aif->pub.mib = malloc(sizeof(*aif->pub.mib))) == NULL) {
255 if (aif->pub.mib->device >= sizeof(hwinfo) / sizeof(hwinfo[0]))
257 return (string_get(value, hwinfo[aif->pub.mib->device].vendor, -1));
267 if (aif->pub.mib->device >= sizeof(hwinfo) / sizeof(hwinfo[0]))
269 return (string_get(value, hwinfo[aif->pub.mib->device].device, -1));
278 struct ifatm_mib *mib; local
283 memset(aif->pub.mib, 0, sizeof(*aif->pub.mib));
[all...]
/freebsd-10.3-release/release/picobsd/tinyware/sps/
H A Dsps.c46 int mib[4], i, num, len, j, plen; local
52 mib[0] = CTL_KERN;
53 mib[1] = KERN_PROC;
54 mib[2] = KERN_PROC_ALL;
55 if (sysctl(mib, 3, NULL, &len, NULL, 0) != 0) {
60 if (sysctl(mib, 3, t, &len, NULL, 0) != 0) {
64 mib[2] = KERN_PROC_ARGS;
70 mib[3] = ki->ki_pid;
72 if (sysctl(mib, 4, buf, &plen, NULL, 0) != 0) {
/freebsd-10.3-release/release/picobsd/tinyware/msg/
H A Dmsg.c44 char *mib="kern.msgbuf"; local
49 i=sysctlbyname(mib,NULL,&len,NULL,0);
55 i=sysctlbyname(mib,buf,&len,NULL,0);
/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/mib/
H A Dtst.icmp.ksh29 # This script tests that several of the the mib:::icmp* probes fire and fire
35 mib:::icmpInEchos
40 mib:::icmpOutEchoReps
45 mib:::icmpOutMsgs
/freebsd-10.3-release/crypto/heimdal/lib/roken/
H A Dgetdtablesize.c77 int mib[2]; local
80 mib[0] = CTL_KERN;
81 mib[1] = KERN_MAXFILES;
83 sysctl(&mib, 2, &files, sizeof(files), NULL, 0);

Completed in 125 milliseconds

12345678