/macosx-10.9.5/Libc-997.90.3/compat-43/FreeBSD/ |
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);
|
/macosx-10.9.5/Libc-997.90.3/gen/FreeBSD/ |
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 | getpagesize.c | 52 int mib[2]; local 57 mib[0] = CTL_HW; 58 mib[1] = HW_PAGESIZE; 60 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
|
H A D | sysconf.c | 82 int mib[3], sverrno, value; local 91 mib[0] = CTL_KERN; 92 mib[1] = KERN_ARGMAX; 107 mib[0] = CTL_KERN; 108 mib[1] = KERN_NGROUPS; 125 mib[0] = CTL_KERN; 126 mib[1] = KERN_SAVED_IDS; 129 mib[0] = CTL_KERN; 130 mib[1] = KERN_POSIX1; 184 mib[ [all...] |
H A D | setprogname.c | 18 int mib[2]; local 28 mib[0] = CTL_KERN; 29 mib[1] = KERN_PROCNAME; 32 sysctl(mib, 2, NULL, NULL, &buf[0], strlen(buf));
|
H A D | gethostname.c | 49 int mib[2]; local 51 mib[0] = CTL_KERN; 52 mib[1] = KERN_HOSTNAME; 56 if (sysctl(mib, 2, local_buf, &local_len, NULL, 0) == -1) { 64 if (sysctl(mib, 2, name, &namelen, NULL, 0) == -1) {
|
/macosx-10.9.5/Libc-997.90.3/gen/ |
H A D | uname.c | 43 int mib[2], rval; local 49 mib[0] = CTL_KERN; 50 mib[1] = KERN_OSTYPE; 52 if (sysctl(mib, 2, &name->sysname, &len, NULL, 0) == -1) 55 mib[0] = CTL_KERN; 56 mib[1] = KERN_HOSTNAME; 58 if (sysctl(mib, 2, &name->nodename, &len, NULL, 0) == -1) 61 mib[0] = CTL_KERN; 62 mib[1] = KERN_OSRELEASE; 64 if (sysctl(mib, [all...] |
H A D | getloadavg.c | 80 int i, mib[2]; local 83 mib[0] = CTL_VM; 84 mib[1] = VM_LOADAVG; 86 if (sysctl(mib, 2, &loadinfo, &size, NULL, 0) < 0)
|
/macosx-10.9.5/Libinfo-449.1.3/nis.subproj/ |
H A D | getdomainname.c | 34 int mib[2]; local 37 mib[0] = CTL_KERN; 38 mib[1] = KERN_DOMAINNAME; 39 return sysctl(mib, 2, val, &len, NULL, 0);
|
H A D | setdomainname.c | 34 int mib[2]; local 36 mib[0] = CTL_KERN; 37 mib[1] = KERN_DOMAINNAME; 38 return sysctl(mib, 2, NULL, NULL, (void *)name, namelen);
|
/macosx-10.9.5/bless-98/libbless/Misc/ |
H A D | BLIsNewWorld.c | 42 int mib[2], nw; local 46 mib[0] = CTL_HW; 47 mib[1] = HW_EPOCH; 49 sysctl(mib, 2, &nw, &len, NULL, 0);
|
/macosx-10.9.5/diskdev_cmds-572.1.1/fdisk.tproj/ |
H A D | getrawpartition.c | 74 int rawpart, mib[2]; 77 mib[0] = CTL_KERN; 78 mib[1] = KERN_RAWPARTITION; 80 if (sysctl(mib, 2, &rawpart, &varlen, NULL, 0) < 0)
|
/macosx-10.9.5/dtrace-118.1/DTTk/Bin/ |
H A D | tcpstat.d | 19 * in the /usr/include/inet/mib2.h file; and also in the mib provider 70 mib:::tcpOutDataBytes { TCP_out += arg0; } 71 mib:::tcpRetransBytes { TCP_outRe += arg0; } 72 mib:::tcpInDataInorderBytes { TCP_in += arg0; } 73 mib:::tcpInDataDupBytes { TCP_inDup += arg0; } 74 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 70 mib:::udpInDatagrams { UDP_in += arg0; } 71 mib:::udpOutDatagrams { UDP_out += arg0; } 72 mib:::udpInErrors { UDP_inErr += arg0; } 73 mib:::udpInCksumErrs { UDP_inErr += arg0; } 74 mib:::udpOutErrors { UDP_outErr += arg0; } 75 mib:::udpNoPorts { UDP_noPort += arg0; }
|
/macosx-10.9.5/dtrace-118.1/DTTk/Net/ |
H A D | tcpstat.d | 19 * in the /usr/include/inet/mib2.h file; and also in the mib provider 70 mib:::tcpOutDataBytes { TCP_out += arg0; } 71 mib:::tcpRetransBytes { TCP_outRe += arg0; } 72 mib:::tcpInDataInorderBytes { TCP_in += arg0; } 73 mib:::tcpInDataDupBytes { TCP_inDup += arg0; } 74 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 70 mib:::udpInDatagrams { UDP_in += arg0; } 71 mib:::udpOutDatagrams { UDP_out += arg0; } 72 mib:::udpInErrors { UDP_inErr += arg0; } 73 mib:::udpInCksumErrs { UDP_inErr += arg0; } 74 mib:::udpOutErrors { UDP_outErr += arg0; } 75 mib:::udpNoPorts { UDP_noPort += arg0; }
|
/macosx-10.9.5/dtrace-118.1/test/tst/common/mib/ |
H A D | tst.tcp.ksh | 29 # This script tests that several of the the mib:::tcp* probes fire and fire 35 mib:::tcpActiveOpens 40 mib:::tcpOutDataBytes 45 mib:::tcpOutDataSegs
|
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
|
H A D | tst.udp.ksh | 29 # This script tests that several of the the mib:::udp* probes fire and fire 35 mib:::udpOutDatagrams 40 mib:::udpInDatagrams
|
/macosx-10.9.5/adv_cmds-153/lsvfs/ |
H A D | lsvfs.c | 42 int mib[4], max, x; local 56 mib[0] = CTL_VFS; 57 mib[1] = VFS_GENERIC; 58 mib[2] = VFS_MAXTYPENUM; 60 if (sysctl(mib, 3, &max, &len, NULL, 0) != 0) 62 mib[2] = VFS_CONF; 66 mib[3] = x; 67 if (sysctl(mib, 4, &vfc, &len, NULL, 0) != 0) {
|
/macosx-10.9.5/IOFireWireSerialBusProtocolTransport-251.0.1/SBP2DiskLogger/ |
H A D | SBP2DiskLogger.cpp | 409 int mib[3]; local 412 mib[0] = CTL_HW; 413 mib[1] = HW_NCPU; 414 mib[2] = 0; 418 sysctl ( mib, 2, &gNumCPUs, &len, NULL, 0 ); 456 int mib[6]; local 459 mib[0] = CTL_KERN; 460 mib[1] = KERN_KDEBUG; 461 mib[2] = KERN_KDENABLE; /* protocol */ 462 mib[ 485 int mib[6]; local 519 int mib[6]; local 545 int mib[6]; local 581 int mib[6]; local 622 int mib[6]; local [all...] |
/macosx-10.9.5/Heimdal-323.92.1/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);
|
/macosx-10.9.5/adv_cmds-153/ps/ |
H A D | nlist.c | 62 int mib[2]; local 67 mib[0] = CTL_HW; 68 mib[1] = HW_MEMSIZE; 70 if (sysctl(mib, 2, &mempages, &oldlen, NULL, 0) == -1)
|
/macosx-10.9.5/IOATAPIProtocolTransport-350.0.3/ATAPILogger/ |
H A D | ATAPILogger.cpp | 464 int mib[6]; local 467 mib[0] = CTL_KERN; 468 mib[1] = KERN_KDEBUG; 469 mib[2] = KERN_KDENABLE; /* protocol */ 470 mib[3] = val; 471 mib[4] = 0; 472 mib[5] = 0; /* no flags */ 474 if ( sysctl ( mib, 4, NULL, &needed, NULL, 0 ) < 0 ) 493 int mib[6]; local 496 mib[ 527 int mib[6]; local 553 int mib[6]; local 589 int mib[6]; local 630 int mib[6]; local [all...] |