Searched refs:mibsz (Results 1 - 2 of 2) sorted by relevance
/freebsd-13-stable/usr.bin/systat/ |
H A D | fetch.c | 104 size_t mibsz = SD_MAXMIB; local 110 if (sysctlnametomib(n, mib, &mibsz) == -1) { 118 if (sysctl(mib, mibsz, NULL, &sz, NULL, 0) == -1) 125 if (sysctl(mib, mibsz, rv, &sz, NULL, 0) == -1) {
|
/freebsd-13-stable/lib/libcasper/services/cap_sysctl/ |
H A D | cap_sysctl.c | 87 size_t mibsz; local 102 mibsz = nitems(mib); 103 error = cap_sysctlnametomib(limit->chan, name, mib, &mibsz); 105 nvlist_add_binary(lnv, "mib", mib, mibsz * sizeof(int)); 227 size_t mibsz; local 246 mib = nvlist_get_binary(req, "mib", &mibsz); 247 *sizep = mibsz / sizeof(int); 249 memcpy(mibp, mib, mibsz);
|
Completed in 53 milliseconds