Lines Matching refs:sel
24 int get_sys_uint64(const char *sel, uint64_t *val);
25 int get_sys_int32(const char *sel, int32_t *val);
245 int get_sys_uint64(const char *sel, uint64_t *val)
250 ret = sysctlbyname(sel, val, &size, NULL, 0);
252 warn("sysctlbyname(%s)", sel);
256 // warnx("sysctlbyname(%s) => %llx", sel, *val);
261 int get_sys_int32(const char *sel, int32_t *val)
266 ret = sysctlbyname(sel, val, &size, NULL, 0);
268 warn("sysctlbyname(%s)", sel);
272 // warnx("sysctlbyname(%s) => %x", sel, *val);