Searched refs:md_cop2 (Results 1 – 4 of 4) sorted by relevance
156 if (td1->td_md.md_cop2) in cpu_fork()157 octeon_cop2_save(td1->td_md.md_cop2); in cpu_fork()163 if (td1->td_md.md_cop2) { in cpu_fork()165 memcpy(td2->td_md.md_cop2, td1->td_md.md_cop2, in cpu_fork()166 sizeof(*td1->td_md.md_cop2)); in cpu_fork()210 if (td->td_md.md_cop2) in cpu_thread_exit()211 memset(td->td_md.md_cop2, 0, in cpu_thread_exit()212 sizeof(*td->td_md.md_cop2)); in cpu_thread_exit()223 if (td->td_md.md_cop2) in cpu_thread_free()224 octeon_cop2_free_ctx(td->td_md.md_cop2); in cpu_thread_free()[all …]
940 if (td->td_md.md_cop2 == NULL) { in trap()941 td->td_md.md_cop2 = octeon_cop2_alloc_ctx(); in trap()942 if (td->td_md.md_cop2 == NULL) in trap()944 memset(td->td_md.md_cop2, 0, sizeof(*td->td_md.md_cop2)); in trap()947 octeon_cop2_restore(td->td_md.md_cop2); in trap()987 if (td->td_md.md_cop2) in trap()988 octeon_cop2_save(td->td_md.md_cop2); in trap()
117 ASSYM(TD_COP2, offsetof(struct thread, td_md.md_cop2));
68 struct octeon_cop2_state *md_cop2; /* kernel context */ member