Searched refs:fps (Results 1 – 3 of 3) sorted by relevance
363 struct fps { in arch_ptrace() struct374 struct fps __user *fps = (struct fps __user *) addr; in arch_ptrace() local379 &fps->regs[0]); in arch_ptrace()384 &fps->fsr); in arch_ptrace()387 if (__put_user(0, &fps->fpqd) || in arch_ptrace()388 __put_user(0, &fps->flags) || in arch_ptrace()389 __put_user(0, &fps->extra) || in arch_ptrace()390 clear_user(fps->fpq, sizeof(fps->fpq))) in arch_ptrace()397 struct fps { in arch_ptrace() struct408 struct fps __user *fps = (struct fps __user *) addr; in arch_ptrace() local[all …]
860 struct compat_fps __user *fps; in compat_arch_ptrace() local867 fps = (struct compat_fps __user *) addr; in compat_arch_ptrace()902 &fps->regs[0]); in compat_arch_ptrace()907 &fps->fsr); in compat_arch_ptrace()909 if (__put_user(0, &fps->flags) || in compat_arch_ptrace()910 __put_user(0, &fps->extra) || in compat_arch_ptrace()911 __put_user(0, &fps->fpqd) || in compat_arch_ptrace()912 clear_user(&fps->fpq[0], 32 * sizeof(unsigned int))) in compat_arch_ptrace()921 &fps->regs[0]); in compat_arch_ptrace()926 &fps->fsr); in compat_arch_ptrace()[all …]
83 static unsigned long fps; in cpu_idle() local97 fps = (fps + (faults - last_faults)) >> 1; in cpu_idle()100 printk("kernel faults / second = %ld\n", fps); in cpu_idle()102 if (fps >= SUN4C_FAULT_HIGH) { in cpu_idle()