Home
last modified time | relevance | path

Searched refs:task_thread_info (Results 1 – 4 of 4) sorted by relevance

/include/linux/sched/
Dtask_stack.h37 *task_thread_info(p) = *task_thread_info(org); in setup_thread_stack()
38 task_thread_info(p)->task = p; in setup_thread_stack()
53 return (unsigned long *)((unsigned long)task_thread_info(p) + THREAD_SIZE) - 1; in end_of_stack()
55 return (unsigned long *)(task_thread_info(p) + 1); in end_of_stack()
/include/asm-generic/
Dpreempt.h28 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \
32 task_thread_info(p)->preempt_count = PREEMPT_ENABLED; \
/include/linux/
Dscs.h31 #define task_scs(tsk) (task_thread_info(tsk)->shadow_call_stack)
Dsched.h1658 static inline struct thread_info *task_thread_info(struct task_struct *task) in task_thread_info() function
1663 # define task_thread_info(task) ((struct thread_info *)(task)->stack) macro
1725 set_ti_thread_flag(task_thread_info(tsk), flag); in set_tsk_thread_flag()
1730 clear_ti_thread_flag(task_thread_info(tsk), flag); in clear_tsk_thread_flag()
1736 update_ti_thread_flag(task_thread_info(tsk), flag, value); in update_tsk_thread_flag()
1741 return test_and_set_ti_thread_flag(task_thread_info(tsk), flag); in test_and_set_tsk_thread_flag()
1746 return test_and_clear_ti_thread_flag(task_thread_info(tsk), flag); in test_and_clear_tsk_thread_flag()
1751 return test_ti_thread_flag(task_thread_info(tsk), flag); in test_tsk_thread_flag()
1831 return READ_ONCE(task_thread_info(p)->cpu); in task_cpu()