Home
last modified time | relevance | path

Searched refs:pcb_vsaved (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/riscv/riscv/
H A Dvector.c122 KASSERT(p->pcb_vsaved != NULL, ("VS area is NULL")); in vector_state_store()
124 datap = p->pcb_vsaved; in vector_state_store()
138 KASSERT(p->pcb_vsaved != NULL, ("VS area is NULL")); in vector_state_restore()
140 datap = p->pcb_vsaved; in vector_state_restore()
195 KASSERT(p->pcb_vsaved == NULL, ("vsaved is already initialized")); in vector_state_init()
199 p->pcb_vsaved = malloc(len, M_RVV_CTX, M_WAITOK | M_ZERO); in vector_state_init()
213 p2->pcb_vsaved = NULL; in vector_copy_thread()
219 memcpy(p2->pcb_vsaved, p1->pcb_vsaved, len); in vector_copy_thread()
227 datap = td->td_pcb->pcb_vsaved; in vector_thread_dtor()
H A Dexec_machdep.c249 if (pcb->pcb_vsaved == NULL) in restore_vector_state()
262 if (copyin((void *)(addr + sizeof(vs_ctx)), pcb->pcb_vsaved, in restore_vector_state()
455 if (pcb->pcb_vsaved == NULL) in sendsig_ctx_vector()
458 MPASS(pcb->pcb_vsaved != NULL); in sendsig_ctx_vector()
478 if (copyout(pcb->pcb_vsaved, (void *)(vs_ctx_addr + sizeof(vs_ctx)), in sendsig_ctx_vector()
/freebsd/sys/riscv/include/
H A Dpcb.h61 void *pcb_vsaved; /* Vector registers area. */ member