Searched refs:pol (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/tools/tests/jitter/
H A Dtimer_jitter.c64 my_policy_type_t pol; member in struct:second_thread_args
99 thread_setup(my_policy_type_t pol) argument
103 switch (pol) {
110 thread_time_constraint_policy_data_t pol; local
113 pol.period = 100000;
114 pol.constraint = CONSTRAINT_NANOS * g_mti.denom / g_mti.numer;
115 pol.computation = COMPUTATION_NANOS * g_mti.denom / g_mti.numer;
116 pol.preemptible = 0; /* Ignored by OS */
118 res = thread_policy_set(mach_thread_self(), THREAD_TIME_CONSTRAINT_POLICY, (thread_policy_t) &pol, THREAD_TIME_CONSTRAINT_POLICY_COUNT);
124 thread_extended_policy_data_t pol; local
226 my_policy_type_t pol; local
[all...]
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dsched_tests.c34 thread_time_constraint_policy_data_t pol; local
44 pol.period = nanos_to_abs(1000000000, mti.numer, mti.denom);
45 pol.constraint = nanos_to_abs(100000000, mti.numer, mti.denom);
46 pol.computation = nanos_to_abs(10000000, mti.numer, mti.denom);
47 pol.preemptible = 0; /* Ignored by OS */
49 kret = thread_policy_set(mach_thread_self(), THREAD_TIME_CONSTRAINT_POLICY, (thread_policy_t) &pol, THREAD_TIME_CONSTRAINT_POLICY_COUNT);
/darwin-on-arm/xnu/tools/tests/zero-to-n/
H A Dzero-to-n.c158 thread_time_constraint_policy_data_t pol; local
161 pol.period = 100000;
162 pol.constraint = nanos_to_abs(CONSTRAINT_NANOS);
163 pol.computation = nanos_to_abs(COMPUTATION_NANOS);
164 pol.preemptible = 0; /* Ignored by OS */
166 res = thread_policy_set(mach_thread_self(), THREAD_TIME_CONSTRAINT_POLICY, (thread_policy_t) &pol, THREAD_TIME_CONSTRAINT_POLICY_COUNT);
172 thread_extended_policy_data_t pol; local
173 pol.timeshare = 0;
175 res = thread_policy_set(mach_thread_self(), THREAD_EXTENDED_POLICY, (thread_policy_t) &pol, THREAD_EXTENDED_POLICY_COUNT);
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_src.c1453 struct in6_addrpolicy *bestpol = NULL, *pol; local
1460 pol = &pent->ape_policy;
1461 mp = (u_char *)&pol->addrmask.sin6_addr;
1464 p = (u_char *)&pol->addr.sin6_addr;
1482 bestpol = pol;
1496 struct addrsel_policyent *new, *pol; local
1504 TAILQ_FOREACH(pol, &addrsel_policytab, ape_entry) {
1506 &pol->ape_policy.addr.sin6_addr) &&
1508 &pol->ape_policy.addrmask.sin6_addr)) {
1529 struct addrsel_policyent *pol; local
1561 struct addrsel_policyent *pol; local
1583 dump_addrsel_policyent(const struct in6_addrpolicy *pol, void *arg) argument
[all...]

Completed in 79 milliseconds