/macosx-10.9.5/hfs-226.1.1/CopyHFSMeta/ |
H A D | main.c | 74 int mib[4]; local 92 mib[0] = CTL_VFS; 93 mib[1] = vfc.vfc_typenum; 94 mib[2] = HFS_REPLAY_JOURNAL; 95 mib[3] = jfd; 98 rv = sysctl(mib, 4, NULL, NULL, NULL, 0);
|
/macosx-10.9.5/top-89.1.2/ |
H A D | libtop.c | 279 int mib[2]; local 282 mib[0] = CTL_HW; 283 mib[1] = HW_MEMSIZE; 286 if (sysctl(mib, 2, &tsamp.memsize, &size, NULL, 0) == -1) { 311 int mib[2]; local 314 mib[0] = CTL_KERN; 315 mib[1] = KERN_ARGMAX; 318 if (sysctl(mib, 2, &libtop_argmax, &size, NULL, 0) == -1) { 834 int mib[2] = { CTL_VM, VM_SWAPUSAGE }; local 837 int res = sysctl(mib, mible 1041 int mib[6]; local 1311 static int mib[CTL_MAXNAME]; local 1353 int mib[miblen]; local 2075 int mib[3]; local [all...] |
/macosx-10.9.5/lsof-52/lsof/dialects/darwin/kmem/ |
H A D | dproc.c | 337 int mib[3]; local 345 mib[0] = CTL_KERN; 346 mib[1] = KERN_ARGMAX; 348 if (sysctl(mib, 2, &am, &sz, NULL, 0) == -1) { 362 mib[0] = CTL_KERN; 363 mib[1] = KERN_PROCARGS; 364 mib[2] = pid; 366 if (sysctl(mib, 3, ap, &sz, NULL, 0) == -1)
|
/macosx-10.9.5/configd-596.15/SystemConfiguration.fproj/ |
H A D | SCPrivate.h | 790 int mib[] = { CTL_HW, HW_MODEL }; local 796 ret = sysctl(mib, sizeof(mib) / sizeof(mib[0]), &hwModel, &n, NULL, 0);
|
/macosx-10.9.5/vim-53/runtime/syntax/ |
H A D | mib.vim | 29 syn keyword mibValue Counter Gauge IpAddress OCTET STRING experimental mib-2 57 let b:current_syntax = "mib"
|
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/unix/ |
H A D | ifiter_sysctl.c | 58 static int mib[6] = { variable 90 if (sysctl(mib, 6, NULL, &bufsize, NULL, (size_t) 0) < 0) { 111 if (sysctl(mib, 6, iter->buf, &bufused, NULL, (size_t) 0) < 0) {
|
/macosx-10.9.5/ntp-88/lib/isc/unix/ |
H A D | ifiter_sysctl.c | 58 static int mib[6] = { variable 90 if (sysctl(mib, 6, NULL, &bufsize, NULL, (size_t) 0) < 0) { 111 if (sysctl(mib, 6, iter->buf, &bufused, NULL, (size_t) 0) < 0) {
|
/macosx-10.9.5/hfs-226.1.1/hfs_util/ |
H A D | hfsutil_main.c | 2408 int mib[3]; local 2416 mib[0] = CTL_VFS; 2417 mib[1] = vfc.vfc_typenum; 2418 mib[2] = HFS_ENCODINGBIAS; 2420 if (sysctl(mib, 3, &hint, &buflen, NULL, 0) < 0) 2508 int mib[2]; local 2526 mib[0] = CTL_KERN; 2527 mib[1] = KERN_BOOTTIME; 2529 sysctl(mib, 2, &sysdata, &datalen, NULL, 0); 2533 mib[ [all...] |
/macosx-10.9.5/hfs-226.1.1/newfs_hfs/ |
H A D | makehfs.c | 2047 int mib[3]; local 2055 mib[0] = CTL_VFS; 2056 mib[1] = vfc.vfc_typenum; 2057 mib[2] = HFS_ENCODINGHINT; 2059 if (sysctl(mib, 3, &hint, &buflen, name, strlen((char *)name) + 1) < 0) 2075 int mib[2]; local 2093 mib[0] = CTL_KERN; 2094 mib[1] = KERN_BOOTTIME; 2096 sysctl(mib, 2, &sysdata, &datalen, NULL, 0); 2100 mib[ [all...] |
/macosx-10.9.5/bootp-268.1/bootplib/ |
H A D | interfaces.c | 548 int mib[6]; local 551 mib[0] = CTL_NET; 552 mib[1] = PF_ROUTE; 553 mib[2] = 0; 554 mib[3] = AF_LINK; 555 mib[4] = NET_RT_IFLIST; 556 mib[5] = if_p->link_address.index; /* ask for exactly one interface */ 558 if (sysctl(mib, 6, NULL, &buf_len, NULL, 0) < 0) { 563 if (sysctl(mib, 6, buf, &buf_len, NULL, 0) < 0) {
|
/macosx-10.9.5/emacs-92/emacs/src/ |
H A D | filelock.c | 143 int mib[2]; 147 mib[0] = CTL_KERN; 148 mib[1] = KERN_BOOTTIME; 151 if (sysctl (mib, 2, &boottime_val, &size, NULL, 0) >= 0) 142 int mib[2]; local
|
/macosx-10.9.5/ppp-727.90.1/Drivers/PPTP/PPTP-plugin/ |
H A D | main.c | 1262 int mib[6]; local 1273 mib[0] = CTL_NET; 1274 mib[1] = PF_ROUTE; 1275 mib[2] = 0; 1276 mib[3] = AF_LINK; 1277 mib[4] = NET_RT_IFLIST; 1278 mib[5] = if_index; /* ask for exactly one interface */ 1280 if (sysctl(mib, 6, NULL, &buf_len, NULL, 0) < 0) { 1284 if (sysctl(mib, 6, buf, &buf_len, NULL, 0) < 0) {
|
/macosx-10.9.5/system_cmds-597.90.1/ltop.tproj/ |
H A D | ltop.c | 135 int mib[] = { CTL_KERN, KERN_MAXPROC }; local 139 if (sysctl(mib, 2, &max, &max_sz, NULL, 0) < 0) { 150 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid }; local 154 return (sysctl(mib, 4, kinfo, &len, NULL, 0) < 0);
|
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/ltop.tproj/ |
H A D | ltop.c | 135 int mib[] = { CTL_KERN, KERN_MAXPROC }; local 139 if (sysctl(mib, 2, &max, &max_sz, NULL, 0) < 0) { 150 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid }; local 154 return (sysctl(mib, 4, kinfo, &len, NULL, 0) < 0);
|
/macosx-10.9.5/system_cmds-597.90.1/latency.tproj/ |
H A D | latency.c | 383 int mib[] = { CTL_KERN, KERN_KDEBUG, KERN_KDENABLE, val }; local 386 if (sysctl(mib, ARRAYSIZE(mib), NULL, &needed, NULL, 0) < 0) { 409 int mib[] = { CTL_KERN, KERN_KDEBUG, KERN_KDPIDEX }; local 418 sysctl(mib, ARRAYSIZE(mib), &kr, &needed, NULL, 0); 424 int mib[] = { CTL_KERN, KERN_KDEBUG, KERN_KDGETBUF }; local 427 if (sysctl(mib, ARRAYSIZE(mib), val, &needed, 0, 0) < 0) { 435 int mib[] local 1041 int mib[] = { CTL_HW, HW_NCPU }; local 1201 int mib[] = { CTL_KERN, KERN_KDEBUG, KERN_KDTHRMAP}; local 1842 int mib[] = { CTL_KERN, KERN_KDEBUG, KERN_KDREADTR }; local [all...] |
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/latency.tproj/ |
H A D | latency.c | 383 int mib[] = { CTL_KERN, KERN_KDEBUG, KERN_KDENABLE, val }; local 386 if (sysctl(mib, ARRAYSIZE(mib), NULL, &needed, NULL, 0) < 0) { 409 int mib[] = { CTL_KERN, KERN_KDEBUG, KERN_KDPIDEX }; local 418 sysctl(mib, ARRAYSIZE(mib), &kr, &needed, NULL, 0); 424 int mib[] = { CTL_KERN, KERN_KDEBUG, KERN_KDGETBUF }; local 427 if (sysctl(mib, ARRAYSIZE(mib), val, &needed, 0, 0) < 0) { 435 int mib[] local 1041 int mib[] = { CTL_HW, HW_NCPU }; local 1201 int mib[] = { CTL_KERN, KERN_KDEBUG, KERN_KDTHRMAP}; local 1842 int mib[] = { CTL_KERN, KERN_KDEBUG, KERN_KDREADTR }; local [all...] |
/macosx-10.9.5/Security-55471.14.18/include/security_codesigning/ |
H A D | SecTask.c | 81 int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, task->pid}; local 84 if (sysctl(mib, 4, &kp, &len, NULL, 0) == -1 || len == 0)
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_codesigning/lib/ |
H A D | SecTask.c | 81 int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, task->pid}; local 84 if (sysctl(mib, 4, &kp, &len, NULL, 0) == -1 || len == 0)
|
/macosx-10.9.5/adv_cmds-153/ps/ |
H A D | print.c | 114 int mib[3], argmax, nargs, c = 0; local 120 mib[0] = CTL_KERN; 121 mib[1] = KERN_ARGMAX; 124 if (sysctl(mib, 2, &argmax, &size, NULL, 0) == -1) { 175 mib[0] = CTL_KERN; 176 mib[1] = KERN_PROCARGS2; 177 mib[2] = KI_PROC(k)->p_pid; 180 if (sysctl(mib, 3, procargs, &size, NULL, 0) == -1) {
|
H A D | ps.c | 221 int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_ALL, 0 }; local 582 mib[0] = CTL_KERN; 583 mib[1] = KERN_PROC; 584 mib[2] = what; 585 mib[3] = flag; 587 if (sysctl(mib, 4, NULL, &bufSize, NULL, 0) < 0) { 600 if ((local_error = sysctl(mib, 4, kp, &bufSize, NULL, 0)) < 0) {
|
/macosx-10.9.5/configd-596.15/Plugins/IPMonitor/ |
H A D | smb-configuration.c | 98 int mib[2] = { CTL_KERN, KERN_BOOTTIME }; local 102 if (sysctl(mib, sizeof(mib) / sizeof(mib[0]), &tv, &tv_len, NULL, 0) == -1) { 121 int mib[] = { CTL_HW, HW_MODEL }; local 128 ret = sysctl(mib, sizeof(mib) / sizeof(mib[0]), &hwModel, &n, NULL, 0);
|
/macosx-10.9.5/dtrace-118.1/libelf/ |
H A D | begin.c | 158 int ret, mib[4]; local 169 mib[0] = CTL_KERN; 170 mib[1] = KERN_PROC; 171 mib[2] = KERN_PROC_PID; 172 mib[3] = 0; /* kernproc, pid 0 */ 174 ret = sysctl(mib, sizeof(mib)/sizeof(mib[0]), &kp, &len, NULL, 0);
|
/macosx-10.9.5/network_cmds-433/netstat.tproj/ |
H A D | inet.c | 1007 int mib[4]; /* CTL_NET + PF_INET + IPPROTO_ICMP + req */ local 1010 mib[0] = CTL_NET; 1011 mib[1] = PF_INET; 1012 mib[2] = IPPROTO_ICMP; 1013 mib[3] = ICMPCTL_STATS; 1017 if (sysctl(mib, 4, &icmpstat, &len, (void *)0, 0) < 0) 1062 mib[3] = ICMPCTL_MASKREPL; 1064 if (sysctl(mib, 4, &i, &len, (void *)0, 0) < 0)
|
/macosx-10.9.5/hfs-226.1.1/mount_hfs/ |
H A D | mount_hfs.c | 811 int mib[3]; local 819 mib[0] = CTL_VFS; 820 mib[1] = vfc.vfc_typenum; 821 mib[2] = HFS_ENCODINGBIAS; 823 if (sysctl(mib, 3, &hint, &buflen, NULL, 0) < 0)
|
/macosx-10.9.5/webdavfs-352.92.2/mount.tproj/ |
H A D | webdav_requestqueue.c | 140 int mib[5]; local 170 /* setup mib for the request */ 171 mib[0] = CTL_VFS; 172 mib[1] = g_vfc_typenum; 173 mib[2] = WEBDAV_NOTIFY_RECONNECTED_SYSCTL; 174 mib[3] = g_fsid.val[0]; // fsid byte 0 of reconnected file system 175 mib[4] = g_fsid.val[1]; // fsid byte 1 of reconnected file system 177 if (sysctl(mib, 5, NULL, NULL, NULL, 0) != 0)
|