Home
last modified time | relevance | path

Searched refs:ts_map (Results 1 – 2 of 2) sorted by relevance

/netbsd/src/sys/net/npf/
Dnpf_tableset.c117 npf_table_t * ts_map[]; member
121 (offsetof(npf_tableset_t, ts_map[n]) * sizeof(npf_table_t *))
159 npf_table_t *t = ts->ts_map[tid]; in npf_tableset_destroy()
185 if (ts->ts_map[tid] == NULL) { in npf_tableset_insert()
187 ts->ts_map[tid] = t; in npf_tableset_insert()
199 npf_table_t *oldt = ts->ts_map[tid]; in npf_tableset_swap()
208 return atomic_swap_ptr(&ts->ts_map[tid], newt); in npf_tableset_swap()
220 if ((t = ts->ts_map[tid]) == NULL) in npf_tableset_getbyname()
232 return atomic_load_relaxed(&ts->ts_map[tid]); in npf_tableset_getbyid()
249 if ((t = nts->ts_map[tid]) == NULL) { in npf_tableset_reload()
[all …]
/netbsd/src/sys/kern/
Dsched_m2.c71 static u_int ts_map[PRI_COUNT]; /* Map of time-slices */ variable
108 lwp0.l_sched.timeslice = ts_map[lwp0.l_auxprio]; in sched_rqinit()
120 ts_map[p] = max_ts - in sched_precalcts()
128 ts_map[p] = sched_rrticks; in sched_precalcts()
212 l->l_sched.timeslice = ts_map[lwp_eprio(l)]; in sched_newts()