Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 10 of 10) sorted by relevance

/kernel/rcu/
Drcu.h48 static inline void rcu_seq_set_state(unsigned long *sp, int newstate) in rcu_seq_set_state() argument
51 WRITE_ONCE(*sp, (*sp & ~RCU_SEQ_STATE_MASK) + newstate); in rcu_seq_set_state()
55 static inline void rcu_seq_start(unsigned long *sp) in rcu_seq_start() argument
57 WRITE_ONCE(*sp, *sp + 1); in rcu_seq_start()
59 WARN_ON_ONCE(rcu_seq_state(*sp) != 1); in rcu_seq_start()
63 static inline unsigned long rcu_seq_endval(unsigned long *sp) in rcu_seq_endval() argument
65 return (*sp | RCU_SEQ_STATE_MASK) + 1; in rcu_seq_endval()
69 static inline void rcu_seq_end(unsigned long *sp) in rcu_seq_end() argument
72 WARN_ON_ONCE(!rcu_seq_state(*sp)); in rcu_seq_end()
73 WRITE_ONCE(*sp, rcu_seq_endval(sp)); in rcu_seq_end()
[all …]
Drcuperf.c363 struct sched_param sp; in rcu_perf_writer() local
372 sp.sched_priority = 1; in rcu_perf_writer()
373 sched_setscheduler_nocheck(current, SCHED_FIFO, &sp); in rcu_perf_writer()
434 sp.sched_priority = 0; in rcu_perf_writer()
436 SCHED_NORMAL, &sp); in rcu_perf_writer()
Dtree_plugin.h946 struct sched_param sp; in rcu_cpu_kthread_setup() local
948 sp.sched_priority = kthread_prio; in rcu_cpu_kthread_setup()
949 sched_setscheduler_nocheck(current, SCHED_FIFO, &sp); in rcu_cpu_kthread_setup()
1117 struct sched_param sp; in rcu_spawn_one_boost_kthread() local
1139 sp.sched_priority = kthread_prio; in rcu_spawn_one_boost_kthread()
1140 sched_setscheduler_nocheck(t, SCHED_FIFO, &sp); in rcu_spawn_one_boost_kthread()
Drcutorture.c803 struct sched_param sp; in rcu_torture_boost() local
808 sp.sched_priority = 1; in rcu_torture_boost()
809 if (sched_setscheduler(current, SCHED_FIFO, &sp) < 0) { in rcu_torture_boost()
Dtree.c3278 struct sched_param sp; in rcu_spawn_gp_kthread() local
3301 sp.sched_priority = kthread_prio; in rcu_spawn_gp_kthread()
3302 sched_setscheduler_nocheck(t, SCHED_FIFO, &sp); in rcu_spawn_gp_kthread()
/kernel/
Dcpu.c1583 struct cpuhp_step *sp; in cpuhp_store_callbacks() local
1602 sp = cpuhp_get_step(state); in cpuhp_store_callbacks()
1603 if (name && sp->name) in cpuhp_store_callbacks()
1606 sp->startup.single = startup; in cpuhp_store_callbacks()
1607 sp->teardown.single = teardown; in cpuhp_store_callbacks()
1608 sp->name = name; in cpuhp_store_callbacks()
1609 sp->multi_instance = multi_instance; in cpuhp_store_callbacks()
1610 INIT_HLIST_HEAD(&sp->list); in cpuhp_store_callbacks()
1626 struct cpuhp_step *sp = cpuhp_get_step(state); in cpuhp_issue_call() local
1633 if ((bringup && !sp->startup.single) || in cpuhp_issue_call()
[all …]
Dstackleak.c119 unsigned long sp = (unsigned long)&sp; in stackleak_track_stack() local
128 if (sp < current->lowest_stack && in stackleak_track_stack()
129 sp >= (unsigned long)task_stack_page(current) + in stackleak_track_stack()
131 current->lowest_stack = sp; in stackleak_track_stack()
Dsignal.c3995 do_sigaltstack (const stack_t *ss, stack_t *oss, unsigned long sp, in do_sigaltstack() argument
4004 oss->ss_flags = sas_ss_flags(sp) | in do_sigaltstack()
4014 if (unlikely(on_sig_stack(sp))) in do_sigaltstack()
4062 int __save_altstack(stack_t __user *uss, unsigned long sp) in __save_altstack() argument
4119 int __compat_save_altstack(compat_stack_t __user *uss, unsigned long sp) in __compat_save_altstack() argument
/kernel/debug/kdb/
Dkdb_bt.c32 show_stack(p, &kdb_current_regs->sp); in kdb_show_stack()
/kernel/events/
Dcore.c6159 unsigned long sp; in perf_output_sample_ustack() local
6179 sp = perf_user_stack_pointer(regs); in perf_output_sample_ustack()
6182 rem = __output_copy_user(handle, (void *) sp, dump_size); in perf_output_sample_ustack()