Home
last modified time | relevance | path

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

/freebsd-12.1/sys/mips/mips/
H A Dvm_machdep.c158 if (td1->td_md.md_cop2) in cpu_fork()
159 octeon_cop2_save(td1->td_md.md_cop2); in cpu_fork()
165 if (td1->td_md.md_cop2) { in cpu_fork()
167 memcpy(td2->td_md.md_cop2, td1->td_md.md_cop2, in cpu_fork()
168 sizeof(*td1->td_md.md_cop2)); in cpu_fork()
212 if (td->td_md.md_cop2) in cpu_thread_exit()
213 memset(td->td_md.md_cop2, 0, in cpu_thread_exit()
214 sizeof(*td->td_md.md_cop2)); in cpu_thread_exit()
225 if (td->td_md.md_cop2) in cpu_thread_free()
226 octeon_cop2_free_ctx(td->td_md.md_cop2); in cpu_thread_free()
[all …]
H A Dtrap.c948 if (td->td_md.md_cop2 == NULL) { in trap()
949 td->td_md.md_cop2 = octeon_cop2_alloc_ctx(); in trap()
950 if (td->td_md.md_cop2 == NULL) in trap()
952 memset(td->td_md.md_cop2, 0, sizeof(*td->td_md.md_cop2)); in trap()
955 octeon_cop2_restore(td->td_md.md_cop2); in trap()
995 if (td->td_md.md_cop2) in trap()
996 octeon_cop2_save(td->td_md.md_cop2); in trap()
H A Dgenassym.c115 ASSYM(TD_COP2, offsetof(struct thread, td_md.md_cop2));
/freebsd-12.1/sys/mips/include/
H A Dproc.h69 struct octeon_cop2_state *md_cop2; /* kernel context */ member