Home
last modified time | relevance | path

Searched refs:md_ucop2 (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/mips/mips/
H A Dvm_machdep.c150 if (td1->td_md.md_ucop2) in cpu_fork()
151 octeon_cop2_save(td1->td_md.md_ucop2); in cpu_fork()
168 if (td1->td_md.md_ucop2) { in cpu_fork()
170 memcpy(td2->td_md.md_ucop2, td1->td_md.md_ucop2, in cpu_fork()
171 sizeof(*td1->td_md.md_ucop2)); in cpu_fork()
213 if (td->td_md.md_ucop2) in cpu_thread_exit()
214 memset(td->td_md.md_ucop2, 0, in cpu_thread_exit()
215 sizeof(*td->td_md.md_ucop2)); in cpu_thread_exit()
225 if (td->td_md.md_ucop2) in cpu_thread_free()
226 octeon_cop2_free_ctx(td->td_md.md_ucop2); in cpu_thread_free()
[all …]
H A Dtrap.c934 if (td->td_md.md_ucop2) in trap()
935 octeon_cop2_save(td->td_md.md_ucop2); in trap()
993 if (td->td_md.md_ucop2 == NULL) { in trap()
994 td->td_md.md_ucop2 = octeon_cop2_alloc_ctx(); in trap()
995 if (td->td_md.md_ucop2 == NULL) in trap()
997 memset(td->td_md.md_ucop2, 0, sizeof(*td->td_md.md_ucop2)); in trap()
1000 octeon_cop2_restore(td->td_md.md_ucop2); in trap()
H A Dgenassym.c118 ASSYM(TD_UCOP2, offsetof(struct thread, td_md.md_ucop2));
/f-stack/freebsd/mips/include/
H A Dproc.h69 struct octeon_cop2_state *md_ucop2; /* userland context */ member