Lines Matching full:owner
84 /* become new owner */ in z_riscv_fpu_load()
108 struct k_thread *owner = atomic_ptr_get(&_current_cpu->arch.fpu_owner); in arch_flush_local_fpu() local
110 if (owner != NULL) { in arch_flush_local_fpu()
116 /* save current owner's content */ in arch_flush_local_fpu()
117 z_riscv_fpu_save(&owner->arch.saved_fp_context); in arch_flush_local_fpu()
121 owner->arch.fpu_recently_used = dirty; in arch_flush_local_fpu()
128 DBG("disable", owner); in arch_flush_local_fpu()
139 atomic_ptr_val_t owner; in flush_owned_fpu() local
141 /* search all CPUs for the owner we want */ in flush_owned_fpu()
145 owner = atomic_ptr_get(&_kernel.cpus[i].arch.fpu_owner); in flush_owned_fpu()
146 if (owner != thread) { in flush_owned_fpu()
176 owner = atomic_ptr_get(&_kernel.cpus[i].arch.fpu_owner); in flush_owned_fpu()
177 } while (owner == thread); in flush_owned_fpu()
213 /* save current owner's content if any */ in z_riscv_fpu_trap()