/freebsd-10.3-release/lib/libc/compat-43/ |
H A D | gethostid.c | 44 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 D | sethostid.c | 44 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 D | getbootfile.c | 46 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 D | setdomainname.c | 44 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 D | sethostname.c | 44 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 D | feature_present.c | 47 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 D | getdomainname.c | 46 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 D | gethostname.c | 47 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 D | getosreldate.c | 45 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 D | sysconf.c | 77 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 D | getpagesize.c | 56 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.c | 46 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 D | geom_getxml.c | 43 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 D | i386obsd-nat.c | 47 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 D | kinfo_getproc.c | 44 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 D | tcpstat.d | 19 * 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 D | udpstat.d | 19 * 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 D | tcpstat.d | 19 * 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 D | udpstat.d | 19 * 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 D | arm_initfini.c | 61 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 D | atm_sys.c | 95 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 D | sps.c | 46 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 D | msg.c | 44 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 D | tst.icmp.ksh | 29 # 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 D | getdtablesize.c | 77 int mib[2]; local 80 mib[0] = CTL_KERN; 81 mib[1] = KERN_MAXFILES; 83 sysctl(&mib, 2, &files, sizeof(files), NULL, 0);
|