Lines Matching refs:sv
123 timehands_update(struct sysentvec *sv) in timehands_update() argument
131 sv->sv_timekeep_off); in timehands_update()
132 idx = sv->sv_timekeep_curr; in timehands_update()
136 sv->sv_timekeep_curr = idx; in timehands_update()
137 if (++sv->sv_timekeep_gen == 0) in timehands_update()
138 sv->sv_timekeep_gen = 1; in timehands_update()
143 atomic_store_rel_32(&tk->tk_th[idx].th_gen, sv->sv_timekeep_gen); in timehands_update()
149 timehands_update32(struct sysentvec *sv) in timehands_update32() argument
157 sv->sv_timekeep_off); in timehands_update32()
158 idx = sv->sv_timekeep_curr; in timehands_update32()
162 sv->sv_timekeep_curr = idx; in timehands_update32()
163 if (++sv->sv_timekeep_gen == 0) in timehands_update32()
164 sv->sv_timekeep_gen = 1; in timehands_update32()
169 atomic_store_rel_32(&tk->tk_th[idx].th_gen, sv->sv_timekeep_gen); in timehands_update32()
200 struct sysentvec *sv; in exec_sysvec_init() local
204 sv = (struct sysentvec *)param; in exec_sysvec_init()
206 if ((sv->sv_flags & SV_SHP) == 0) in exec_sysvec_init()
208 sv->sv_shared_page_obj = shared_page_obj; in exec_sysvec_init()
209 sv->sv_sigcode_base = sv->sv_shared_page_base + in exec_sysvec_init()
210 shared_page_fill(*(sv->sv_szsigcode), 16, sv->sv_sigcode); in exec_sysvec_init()
211 if ((sv->sv_flags & SV_ABI_MASK) != SV_ABI_FREEBSD) in exec_sysvec_init()
215 if ((sv->sv_flags & SV_ILP32) != 0) { in exec_sysvec_init()
223 compat32_sysentvec = sv; in exec_sysvec_init()
232 host_sysentvec = sv; in exec_sysvec_init()
236 sv->sv_timekeep_base = sv->sv_shared_page_base + tk_base; in exec_sysvec_init()
237 sv->sv_timekeep_off = tk_base; in exec_sysvec_init()