| /src/lib/libc/gen/ |
| sysconf.c | 80 int mib[CTL_MAXNAME], value; local 88 /* Default length of the MIB */ 95 mib[0] = CTL_KERN; 96 mib[1] = KERN_ARGMAX; 115 mib[0] = CTL_KERN; 116 mib[1] = KERN_CLOCKRATE; 118 clk_tck = sysctl(mib, 2, &tmpclock, &len, NULL, 0) 123 mib[0] = CTL_KERN; 124 mib[1] = KERN_JOB_CONTROL; 127 mib[0] = CTL_KERN [all...] |
| uname.c | 56 int mib[2]; local 62 mib[0] = CTL_KERN; 63 mib[1] = KERN_OSTYPE; 65 if (sysctl(mib, 2, &name->sysname, &len, NULL, 0) == -1) 68 mib[0] = CTL_KERN; 69 mib[1] = KERN_HOSTNAME; 71 if (sysctl(mib, 2, &name->nodename, &len, NULL, 0) == -1) 74 mib[0] = CTL_KERN; 75 mib[1] = KERN_OSRELEASE; 77 if (sysctl(mib, 2, &name->release, &len, NULL, 0) == -1 [all...] |
| getpagesize.c | 57 int mib[2]; local 60 mib[0] = CTL_HW; 61 mib[1] = HW_PAGESIZE; 63 if (sysctl(mib, 2, &pagsz, &size, NULL, 0) == -1)
|
| setdomainname.c | 56 int mib[2]; local 60 mib[0] = CTL_KERN; 61 mib[1] = KERN_DOMAINNAME; 62 if (sysctl(mib, 2, NULL, NULL, name, namelen) == -1)
|
| sethostname.c | 56 int mib[2]; local 60 mib[0] = CTL_KERN; 61 mib[1] = KERN_HOSTNAME; 62 if (sysctl(mib, 2, NULL, NULL, name, namelen) == -1)
|
| getdomainname.c | 56 int mib[2]; local 62 mib[0] = CTL_KERN; 63 mib[1] = KERN_DOMAINNAME; 66 if (sysctl(mib, 2, name, &size, NULL, 0) == -1) {
|
| gethostname.c | 56 int mib[2]; local 61 mib[0] = CTL_KERN; 62 mib[1] = KERN_HOSTNAME; 64 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
|
| /src/lib/libc/compat-43/ |
| sethostid.c | 49 int mib[2], value; local 51 mib[0] = CTL_KERN; 52 mib[1] = KERN_HOSTID; 54 if (sysctl(mib, 2, NULL, NULL, &value, sizeof(value)) == -1)
|
| gethostid.c | 49 int mib[2], value; local 52 mib[0] = CTL_KERN; 53 mib[1] = KERN_HOSTID; 55 if (sysctl(mib, 2, &value, &size, NULL, (size_t)0) == -1)
|
| /src/lib/libutil/ |
| getbyteorder.c | 44 int byteorder, mib[2]; local 47 mib[0] = CTL_HW; 48 mib[1] = HW_BYTEORDER; 50 if (sysctl(mib, 2, &byteorder, &varlen, NULL, (size_t)0) < 0)
|
| getmaxpartitions.c | 44 int maxpart, mib[2]; local 47 mib[0] = CTL_KERN; 48 mib[1] = KERN_MAXPARTITIONS; 50 if (sysctl(mib, 2, &maxpart, &varlen, NULL, (size_t)0) < 0)
|
| getrawpartition.c | 44 int rawpart, mib[2]; local 47 mib[0] = CTL_KERN; 48 mib[1] = KERN_RAWPARTITION; 50 if (sysctl(mib, 2, &rawpart, &varlen, NULL, (size_t)0) < 0)
|
| kinfo_getvmmap.c | 17 int mib[5]; local 24 mib[0] = CTL_VM; 25 mib[1] = VM_PROC; 26 mib[2] = VM_PROC_MAP; 27 mib[3] = pid; 28 mib[4] = sizeof(*kiv); 30 error = sysctl(mib, (u_int)__arraycount(mib), NULL, &len, NULL, 0); 40 error = sysctl(mib, (u_int)__arraycount(mib), kiv, &len, NULL, 0) [all...] |
| getlabelsector.c | 50 int sector, mib[2]; local 53 mib[0] = CTL_KERN; 54 mib[1] = KERN_LABELSECTOR; 56 if (sysctl(mib, 2, §or, &varlen, NULL, (size_t)0) < 0) 65 int offset, mib[2]; local 68 mib[0] = CTL_KERN; 69 mib[1] = KERN_LABELOFFSET; 71 if (sysctl(mib, 2, &offset, &varlen, NULL, (size_t)0) < 0)
|
| getbootfile.c | 52 int mib[2]; local 60 mib[0] = CTL_MACHDEP; 61 mib[1] = CPU_BOOTED_KERNEL; 63 if (sysctl(mib, 2, name + 1, &size, NULL, 0) == 0) {
|
| /src/external/bsd/jemalloc.old/dist/test/include/test/ |
| arena_util.h | 7 size_t mib[3]; local 8 size_t miblen = sizeof(mib)/sizeof(size_t); 10 expect_d_eq(mallctlnametomib("arena.0.dirty_decay_ms", mib, &miblen), 12 mib[1] = (size_t)arena_ind; 13 expect_d_eq(mallctlbymib(mib, miblen, NULL, NULL, 17 expect_d_eq(mallctlnametomib("arena.0.muzzy_decay_ms", mib, &miblen), 19 mib[1] = (size_t)arena_ind; 20 expect_d_eq(mallctlbymib(mib, miblen, NULL, NULL, 35 size_t mib[3]; local 36 size_t miblen = sizeof(mib)/sizeof(size_t) 53 size_t mib[3]; local 64 size_t mib[3]; local 75 size_t mib[4]; local 115 size_t mib[4]; local 130 size_t mib[4]; local [all...] |
| /src/external/bsd/jemalloc/dist/test/include/test/ |
| arena_util.h | 7 size_t mib[3]; local 8 size_t miblen = sizeof(mib) / sizeof(size_t); 10 expect_d_eq(mallctlnametomib("arena.0.dirty_decay_ms", mib, &miblen), 0, 12 mib[1] = (size_t)arena_ind; 13 expect_d_eq(mallctlbymib(mib, miblen, NULL, NULL, 17 expect_d_eq(mallctlnametomib("arena.0.muzzy_decay_ms", mib, &miblen), 0, 19 mib[1] = (size_t)arena_ind; 20 expect_d_eq(mallctlbymib(mib, miblen, NULL, NULL, 35 size_t mib[3]; local 36 size_t miblen = sizeof(mib) / sizeof(size_t) 53 size_t mib[3]; local 64 size_t mib[3]; local 75 size_t mib[4]; local 115 size_t mib[4]; local 130 size_t mib[4]; local [all...] |
| /src/lib/libc/compat/net/ |
| __cmsg_alignbytes.c | 48 int mib[2]; local 57 mib[0] = CTL_HW; 58 mib[1] = HW_ALIGNBYTES; 60 ret = sysctl(mib, (u_int) (sizeof(mib) / sizeof(mib[0])),
|
| /src/external/mpl/bind/dist/lib/isc/ |
| meminfo.c | 27 int mib[2]; local 28 mib[0] = CTL_HW; 30 mib[1] = HW_MEMSIZE; 32 mib[1] = HW_PHYSMEM64; 36 if (sysctl(mib, 2, &size, &len, NULL, 0) == 0) {
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/unix/ |
| meminfo.c | 27 int mib[2]; local 28 mib[0] = CTL_HW; 30 mib[1] = HW_MEMSIZE; 32 mib[1] = HW_PHYSMEM64; 36 if (sysctl(mib, 2, &size, &len, NULL, 0) == 0) {
|
| /src/external/cddl/dtracetoolkit/dist/Bin/ |
| tcpstat.d | 5 * This prints TCP statistics every second, retrieved from the MIB provider. 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; }
|
| udpstat.d | 5 * This prints UDP statistics every second, retrieved from the MIB provider. 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; }
|
| /src/external/cddl/dtracetoolkit/dist/Net/ |
| tcpstat.d | 5 * This prints TCP statistics every second, retrieved from the MIB provider. 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; }
|
| udpstat.d | 5 * This prints UDP statistics every second, retrieved from the MIB provider. 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; }
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/scripts/ |
| gen_text_encoding_data.py | 70 # We need to generate a list of initializers of the form { mib, alias }, e.g., 76 # The initializers must be sorted by the mib value. The first entry for 77 # a given mib must be the primary name for the encoding. Any aliases for 80 # offset into the list of the mib=106, alias="UTF-8" entry. This is used 88 mib = int(row[2]) variable 89 if mib in charsets: 90 raise ValueError("Multiple rows for mibEnum={}".format(mib)) 96 charsets[mib] = [name] + aliases 108 for mib in sorted(charsets.keys()): 109 names = charsets[mib] [all...] |