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

12345678

/freebsd-9.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-9.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 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 Dgetosreldate.c46 int mib[2]; local
56 mib[0] = CTL_KERN;
57 mib[1] = KERN_OSRELDATE;
59 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
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-9.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-9.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-9.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)
H A Dkinfo_getfile.c15 int mib[4]; local
24 mib[0] = CTL_KERN;
25 mib[1] = KERN_PROC;
26 mib[2] = KERN_PROC_FILEDESC;
27 mib[3] = pid;
29 error = sysctl(mib, 4, NULL, &len, NULL, 0);
36 error = sysctl(mib, 4, buf, &len, NULL, 0);
H A Dkinfo_getvmmap.c15 int mib[4]; local
24 mib[0] = CTL_KERN;
25 mib[1] = KERN_PROC;
26 mib[2] = KERN_PROC_VMMAP;
27 mib[3] = pid;
29 error = sysctl(mib, 4, NULL, &len, NULL, 0);
36 error = sysctl(mib, 4, buf, &len, NULL, 0);
/freebsd-9.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-9.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-9.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-9.3-release/sys/compat/linux/
H A Dlinux_mib.c62 LIN_SDT_PROBE_DEFINE0(mib, linux_sysctl_osname, entry);
63 LIN_SDT_PROBE_DEFINE1(mib, linux_sysctl_osname, sysctl_string_error, "int");
64 LIN_SDT_PROBE_DEFINE1(mib, linux_sysctl_osname, return, "int");
66 LIN_SDT_PROBE_DEFINE0(mib, linux_sysctl_osrelease, entry);
67 LIN_SDT_PROBE_DEFINE1(mib, linux_sysctl_osrelease, sysctl_string_error, "int");
68 LIN_SDT_PROBE_DEFINE1(mib, linux_sysctl_osrelease, return, "int");
69 LIN_SDT_PROBE_DEFINE0(mib, linux_sysctl_oss_version, entry);
70 LIN_SDT_PROBE_DEFINE1(mib, linux_sysctl_oss_version, sysctl_string_error,
72 LIN_SDT_PROBE_DEFINE1(mib, linux_sysctl_oss_version, return, "int");
73 LIN_SDT_PROBE_DEFINE2(mib, linux_map_osre
[all...]
/freebsd-9.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-9.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

Completed in 188 milliseconds

12345678