Searched refs:tsk (Results 1 - 25 of 28) sorted by relevance

12

/external/kernel-headers/original/asm-mips/
H A Ddsp.h43 #define __save_dsp(tsk) \
45 tsk->thread.dsp.dspr[0] = mfhi1(); \
46 tsk->thread.dsp.dspr[1] = mflo1(); \
47 tsk->thread.dsp.dspr[2] = mfhi2(); \
48 tsk->thread.dsp.dspr[3] = mflo2(); \
49 tsk->thread.dsp.dspr[4] = mfhi3(); \
50 tsk->thread.dsp.dspr[5] = mflo3(); \
51 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \
54 #define save_dsp(tsk) \
57 __save_dsp(tsk); \
[all...]
H A Dprocessor.h71 #define TASK_SIZE_OF(tsk) \
72 (test_tsk_thread_flag(tsk, TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE)
212 #define prepare_to_copy(tsk) do { } while (0)
216 extern unsigned long thread_saved_pc(struct task_struct *tsk);
225 #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + THREAD_SIZE - 32)
226 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk) - 1)
227 #define KSTK_EIP(tsk) (task_pt_regs(tsk)
[all...]
H A Dthread_info.h45 #define INIT_THREAD_INFO(tsk) \
47 .task = &tsk, \
88 #define alloc_thread_info(tsk) \
97 #define alloc_thread_info(tsk) kmalloc(THREAD_SIZE, GFP_KERNEL)
H A Delf.h325 #define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs)
326 #define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) \
327 dump_task_fpu(tsk, elf_fpregs)
/external/kernel-headers/original/asm-x86/
H A Di387_32.h32 #define restore_fpu(tsk) \
37 "m" ((tsk)->thread.i387.fxsave))
54 static inline void __save_init_fpu( struct task_struct *tsk )
63 [fx] "m" (tsk->thread.i387.fxsave),
64 [fsw] "m" (tsk->thread.i387.fxsave.swd) : "memory");
74 task_thread_info(tsk)->status &= ~TS_USEDFPU;
77 #define __unlazy_fpu( tsk ) do { \
78 if (task_thread_info(tsk)->status & TS_USEDFPU) { \
79 __save_init_fpu(tsk); \
82 tsk
[all...]
H A Dthread_info_32.h70 #define INIT_THREAD_INFO(tsk) \
72 .task = &tsk, \
98 #define alloc_thread_info(tsk) ((struct thread_info *) \
101 #define alloc_thread_info(tsk) ((struct thread_info *) \
H A Delf.h238 #define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs)
239 #define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs)
244 #define ELF_CORE_COPY_XFPREGS(tsk, elf_xfpregs) \
245 dump_task_extended_fpu(tsk, elf_xfpregs)
H A Dptrace.h39 extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code);
H A Dprocessor_32.h418 extern void prepare_to_copy(struct task_struct *tsk);
425 extern unsigned long thread_saved_pc(struct task_struct *tsk);
/external/kernel-headers/original/linux/
H A Dsmp_lock.h16 #define release_kernel_lock(tsk) do { \
17 if (unlikely((tsk)->lock_depth >= 0)) \
H A Dseccomp.h119 extern void put_seccomp_filter(struct task_struct *tsk);
120 extern void get_seccomp_filter(struct task_struct *tsk);
123 static inline void put_seccomp_filter(struct task_struct *tsk) argument
127 static inline void get_seccomp_filter(struct task_struct *tsk) argument
H A Dsem.h143 extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk);
144 extern void exit_sem(struct task_struct *tsk);
147 static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) argument
152 static inline void exit_sem(struct task_struct *tsk) argument
H A Dkey.h340 extern int copy_keys(unsigned long clone_flags, struct task_struct *tsk);
341 extern int copy_thread_group_keys(struct task_struct *tsk);
342 extern void exit_keys(struct task_struct *tsk);
344 extern int suid_keys(struct task_struct *tsk);
345 extern int exec_keys(struct task_struct *tsk);
346 extern void key_fsuid_changed(struct task_struct *tsk);
347 extern void key_fsgid_changed(struct task_struct *tsk);
350 #define __install_session_keyring(tsk, keyring) \
352 struct key *old_session = tsk->signal->session_keyring; \
353 tsk
[all...]
H A Dsched.h146 /* in tsk->exit_state */
149 /* in tsk->state again */
152 #define __set_task_state(tsk, state_value) \
153 do { (tsk)->state = (state_value); } while (0)
154 #define set_task_state(tsk, state_value) \
155 set_mb((tsk)->state, (state_value))
410 struct task_struct *tsk; member in struct:signal_struct
1001 static inline pid_t process_group(struct task_struct *tsk) argument
1003 return tsk->signal->pgrp;
1019 extern void free_task(struct task_struct *tsk);
1191 kick_process(struct task_struct *tsk) argument
1204 dequeue_signal_lock(struct task_struct *tsk, sigset_t *mask, siginfo_t *info) argument
1371 unlock_task_sighand(struct task_struct *tsk, unsigned long *flags) argument
1398 set_tsk_thread_flag(struct task_struct *tsk, int flag) argument
1403 clear_tsk_thread_flag(struct task_struct *tsk, int flag) argument
1408 test_and_set_tsk_thread_flag(struct task_struct *tsk, int flag) argument
1413 test_and_clear_tsk_thread_flag(struct task_struct *tsk, int flag) argument
1418 test_tsk_thread_flag(struct task_struct *tsk, int flag) argument
1423 set_tsk_need_resched(struct task_struct *tsk) argument
1428 clear_tsk_need_resched(struct task_struct *tsk) argument
[all...]
H A Dptrace.h87 extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len);
88 extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len);
89 extern int ptrace_attach(struct task_struct *tsk);
H A Dtaskstats_kern.h74 static inline void taskstats_exit_send(struct task_struct *tsk, argument
H A Dmempolicy.h147 extern void mpol_rebind_task(struct task_struct *tsk,
243 static inline void mpol_rebind_task(struct task_struct *tsk, argument
H A Dhardirq.h93 static inline void account_system_vtime(struct task_struct *tsk) argument
H A Dwait.h62 #define __WAITQUEUE_INITIALIZER(name, tsk) { \
63 .private = tsk, \
67 #define DECLARE_WAITQUEUE(name, tsk) \
68 wait_queue_t name = __WAITQUEUE_INITIALIZER(name, tsk)
H A Dperf_event.h977 extern void perf_event_comm(struct task_struct *tsk);
978 extern void perf_event_fork(struct task_struct *tsk);
1053 static inline void perf_event_comm(struct task_struct *tsk) { } argument
1054 static inline void perf_event_fork(struct task_struct *tsk) { } argument
/external/kernel-headers/original/asm-arm/
H A Dprocessor.h84 #define prepare_to_copy(tsk) do { } while (0)
98 #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc
99 #define KSTK_ESP(tsk) task_pt_regs(tsk)->ARM_sp
H A Dthread_info.h68 #define INIT_THREAD_INFO(tsk) \
70 .task = &tsk, \
100 #define thread_saved_pc(tsk) \
101 ((unsigned long)(pc_pointer(task_thread_info(tsk)->cpu_context.pc)))
102 #define thread_saved_fp(tsk) \
103 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
H A Delf.h140 #define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs)
/external/linux-tools-perf/util/include/linux/added/
H A Dhw_breakpoint.h76 struct task_struct *tsk);
104 extern void flush_ptrace_hw_breakpoint(struct task_struct *tsk);
118 struct task_struct *tsk) { return NULL; }
140 static inline void flush_ptrace_hw_breakpoint(struct task_struct *tsk) { } argument
116 register_user_hw_breakpoint(struct perf_event_attr *attr, perf_overflow_handler_t triggered, struct task_struct *tsk) argument
H A Dperf_event.h1103 extern void perf_event_comm(struct task_struct *tsk);
1104 extern void perf_event_fork(struct task_struct *tsk);
1190 static inline void perf_event_comm(struct task_struct *tsk) { } argument
1191 static inline void perf_event_fork(struct task_struct *tsk) { } argument

Completed in 210 milliseconds

12