Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 8 of 8) 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 …]
Dtree_plugin.h965 struct sched_param sp; in rcu_cpu_kthread_setup() local
967 sp.sched_priority = kthread_prio; in rcu_cpu_kthread_setup()
968 sched_setscheduler_nocheck(current, SCHED_FIFO, &sp); in rcu_cpu_kthread_setup()
1137 struct sched_param sp; in rcu_spawn_one_boost_kthread() local
1159 sp.sched_priority = kthread_prio; in rcu_spawn_one_boost_kthread()
1160 sched_setscheduler_nocheck(t, SCHED_FIFO, &sp); in rcu_spawn_one_boost_kthread()
Dtree.c4299 struct sched_param sp; in rcu_spawn_gp_kthread() local
4322 sp.sched_priority = kthread_prio; in rcu_spawn_gp_kthread()
4323 sched_setscheduler_nocheck(t, SCHED_FIFO, &sp); in rcu_spawn_gp_kthread()
/kernel/
Dstackleak.c108 unsigned long sp = current_stack_pointer; in stackleak_track_stack() local
118 sp = ALIGN(sp, sizeof(unsigned long)); in stackleak_track_stack()
119 if (sp < current->lowest_stack && in stackleak_track_stack()
120 sp >= (unsigned long)task_stack_page(current) + in stackleak_track_stack()
122 current->lowest_stack = sp; in stackleak_track_stack()
Dcpu.c2089 struct cpuhp_step *sp; in cpuhp_store_callbacks() local
2108 sp = cpuhp_get_step(state); in cpuhp_store_callbacks()
2109 if (name && sp->name) in cpuhp_store_callbacks()
2112 sp->startup.single = startup; in cpuhp_store_callbacks()
2113 sp->teardown.single = teardown; in cpuhp_store_callbacks()
2114 sp->name = name; in cpuhp_store_callbacks()
2115 sp->multi_instance = multi_instance; in cpuhp_store_callbacks()
2116 INIT_HLIST_HEAD(&sp->list); in cpuhp_store_callbacks()
2132 struct cpuhp_step *sp = cpuhp_get_step(state); in cpuhp_issue_call() local
2139 if ((bringup && !sp->startup.single) || in cpuhp_issue_call()
[all …]
Dsignal.c4064 do_sigaltstack (const stack_t *ss, stack_t *oss, unsigned long sp, in do_sigaltstack() argument
4073 oss->ss_flags = sas_ss_flags(sp) | in do_sigaltstack()
4083 if (unlikely(on_sig_stack(sp))) in do_sigaltstack()
4131 int __save_altstack(stack_t __user *uss, unsigned long sp) in __save_altstack() argument
4188 int __compat_save_altstack(compat_stack_t __user *uss, unsigned long sp) in __compat_save_altstack() argument
/kernel/sched/
Dcore.c5837 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo() local
5838 WARN_ON_ONCE(sched_setscheduler_nocheck(p, SCHED_FIFO, &sp) != 0); in sched_set_fifo()
5847 struct sched_param sp = { .sched_priority = 1 }; in sched_set_fifo_low() local
5848 WARN_ON_ONCE(sched_setscheduler_nocheck(p, SCHED_FIFO, &sp) != 0); in sched_set_fifo_low()
/kernel/events/
Dcore.c6579 unsigned long sp; in perf_output_sample_ustack() local
6599 sp = perf_user_stack_pointer(regs); in perf_output_sample_ustack()
6601 rem = __output_copy_user(handle, (void *) sp, dump_size); in perf_output_sample_ustack()