/linux-6.3-rc2/tools/power/cpupower/lib/ |
A D | cpufreq.c | 289 if (current) { in cpufreq_get_available_governors() 290 current->next = malloc(sizeof(*current)); in cpufreq_get_available_governors() 293 current = current->next; in cpufreq_get_available_governors() 367 current->next = malloc(sizeof(*current)); in cpufreq_get_available_frequencies() 370 current = current->next; in cpufreq_get_available_frequencies() 423 current->next = malloc(sizeof(*current)); in cpufreq_get_boost_frequencies() 426 current = current->next; in cpufreq_get_boost_frequencies() 498 current->next = malloc(sizeof(*current)); in sysfs_get_cpu_list() 501 current = current->next; in sysfs_get_cpu_list() 731 current->next = malloc(sizeof(*current)); in cpufreq_get_stats() [all …]
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | sigutil_32.c | 21 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 22 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth); in save_fpu_state() 24 clear_tsk_thread_flag(current, TIF_USEDFPU); in save_fpu_state() 27 if (current == last_task_used_math) { in save_fpu_state() 29 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 30 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth); in save_fpu_state() 36 ¤t->thread.float_regs[0], in save_fpu_state() 40 if (current->thread.fpqdepth != 0) in save_fpu_state() 42 ¤t->thread.fpqueue[0], in save_fpu_state() 60 if (current == last_task_used_math) { in restore_fpu_state() [all …]
|
/linux-6.3-rc2/drivers/tty/ |
A D | tty_jobctrl.c | 39 if (current->signal->tty != tty) in __tty_check_change() 43 pgrp = task_pgrp(current); in __tty_check_change() 112 if (current->signal->tty) { in __proc_set_tty() 114 current->signal->tty->name); in __proc_set_tty() 115 tty_kref_put(current->signal->tty); in __proc_set_tty() 136 if (current->signal->leader && in tty_open_proc_set_tty() 137 !current->signal->tty && in tty_open_proc_set_tty() 269 if (!current->signal->leader) in disassociate_ctty() 367 if (current->signal->leader && in tiocsctty() 375 if (!current->signal->leader || current->signal->tty) { in tiocsctty() [all …]
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | signal_32.c | 250 flush_fp_to_thread(current); in prepare_save_user_regs() 252 if (current->thread.used_vr) in prepare_save_user_regs() 259 flush_vsx_to_thread(current); in prepare_save_user_regs() 262 if (current->thread.used_spe) in prepare_save_user_regs() 263 flush_spe_to_thread(current); in prepare_save_user_regs() 277 if (current->thread.used_vr) { in __unsafe_save_user_regs() 316 if (current->thread.used_spe) { in __unsafe_save_user_regs() 383 if (current->thread.used_vr) { in save_tm_user_regs_unsafe() 427 if (current->thread.used_vsr) { in save_tm_user_regs_unsafe() 500 current->thread.used_vr = true; in restore_user_regs() [all …]
|
A D | process.c | 215 if (current->thread.regs && (current->thread.regs->msr & MSR_FP)) { in enable_kernel_fp() 227 __giveup_fpu(current); in enable_kernel_fp() 266 if (current->thread.regs && (current->thread.regs->msr & MSR_VEC)) { in enable_kernel_altivec() 385 if (current->thread.regs && (current->thread.regs->msr & MSR_SPE)) { in enable_kernel_spe() 1199 save_fpu(current); in kvmppc_save_user_regs() 1671 if (t != current) in set_thread_tidr() 1952 memset(¤t->thread.fp_state, 0, sizeof(current->thread.fp_state)); in start_thread() 1956 memset(¤t->thread.vr_state, 0, sizeof(current->thread.vr_state)); in start_thread() 1964 memset(current->thread.evr, 0, sizeof(current->thread.evr)); in start_thread() 2245 tsk = current; in show_stack() [all …]
|
A D | uprobes.c | 68 autask->saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol() 69 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol() 70 regs_set_return_ip(regs, current->utask->xol_vaddr); in arch_uprobe_pre_xol() 72 user_enable_single_step(current); in arch_uprobe_pre_xol() 114 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() 116 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol() 118 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol() 129 user_disable_single_step(current); in arch_uprobe_post_xol() 170 struct uprobe_task *utask = current->utask; in arch_uprobe_abort_xol() 172 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol() [all …]
|
A D | traps.c | 149 !current->pid || is_global_init(current)) in die_will_crash() 243 is_global_init(current)) { in oops_end() 326 current->comm, current->pid, signame(signr), signr, in show_signal_msg() 905 smp_processor_id(), current->comm, current->pid, in p9_hmi_special_emu() 940 smp_processor_id(), current->comm, current->pid, in p9_hmi_special_emu() 955 smp_processor_id(), current->comm, current->pid, in p9_hmi_special_emu() 962 smp_processor_id(), current->comm, current->pid, regs->nip, in p9_hmi_special_emu() 981 smp_processor_id(), current->comm, current->pid, in p9_hmi_special_emu() 1198 flush_fp_to_thread(current); in parse_fpe() 1698 current->thread.load_tm++; in tm_unavailable() [all …]
|
/linux-6.3-rc2/kernel/ |
A D | delayacct.c | 211 delayacct_end(¤t->delays->lock, in __delayacct_freepages_end() 223 current->in_thrashing = 1; in __delayacct_thrashing_start() 232 current->in_thrashing = 0; in __delayacct_thrashing_end() 233 delayacct_end(¤t->delays->lock, in __delayacct_thrashing_end() 246 delayacct_end(¤t->delays->lock, in __delayacct_swapin_end() 247 ¤t->delays->swapin_start, in __delayacct_swapin_end() 248 ¤t->delays->swapin_delay, in __delayacct_swapin_end() 259 delayacct_end(¤t->delays->lock, in __delayacct_compact_end() 272 delayacct_end(¤t->delays->lock, in __delayacct_wpcopy_end() 273 ¤t->delays->wpcopy_start, in __delayacct_wpcopy_end() [all …]
|
A D | rseq.c | 197 sig, current->rseq_sig, current->pid, usig); in rseq_get_rseq_cs() 374 if (current->rseq != rseq || !current->rseq) in SYSCALL_DEFINE4() 378 if (current->rseq_sig != sig) in SYSCALL_DEFINE4() 383 current->rseq = NULL; in SYSCALL_DEFINE4() 384 current->rseq_sig = 0; in SYSCALL_DEFINE4() 385 current->rseq_len = 0; in SYSCALL_DEFINE4() 392 if (current->rseq) { in SYSCALL_DEFINE4() 398 if (current->rseq != rseq || rseq_len != current->rseq_len) in SYSCALL_DEFINE4() 423 current->rseq = rseq; in SYSCALL_DEFINE4() 424 current->rseq_len = rseq_len; in SYSCALL_DEFINE4() [all …]
|
/linux-6.3-rc2/kernel/events/ |
A D | hw_breakpoint_test.c | 127 TEST_EXPECT_NOSPC(register_test_bp(-1, current, idx)); in test_one_cpu() 150 fill_bp_slots(test, &idx, -1, current, 0); in test_one_task_on_all_cpus() 151 TEST_EXPECT_NOSPC(register_test_bp(-1, current, idx)); in test_one_task_on_all_cpus() 164 fill_bp_slots(test, &idx, -1, current, 0); in test_two_tasks_on_all_cpus() 167 TEST_EXPECT_NOSPC(register_test_bp(-1, current, idx)); in test_two_tasks_on_all_cpus() 182 TEST_EXPECT_NOSPC(register_test_bp(-1, current, idx)); in test_one_task_on_one_cpu() 200 fill_bp_slots(test, &idx, -1, current, 1); in test_one_task_mixed() 201 TEST_EXPECT_NOSPC(register_test_bp(-1, current, idx)); in test_one_task_mixed() 252 fill_bp_slots(test, &idx, -1, current, 2); in test_task_on_all_and_one_cpu() 256 fill_one_bp_slot(test, &idx, -1, current); in test_task_on_all_and_one_cpu() [all …]
|
/linux-6.3-rc2/arch/s390/kernel/ |
A D | guarded_storage.c | 25 if (!current->thread.gs_cb) { in gs_enable() 33 current->thread.gs_cb = gs_cb; in gs_enable() 41 if (current->thread.gs_cb) { in gs_disable() 43 kfree(current->thread.gs_cb); in gs_disable() 44 current->thread.gs_cb = NULL; in gs_disable() 55 gs_cb = current->thread.gs_bc_cb; in gs_set_bc_cb() 71 gs_cb = current->thread.gs_bc_cb; in gs_clear_bc_cb() 72 current->thread.gs_bc_cb = NULL; in gs_clear_bc_cb() 83 gs_cb = current->thread.gs_bc_cb; in gs_load_bc_cb() 85 kfree(current->thread.gs_cb); in gs_load_bc_cb() [all …]
|
A D | signal.c | 110 save_access_regs(current->thread.acrs); in store_sigregs() 117 restore_access_regs(current->thread.acrs); in load_sigregs() 169 sizeof(current->thread.acrs)); in restore_sigregs() 187 vxrs[i] = current->thread.fpu.vxrs[i].low; in save_sigregs_ext() 213 current->thread.fpu.vxrs[i].low = vxrs[i]; in restore_sigregs_ext() 282 sp = current->sas_ss_sp + current->sas_ss_size; in get_sigframe() 360 regs->gprs[6] = current->thread.last_break; in setup_frame() 427 regs->gprs[5] = current->thread.last_break; in setup_rt_frame() 465 current->thread.system_call = in arch_do_signal_or_restart() 470 if (current->thread.system_call) { in arch_do_signal_or_restart() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/arm64/signal/ |
A D | test_signals.c | 15 struct tdescr *current = &tde; variable 19 ksft_print_msg("%s :: %s\n", current->name, current->descr); in main() 20 if (test_setup(current) && test_init(current)) { in main() 21 test_run(current); in main() 22 test_cleanup(current); in main() 24 test_result(current); in main() 26 return current->result; in main()
|
/linux-6.3-rc2/arch/m68k/mm/ |
A D | fault.c | 27 signo = current->thread.signo; in send_fault_sig() 28 si_code = current->thread.code; in send_fault_sig() 71 struct mm_struct *mm = current->mm; in do_page_fault() 188 current->thread.signo = SIGBUS; in do_page_fault() 189 current->thread.faddr = address; in do_page_fault() 193 current->thread.signo = SIGBUS; in do_page_fault() 195 current->thread.faddr = address; in do_page_fault() 199 current->thread.signo = SIGSEGV; in do_page_fault() 201 current->thread.faddr = address; in do_page_fault() 205 current->thread.signo = SIGSEGV; in do_page_fault() [all …]
|
/linux-6.3-rc2/include/linux/sched/ |
A D | mm.h | 291 current->flags |= PF_MEMALLOC_NOIO; in memalloc_noio_save() 305 current->flags = (current->flags & ~PF_MEMALLOC_NOIO) | flags; in memalloc_noio_restore() 322 current->flags |= PF_MEMALLOC_NOFS; in memalloc_nofs_save() 336 current->flags = (current->flags & ~PF_MEMALLOC_NOFS) | flags; in memalloc_nofs_restore() 342 current->flags |= PF_MEMALLOC; in memalloc_noreclaim_save() 348 current->flags = (current->flags & ~PF_MEMALLOC) | flags; in memalloc_noreclaim_restore() 355 current->flags |= PF_MEMALLOC_PIN; in memalloc_pin_save() 361 current->flags = (current->flags & ~PF_MEMALLOC_PIN) | flags; in memalloc_pin_restore() 386 old = current->active_memcg; in set_active_memcg() 387 current->active_memcg = memcg; in set_active_memcg() [all …]
|
A D | signal.h | 520 current->restore_sigmask = true; in set_restore_sigmask() 528 current->restore_sigmask = false; in clear_restore_sigmask() 532 return current->restore_sigmask; in test_restore_sigmask() 540 if (!current->restore_sigmask) in test_and_clear_restore_sigmask() 542 current->restore_sigmask = false; in test_and_clear_restore_sigmask() 567 res = ¤t->saved_sigmask; in sigmask_to_save() 584 sp - current->sas_ss_sp < current->sas_ss_size; in __on_sig_stack() 587 sp - current->sas_ss_sp <= current->sas_ss_size; in __on_sig_stack() 613 if (!current->sas_ss_size) in sas_ss_flags() 630 return current->sas_ss_sp; in sigsp() [all …]
|
/linux-6.3-rc2/Documentation/hwmon/ |
A D | max16601.rst | 84 and output current. 85 curr1_max Maximum input current. 89 curr[P+2]_input VCORE phase P input current. 97 curr[N+3]_input VSA input current. 100 curr[N+4]_input VCORE output current. 101 curr[N+4]_crit Critical output current. 103 curr[N+4]_max Maximum output current. 110 curr[2*N+5]_input VSA output current. 113 curr[2*N+5]_crit Critical output current. 115 curr[2*N+5]_max Maximum output current. [all …]
|
A D | ina3221.rst | 21 The Texas Instruments INA3221 monitors voltage, current, and power on the high 35 curr[123]_crit Critical alert current(mA) setting, activates the 36 corresponding alarm when the respective current 38 curr[123]_crit_alarm Critical alert current limit exceeded 39 curr[123]_max Warning alert current(mA) setting, activates the 40 corresponding alarm when the respective current 42 curr[123]_max_alarm Warning alert current limit exceeded 46 curr4_input Sum of current(mA) measurement channels, 49 curr4_crit Critical alert current(mA) setting for sum of current 51 when the respective current is above this value [all …]
|
/linux-6.3-rc2/arch/mips/math-emu/ |
A D | dsemul.c | 77 mm_context_t *mm_ctx = ¤t->mm->context; in alloc_emuframe() 180 fr_idx = atomic_read(¤t->thread.bd_emu_frame); in dsemul_thread_rollback() 193 regs->cp0_epc = current->thread.bd_emu_branch_pc; in dsemul_thread_rollback() 195 regs->cp0_epc = current->thread.bd_emu_cont_pc; in dsemul_thread_rollback() 198 free_emuframe(fr_idx, current->mm); in dsemul_thread_rollback() 277 free_emuframe(fr_idx, current->mm); in mips_dsemul() 282 current->thread.bd_emu_branch_pc = branch_pc; in mips_dsemul() 283 current->thread.bd_emu_cont_pc = cont_pc; in mips_dsemul() 284 atomic_set(¤t->thread.bd_emu_frame, fr_idx); in mips_dsemul() 295 if (!dsemul_thread_cleanup(current)) { in do_dsemulret() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/power/supply/ |
A D | bq25890.yaml | 38 ti,charge-current: 42 ti,termination-current: 48 ti,precharge-current: 62 ti,boost-max-current: 93 - ti,charge-current 94 - ti,termination-current 95 - ti,precharge-current 98 - ti,boost-max-current 117 ti,charge-current = <1000000>; 118 ti,termination-current = <50000>; [all …]
|
/linux-6.3-rc2/kernel/trace/ |
A D | fgraph.c | 77 if (!current->ret_stack) in ftrace_push_return_trace() 88 atomic_inc(¤t->trace_overrun); in ftrace_push_return_trace() 94 index = ++current->curr_ret_stack; in ftrace_push_return_trace() 96 current->ret_stack[index].ret = ret; in ftrace_push_return_trace() 97 current->ret_stack[index].func = func; in ftrace_push_return_trace() 103 current->ret_stack[index].retp = retp; in ftrace_push_return_trace() 150 current->curr_ret_stack--; in function_graph_enter() 152 current->curr_ret_depth--; in function_graph_enter() 163 index = current->curr_ret_stack; in ftrace_pop_return_trace() 192 current->ret_stack[index].fp, in ftrace_pop_return_trace() [all …]
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | fpsimd.c | 887 if (task == current) { in vec_set_vector_length() 906 if (task == current) in vec_set_vector_length() 1424 fpsimd_to_sve(current); in sve_init_regs() 1448 sve_alloc(current, true); in do_sve_acc() 1499 sve_alloc(current, false); in do_sme_acc() 1500 sme_alloc(current); in do_sme_acc() 1501 if (!current->thread.sve_state || !current->thread.sme_state) { in do_sme_acc() 1554 current); in do_fpsimd_exc() 1684 sve_to_fpsimd(current); in fpsimd_signal_preserve_current_state() 1705 sve_to_fpsimd(current); in fpsimd_kvm_prepare() [all …]
|
/linux-6.3-rc2/kernel/entry/ |
A D | syscall_user_dispatch.c | 26 info.si_call_addr = (void __user *)KSTK_EIP(current); in trigger_sigsys() 28 info.si_arch = syscall_get_arch(current); in trigger_sigsys() 29 info.si_syscall = syscall_get_nr(current, regs); in trigger_sigsys() 36 struct syscall_user_dispatch *sd = ¤t->syscall_dispatch; in syscall_user_dispatch() 65 syscall_rollback(current, regs); in syscall_user_dispatch() 97 current->syscall_dispatch.selector = selector; in set_syscall_user_dispatch() 98 current->syscall_dispatch.offset = offset; in set_syscall_user_dispatch() 99 current->syscall_dispatch.len = len; in set_syscall_user_dispatch() 100 current->syscall_dispatch.on_dispatch = false; in set_syscall_user_dispatch()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | signal.c | 98 sp = current->sas_ss_sp + current->sas_ss_size; in get_sigframe() 134 current->comm, task_pid_nr(current)); in get_sigframe() 227 struct fpu *fpu = ¤t->thread.fpu; in handle_signal() 233 if (syscall_get_nr(current, regs) != -1) { in handle_signal() 235 switch (syscall_get_error(current, regs)) { in handle_signal() 261 user_disable_single_step(current); in handle_signal() 287 if (current->restart_block.arch_data & TS_COMPAT) in get_nr_restart_syscall() 313 if (syscall_get_nr(current, regs) != -1) { in arch_do_signal_or_restart() 315 switch (syscall_get_error(current, regs)) { in arch_do_signal_or_restart() 339 struct task_struct *me = current; in signal_fault() [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/book3s/32/ |
A D | kup.h | 86 unsigned long kuap = current->thread.kuap; in __kuap_save_and_lock() 92 current->thread.kuap = KUAP_NONE; in __kuap_save_and_lock() 103 current->thread.kuap = KUAP_NONE; in __kuap_kernel_restore() 110 current->thread.kuap = regs->kuap; in __kuap_kernel_restore() 117 unsigned long kuap = current->thread.kuap; in __kuap_get_and_assert_locked() 132 current->thread.kuap = (__force u32)to; in __allow_user_access() 138 u32 kuap = current->thread.kuap; in __prevent_user_access() 145 current->thread.kuap = KUAP_NONE; in __prevent_user_access() 151 unsigned long flags = current->thread.kuap; in __prevent_user_access_return() 154 current->thread.kuap = KUAP_NONE; in __prevent_user_access_return() [all …]
|