Searched refs:mib (Results 101 - 125 of 141) sorted by relevance

123456

/macosx-10.9.5/Security-55471.14.18/sec/SOSCircle/Regressions/
H A DSOSRegressionUtilities.c410 int mib[6] = {CTL_NET, AF_ROUTE, 0, AF_INET, NET_RT_IFLIST, 0 }; local
416 require_noerr(result = sysctl(mib, 6, NULL, &buffSize, NULL, 0), xit);
422 require_noerr(result = sysctl(mib, 6, buf, &buffSize, NULL, 0), xit);
/macosx-10.9.5/WebCore-7537.78.1/platform/mac/
H A DScrollElasticityController.mm44 int mib[2] = {CTL_KERN, KERN_BOOTTIME};
46 if (-1 == sysctl(mib, 2, &boottime, &size, 0, 0))
/macosx-10.9.5/libauto-185.5/
H A Dauto_impl_utilities.c60 int mib[2]; local
62 mib[0] = CTL_HW;
63 mib[1] = HW_NCPU;
64 if (sysctl(mib, 2, &ncpus, &len, NULL, 0) != 0) {
/macosx-10.9.5/system_cmds-597.90.1/dynamic_pager.tproj/
H A Ddynamic_pager.c743 int mib[4]; local
790 mib[0] = CTL_HW;
791 mib[1] = HW_MEMSIZE;
794 if (sysctl(mib, 2, &memsize, &len, NULL, 0) < 0) {
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/dynamic_pager.tproj/
H A Ddynamic_pager.c743 int mib[4]; local
790 mib[0] = CTL_HW;
791 mib[1] = HW_MEMSIZE;
794 if (sysctl(mib, 2, &memsize, &len, NULL, 0) < 0) {
/macosx-10.9.5/Libc-997.90.3/os/
H A Dassumes.c64 int mib[] = { CTL_KERN, KERN_OSVERSION }; local
67 int r = sysctl(mib, 2, build, &sz, NULL, 0);
/macosx-10.9.5/network_cmds-433/ifconfig.tproj/
H A Difconfig.c1005 int mib[6]; local
1244 mib[0] = CTL_NET;
1245 mib[1] = PF_LINK;
1246 mib[2] = NETLINK_GENERIC;
1247 mib[3] = IFMIB_IFDATA;
1248 mib[4] = if_nametoindex(name);
1249 mib[5] = IFDATA_SUPPLEMENTAL;
1250 if (sysctl(mib, 6, &ifmsupp, &miblen, (void *)0, 0) == -1)
/macosx-10.9.5/webdavfs-352.92.2/mount.tproj/
H A Dwebdav_file.c191 int mib[5]; local
193 /* setup mib for the request */
194 mib[0] = CTL_VFS;
195 mib[1] = g_vfc_typenum;
196 mib[2] = WEBDAV_ASSOCIATECACHEFILE_SYSCTL;
197 mib[3] = ref;
198 mib[4] = fd;
200 require_noerr_action(sysctl(mib, 5, NULL, NULL, NULL, 0), sysctl, error = errno);
H A Dwebdav_agent.c573 int mib[2]; local
579 mib[0] = CTL_HW;
580 mib[1] = HW_MEMSIZE;
582 result = sysctl(mib, 2, &memsize, &len, 0, 0);
H A Dwebdav_network.c599 int mib[2]; local
614 mib[0] = CTL_KERN;
615 mib[1] = KERN_OSTYPE;
617 if (sysctl(mib, 2, ostype, &len, 0, 0) < 0)
621 mib[1] = KERN_OSRELEASE;
623 if (sysctl(mib, 2, osrelease, &len, 0, 0) < 0)
627 mib[0] = CTL_HW;
628 mib[1] = HW_MACHINE;
630 if (sysctl(mib, 2, machine, &len, 0, 0) < 0)
716 int mib[ local
[all...]
/macosx-10.9.5/network_cmds-433/natd.tproj/
H A Dnatd.c1325 int mib[6]; local
1332 mib[0] = CTL_NET;
1333 mib[1] = PF_ROUTE;
1334 mib[2] = 0;
1335 mib[3] = AF_INET; /* Only IP addresses please */
1336 mib[4] = NET_RT_IFLIST;
1337 mib[5] = 0; /* ifIndex??? */
1341 if (sysctl(mib, 6, NULL, &needed, NULL, 0) == -1)
1345 if (sysctl(mib, 6, buf, &needed, NULL, 0) == -1)
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dcurl_darwinssl.c635 int mib[2]; local
641 mib[0] = CTL_KERN;
642 mib[1] = KERN_OSRELEASE;
643 if(sysctl(mib, 2, NULL, &os_version_len, NULL, 0) == -1)
648 if(sysctl(mib, 2, os_version, &os_version_len, NULL, 0) == -1) {
/macosx-10.9.5/network_cmds-433/ping.tproj/
H A Dping.c273 int almost_done, ch, df, hold, i, icmp_len, mib[4], preload, sockerrno, local
761 mib[0] = CTL_NET;
762 mib[1] = PF_INET;
763 mib[2] = IPPROTO_IP;
764 mib[3] = IPCTL_DEFTTL;
766 if (sysctl(mib, 4, &ttl, &sz, NULL, 0) == -1)
/macosx-10.9.5/dtrace-118.1/cmd/
H A Ddtrace_1.c249 int ret, mib[4]; local
260 mib[0] = CTL_KERN;
261 mib[1] = KERN_PROC;
262 mib[2] = KERN_PROC_PID;
263 mib[3] = 0; /* kernproc, pid 0 */
265 ret = sysctl(mib, sizeof(mib)/sizeof(mib[0]), &kp, &len, NULL, 0);
/macosx-10.9.5/gssd-62/
H A Dgssd_util.c123 int mib[4]; local
126 /* Fill out the first three components of the mib */
128 sysctlnametomib("kern.proc.pid", mib, &len);
129 mib[3] = getpid();
131 if (sysctl(mib, 4, &kp, &len, NULL, 0) == -1) {
/macosx-10.9.5/launchd-842.92.1/SystemStarter/
H A DStartupItems.c226 int mib[] = { CTL_KERN, KERN_BOOTTIME }; local
230 rv = sysctl(mib, sizeof(mib) / sizeof(mib[0]), &boot_time, &boot_time_sz, NULL, 0);
/macosx-10.9.5/network_cmds-433/traceroute6.tproj/
H A Dtraceroute6.c369 int mib[4] = { CTL_NET, PF_INET6, IPPROTO_IPV6, IPV6CTL_DEFHLIM }; local
387 (void) sysctl(mib, sizeof(mib)/sizeof(mib[0]), &i, &size, NULL, 0);
/macosx-10.9.5/network_cmds-433/rtadvd.tproj/
H A Dconfig.c1300 int mib[] = { CTL_NET, PF_INET6, IPPROTO_IPV6, 0 }; local
1304 mib[3] = code;
1306 if (sysctl(mib, sizeof(mib)/sizeof(mib[0]), &value, &size, NULL, 0)
/macosx-10.9.5/ppp-727.90.1/Helpers/vpnd/
H A Dipsec_utils.c2567 int mib[6]; local
2578 mib[0] = CTL_NET;
2579 mib[1] = PF_ROUTE;
2580 mib[2] = 0;
2581 mib[3] = AF_LINK;
2582 mib[4] = NET_RT_IFLIST;
2583 mib[5] = if_index; /* ask for exactly one interface */
2585 if (sysctl(mib, 6, NULL, &buf_len, NULL, 0) < 0) {
2589 if (sysctl(mib, 6, buf, &buf_len, NULL, 0) < 0) {
/macosx-10.9.5/Libnotify-121.20.1/notifyd/
H A Dnotify_proc.c827 int mib[4]; local
831 mib[0] = CTL_KERN;
832 mib[1] = KERN_PROC;
833 mib[2] = KERN_PROC_PID;
834 mib[3] = pid;
836 sysctl(mib, 4, &info, &size, 0, 0);
/macosx-10.9.5/syslog-217.1.4/syslogd.tproj/
H A Dsyslogd.c391 int mib[2] = {CTL_KERN, KERN_BOOTTIME}; local
421 if (sysctl(mib, 2, &utx.ut_tv, &len, NULL, 0) < 0)
/macosx-10.9.5/net_snmp-140.1/
H A DMakefile66 --with-mib-modules="host ucd-snmp/diskio ucd-snmp/loadave " \
77 # --with-mib-modules="hardware/memory hardware/cpu host ucd-snmp/diskio ucd-snmp/loadave ucd-snmp/memory" \
78 # --with-out-mib-modules="mibII/icmp host/hr_swrun" \
/macosx-10.9.5/syslog-217.1.4/util.tproj/
H A Dsyslog.c427 int mib[4]; local
435 mib[0] = CTL_KERN;
436 mib[1] = KERN_PROC;
437 mib[2] = KERN_PROC_ALL;
438 mib[3] = 0;
441 status = sysctl(mib, miblen, NULL, &size, NULL, 0);
453 status = sysctl(mib, miblen, procs, &size, NULL, 0);
/macosx-10.9.5/CF-855.17/
H A DCFUtilities.c442 int32_t mib[] = {CTL_HW, HW_AVAILCPU}; local
444 int32_t result = sysctl(mib, sizeof(mib) / sizeof(int32_t), &pcnt, &len, NULL, 0);
/macosx-10.9.5/dtrace-118.1/libdtrace/
H A Ddt_subr.c537 int mib[2] = { CTL_HW, HW_NCPU }; local
538 sysctl(mib, 2, (void *)&ncpu, &len, NULL, 0);

Completed in 615 milliseconds

123456