Searched refs:sysctlbyname (Results 1 - 11 of 11) sorted by relevance
/darwin-on-arm/xnu/libkern/libkern/ |
H A D | sysctl.h | 39 * These are the support HW selectors for sysctlbyname. Parameters that are byte counts or frequencies are 64 bit numbers. 110 int sysctlbyname(const char *, void *, size_t *, void *, size_t);
|
/darwin-on-arm/xnu/tools/ |
H A D | cred_dump_backtraces.c | 46 err = sysctlbyname( "kern.cred_bt", NULL, &len, NULL, 0 ); 59 err = sysctlbyname( "kern.cred_bt", my_bufferp, &len, NULL, 0 );
|
H A D | cred_dump_creds.c | 50 err = sysctlbyname( "kern.dump_creds", NULL, &len, NULL, 0 ); 63 err = sysctlbyname( "kern.dump_creds", my_bufferp, &len, NULL, 0 );
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | misc.c | 311 * Uses sysctlbyname to determine the cpu type. Currently, XNU classifies G5 as a 322 errmsg = "sysctlbyname() failed when getting hw.cputype"; 323 if ((my_err = sysctlbyname("hw.cputype", NULL, &length, NULL, 0))) goto finished; /* get length of data */ 325 if ((my_err = sysctlbyname("hw.cputype", &buf, &length, NULL, 0))) goto finished; /* copy data */ 361 if ((my_err = sysctlbyname("hw.optional.64bitops", NULL, &len, NULL, 0))) goto x86_64check; /* Request size */ 363 if ((my_err = sysctlbyname("hw.optional.64bitops", &buf, &len, NULL, 0))) goto x86_64check; /* Copy value out from kernel */ 369 if ((my_err = sysctlbyname("hw.optional.x86_64", NULL, &len, NULL, 0))) goto finished; /* Request size */ 371 if ((my_err = sysctlbyname("hw.optional.x86_64", &buf, &len, NULL, 0))) goto finished; /* Copy value out from kernel */
|
H A D | commpage_tests.c | 250 ret = sysctlbyname(sel, val, &size, NULL, 0); 252 warn("sysctlbyname(%s)", sel); 256 // warnx("sysctlbyname(%s) => %llx", sel, *val); 266 ret = sysctlbyname(sel, val, &size, NULL, 0); 268 warn("sysctlbyname(%s)", sel); 272 // warnx("sysctlbyname(%s) => %x", sel, *val);
|
H A D | tests.c | 5152 result = sysctlbyname("kern.slide", &slide_enabled, &size, NULL, 0); 5154 printf("sysctlbyname(\"kern.slide\") failed with errno %d\n", errno);
|
/darwin-on-arm/xnu/tools/tests/execperf/ |
H A D | printexecinfo.c | 37 ret = sysctlbyname("kern.usrstack64", &stackaddr, &len, NULL, 0); 39 err(1, "sysctlbyname");
|
/darwin-on-arm/xnu/tools/tests/affinity/ |
H A D | sets.c | 298 if (sysctlbyname("hw.cacheconfig", 304 if (sysctlbyname("hw.cachesize",
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_lat_ctx.c | 174 retval=sysctlbyname(name, &cpus, &len, NULL, 0);
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | sysctl.h | 945 * These are the support HW selectors for sysctlbyname. Parameters that are byte counts or frequencies are 64 bit numbers. 1166 int sysctlbyname(const char *, void *, size_t *, void *, size_t);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_newsysctl.c | 665 * Preferrably, use sysctlbyname() instead. 863 * Preferrably, use sysctlbyname() instead. 971 * the sysctlbyname() function as well as by the "sysctl" command 998 * Preferrably, use sysctlbyname() instead. 1672 sysctlbyname(const char *name, void *oldp, size_t *oldlenp, void *newp, size_t newlen) function
|
Completed in 93 milliseconds