/linux-2.4.37.9/arch/parisc/tools/ |
D | offset.c | 55 offset("#define TASK_REGS ", struct task_struct, thread.regs); in output_task_ptreg_defines() 56 offset("#define TASK_PT_PSW ", struct task_struct, thread.regs.gr[ 0]); in output_task_ptreg_defines() 57 offset("#define TASK_PT_GR1 ", struct task_struct, thread.regs.gr[ 1]); in output_task_ptreg_defines() 58 offset("#define TASK_PT_GR2 ", struct task_struct, thread.regs.gr[ 2]); in output_task_ptreg_defines() 59 offset("#define TASK_PT_GR3 ", struct task_struct, thread.regs.gr[ 3]); in output_task_ptreg_defines() 60 offset("#define TASK_PT_GR4 ", struct task_struct, thread.regs.gr[ 4]); in output_task_ptreg_defines() 61 offset("#define TASK_PT_GR5 ", struct task_struct, thread.regs.gr[ 5]); in output_task_ptreg_defines() 62 offset("#define TASK_PT_GR6 ", struct task_struct, thread.regs.gr[ 6]); in output_task_ptreg_defines() 63 offset("#define TASK_PT_GR7 ", struct task_struct, thread.regs.gr[ 7]); in output_task_ptreg_defines() 64 offset("#define TASK_PT_GR8 ", struct task_struct, thread.regs.gr[ 8]); in output_task_ptreg_defines() [all …]
|
/linux-2.4.37.9/arch/mips/tools/ |
D | offset.c | 84 offset("#define TASK_STATE ", struct task_struct, state); in output_task_defines() 85 offset("#define TASK_FLAGS ", struct task_struct, flags); in output_task_defines() 87 offset("#define TASK_SIGPENDING ", struct task_struct, sigpending); in output_task_defines() 88 offset("#define TASK_NEED_RESCHED ", struct task_struct, need_resched); in output_task_defines() 89 offset("#define TASK_PTRACE ", struct task_struct, ptrace); in output_task_defines() 90 offset("#define TASK_COUNTER ", struct task_struct, counter); in output_task_defines() 91 offset("#define TASK_NICE ", struct task_struct, nice); in output_task_defines() 92 offset("#define TASK_MM ", struct task_struct, mm); in output_task_defines() 93 offset("#define TASK_PROCESSOR ", struct task_struct, processor); in output_task_defines() 94 offset("#define TASK_PID ", struct task_struct, pid); in output_task_defines() [all …]
|
/linux-2.4.37.9/include/asm-i386/ |
D | i387.h | 23 extern void save_init_fpu( struct task_struct *tsk ); 24 extern void restore_fpu( struct task_struct *tsk ); 46 extern unsigned short get_fpu_cwd( struct task_struct *tsk ); 47 extern unsigned short get_fpu_swd( struct task_struct *tsk ); 48 extern unsigned short get_fpu_twd( struct task_struct *tsk ); 49 extern unsigned short get_fpu_mxcsr( struct task_struct *tsk ); 51 extern void set_fpu_cwd( struct task_struct *tsk, unsigned short cwd ); 52 extern void set_fpu_swd( struct task_struct *tsk, unsigned short swd ); 53 extern void set_fpu_twd( struct task_struct *tsk, unsigned short twd ); 54 extern void set_fpu_mxcsr( struct task_struct *tsk, unsigned short mxcsr ); [all …]
|
/linux-2.4.37.9/arch/s390/kernel/ |
D | asm-offsets.c | 19 DEFINE(__THREAD_ar2, offsetof(struct task_struct, thread.ar2),); in main() 20 DEFINE(__THREAD_ar4, offsetof(struct task_struct, thread.ar4),); in main() 21 DEFINE(__THREAD_ksp, offsetof(struct task_struct, thread.ksp),); in main() 22 DEFINE(__THREAD_per, offsetof(struct task_struct, thread.per_info),); in main() 24 DEFINE(__TASK_state, offsetof(struct task_struct, state),); in main() 25 DEFINE(__TASK_sigpending, offsetof(struct task_struct, sigpending),); in main() 27 offsetof(struct task_struct, need_resched),); in main() 28 DEFINE(__TASK_ptrace, offsetof(struct task_struct, ptrace),); in main() 29 DEFINE(__TASK_processor, offsetof(struct task_struct, processor),); in main()
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | asm-offsets.c | 19 DEFINE(__THREAD_ar2, offsetof(struct task_struct, thread.ar2),); in main() 20 DEFINE(__THREAD_ar4, offsetof(struct task_struct, thread.ar4),); in main() 21 DEFINE(__THREAD_ksp, offsetof(struct task_struct, thread.ksp),); in main() 22 DEFINE(__THREAD_per, offsetof(struct task_struct, thread.per_info),); in main() 24 DEFINE(__TASK_state, offsetof(struct task_struct, state),); in main() 25 DEFINE(__TASK_sigpending, offsetof(struct task_struct, sigpending),); in main() 27 offsetof(struct task_struct, need_resched),); in main() 28 DEFINE(__TASK_ptrace, offsetof(struct task_struct, ptrace),); in main() 29 DEFINE(__TASK_processor, offsetof(struct task_struct, processor),); in main()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | i387.c | 47 void load_empty_fpu(struct task_struct * tsk) in load_empty_fpu() 71 static inline void __save_init_fpu( struct task_struct *tsk ) in __save_init_fpu() 87 void save_init_fpu( struct task_struct *tsk ) in save_init_fpu() 95 struct task_struct *tsk = current; in kernel_fpu_begin() 104 void restore_fpu( struct task_struct *tsk ) in restore_fpu() 183 unsigned short get_fpu_cwd( struct task_struct *tsk ) in get_fpu_cwd() 192 unsigned short get_fpu_swd( struct task_struct *tsk ) in get_fpu_swd() 201 unsigned short get_fpu_twd( struct task_struct *tsk ) in get_fpu_twd() 210 unsigned short get_fpu_mxcsr( struct task_struct *tsk ) in get_fpu_mxcsr() 219 void set_fpu_cwd( struct task_struct *tsk, unsigned short cwd ) in set_fpu_cwd() [all …]
|
/linux-2.4.37.9/include/asm-ia64/ |
D | perfmon.h | 174 extern void pfm_save_regs (struct task_struct *); 175 extern void pfm_load_regs (struct task_struct *); 177 extern int pfm_inherit (struct task_struct *, struct pt_regs *); 178 extern void pfm_context_exit (struct task_struct *); 179 extern void pfm_flush_regs (struct task_struct *); 180 extern void pfm_cleanup_notifiers (struct task_struct *); 181 extern void pfm_cleanup_owners (struct task_struct *); 182 extern int pfm_use_debug_registers(struct task_struct *); 183 extern int pfm_release_debug_registers(struct task_struct *); 184 extern int pfm_cleanup_smpl_buf(struct task_struct *); [all …]
|
D | ptrace.h | 227 struct task_struct; /* forward decl */ 232 extern unsigned long ia64_get_user_rbs_end (struct task_struct *, struct pt_regs *, 234 extern long ia64_peek (struct task_struct *, struct switch_stack *, unsigned long, 236 extern long ia64_poke (struct task_struct *, struct switch_stack *, unsigned long, 238 extern void ia64_flush_fph (struct task_struct *); 239 extern void ia64_sync_fph (struct task_struct *); 240 extern long ia64_sync_user_rbs (struct task_struct *, struct switch_stack *,
|
/linux-2.4.37.9/include/linux/ |
D | sched.h | 144 extern void update_one_process(struct task_struct *p, unsigned long user, 157 extern void set_cpus_allowed(struct task_struct *p, unsigned long new_mask); 283 struct task_struct { struct 326 struct task_struct *next_task, *prev_task; argument 351 struct task_struct *p_opptr, *p_pptr, *p_cptr, *p_ysptr, *p_osptr; argument 355 struct task_struct *pidhash_next; argument 356 struct task_struct **pidhash_pprev; argument 523 struct task_struct task; 530 extern struct task_struct *init_tasks[NR_CPUS]; 534 extern struct task_struct *pidhash[PIDHASH_SZ]; [all …]
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | check_asm.c | 11 (long)offsetof(struct task_struct, state)); in main() 13 (long)offsetof(struct task_struct, flags)); in main() 15 (long)offsetof(struct task_struct, sigpending)); in main() 17 (long)offsetof(struct task_struct, addr_limit)); in main() 19 (long)offsetof(struct task_struct, exec_domain)); in main() 21 (long)offsetof(struct task_struct, need_resched)); in main() 22 printf("#define TASK_SIZE %ld\n", sizeof(struct task_struct)); in main()
|
/linux-2.4.37.9/arch/arm/kernel/ |
D | ptrace.c | 52 get_user_regs(struct task_struct *task) in get_user_regs() 64 static inline long get_user_reg(struct task_struct *task, int offset) in get_user_reg() 76 put_user_reg(struct task_struct *task, int offset, long data) in put_user_reg() 93 read_u32(struct task_struct *task, unsigned long addr, u32 *res) in read_u32() 103 read_instr(struct task_struct *task, unsigned long addr, u32 *res) in read_instr() 125 ptrace_getrn(struct task_struct *child, unsigned long insn) in ptrace_getrn() 141 ptrace_getaluop2(struct task_struct *child, unsigned long insn) in ptrace_getaluop2() 179 ptrace_getldrop2(struct task_struct *child, unsigned long insn) in ptrace_getldrop2() 217 get_branch_address(struct task_struct *child, unsigned long pc, unsigned long insn) in get_branch_address() 332 swap_insn(struct task_struct *task, unsigned long addr, in swap_insn() [all …]
|
D | ptrace.h | 10 extern void __ptrace_cancel_bpt(struct task_struct *); 11 extern void ptrace_set_bpt(struct task_struct *); 12 extern void ptrace_break(struct task_struct *, struct pt_regs *); 17 static inline int ptrace_cancel_bpt(struct task_struct *tsk) in ptrace_cancel_bpt()
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | current.h | 5 struct task_struct; 9 static inline struct task_struct *get_current(void) in get_current() 11 struct task_struct *t = read_pda(pcurrent); in get_current() 16 static inline struct task_struct *stack_current(void) in stack_current() 18 struct task_struct *current; in stack_current()
|
/linux-2.4.37.9/kernel/ |
D | sched.c | 79 struct task_struct * init_tasks[NR_CPUS] = {&init_task, }; 103 struct task_struct * curr; 113 extern struct task_struct *child_reaper; 144 static inline int goodness(struct task_struct * p, int this_cpu, struct mm_struct *this_mm) in goodness() 200 static inline int preemption_goodness(struct task_struct * prev, struct task_struct * p, int cpu) in preemption_goodness() 210 static FASTCALL(void reschedule_idle(struct task_struct * p)); 212 static void fastcall reschedule_idle(struct task_struct * p) in reschedule_idle() 216 struct task_struct *tsk, *target_tsk; in reschedule_idle() 310 struct task_struct *tsk; in reschedule_idle() 329 static inline void add_to_runqueue(struct task_struct * p) in add_to_runqueue() [all …]
|
D | exit.c | 25 extern struct task_struct *child_reaper; 27 int getrusage(struct task_struct *, int, struct rusage *); 29 static void release_task(struct task_struct * p) in release_task() 83 struct task_struct *p; in session_of_pgrp() 110 static int will_become_orphaned_pgrp(int pgrp, struct task_struct * ignored_task) in will_become_orphaned_pgrp() 112 struct task_struct *p; in will_become_orphaned_pgrp() 138 struct task_struct * p; in has_stopped_jobs() 159 static inline void forget_original_parent(struct task_struct * father) in forget_original_parent() 161 struct task_struct * p; in forget_original_parent() 220 static inline void __exit_files(struct task_struct *tsk) in __exit_files() [all …]
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | mk_defs.c | 35 DEFINE(STATE, offsetof(struct task_struct, state)); in main() 36 DEFINE(NEXT_TASK, offsetof(struct task_struct, next_task)); in main() 37 DEFINE(COUNTER, offsetof(struct task_struct, counter)); in main() 38 DEFINE(PROCESSOR, offsetof(struct task_struct, processor)); in main() 39 DEFINE(SIGPENDING, offsetof(struct task_struct, sigpending)); in main() 40 DEFINE(THREAD, offsetof(struct task_struct, thread)); in main() 41 DEFINE(MM, offsetof(struct task_struct, mm)); in main() 42 DEFINE(ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main() 43 DEFINE(TASK_STRUCT_SIZE, sizeof(struct task_struct)); in main() 49 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main() [all …]
|
/linux-2.4.37.9/include/asm-mips/ |
D | fpu.h | 30 extern void _save_fp(struct task_struct *); 31 extern void _restore_fp(struct task_struct *); 110 static inline void save_fp(struct task_struct *tsk) in save_fp() 116 static inline void restore_fp(struct task_struct *tsk) in restore_fp() 122 static inline unsigned long long *get_fpu_regs(struct task_struct *tsk) in get_fpu_regs()
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | system.h | 64 extern void giveup_fpu(struct task_struct *); 66 extern void giveup_altivec(struct task_struct *); 67 extern void load_up_altivec(struct task_struct *); 76 struct task_struct; 79 extern void _switch_to(struct task_struct *, struct task_struct *, 80 struct task_struct **); 83 extern struct task_struct *_switch(struct thread_struct *prev,
|
/linux-2.4.37.9/include/asm-ppc/ |
D | system.h | 70 extern void giveup_fpu(struct task_struct *); 72 extern void giveup_altivec(struct task_struct *); 73 extern void load_up_altivec(struct task_struct *); 83 struct task_struct; 86 extern void _switch_to(struct task_struct *, struct task_struct *, 87 struct task_struct **); 90 extern struct task_struct *_switch(struct thread_struct *prev,
|
/linux-2.4.37.9/arch/m68k/kernel/ |
D | m68k_defs.c | 25 DEFINE(TASK_STATE, offsetof(struct task_struct, state)); in main() 26 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main() 27 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main() 28 DEFINE(TASK_SIGPENDING, offsetof(struct task_struct, sigpending)); in main() 29 DEFINE(TASK_NEEDRESCHED, offsetof(struct task_struct, need_resched)); in main() 30 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main() 31 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main() 32 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
|
/linux-2.4.37.9/mm/ |
D | oom_kill.c | 58 static int badness(struct task_struct *p) in badness() 121 static struct task_struct * select_bad_process(void) in select_bad_process() 124 struct task_struct *p = NULL; in select_bad_process() 125 struct task_struct *chosen = NULL; in select_bad_process() 144 static void __oom_kill_task(struct task_struct *p) in __oom_kill_task() 164 static struct mm_struct *oom_kill_task(struct task_struct *p) in oom_kill_task() 194 struct task_struct *p, *q; in oom_kill()
|
/linux-2.4.37.9/include/asm-sh/ |
D | processor.h | 140 struct task_struct; 144 extern void release_thread(struct task_struct *); 191 extern void save_fpu(struct task_struct *__tsk); 220 extern unsigned long get_wchan(struct task_struct *p); 226 extern struct task_struct * alloc_task_struct(void); 227 extern void free_task_struct(struct task_struct *);
|
/linux-2.4.37.9/include/asm-mips64/ |
D | fpu.h | 34 extern void _save_fp(struct task_struct *); 35 extern void _restore_fp(struct task_struct *); 114 static inline void save_fp(struct task_struct *tsk) in save_fp() 120 static inline void restore_fp(struct task_struct *tsk) in restore_fp() 126 static inline unsigned long *get_fpu_regs(struct task_struct *tsk) in get_fpu_regs()
|
/linux-2.4.37.9/arch/ia64/tools/ |
D | print_offsets.c | 48 { "IA64_TASK_SIZE", sizeof (struct task_struct) }, 56 { "IA64_TASK_PTRACE_OFFSET", offsetof (struct task_struct, ptrace) }, 57 { "IA64_TASK_SIGPENDING_OFFSET", offsetof (struct task_struct, sigpending) }, 58 { "IA64_TASK_NEED_RESCHED_OFFSET", offsetof (struct task_struct, need_resched) }, 59 { "IA64_TASK_PROCESSOR_OFFSET", offsetof (struct task_struct, processor) }, 60 { "IA64_TASK_THREAD_OFFSET", offsetof (struct task_struct, thread) }, 61 { "IA64_TASK_THREAD_KSP_OFFSET", offsetof (struct task_struct, thread.ksp) }, 64 offsetof(struct task_struct, thread.pfm_ovfl_block_reset) }, 66 { "IA64_TASK_PID_OFFSET", offsetof (struct task_struct, pid) }, 67 { "IA64_TASK_MM_OFFSET", offsetof (struct task_struct, mm) },
|
/linux-2.4.37.9/include/asm-arm/ |
D | processor.h | 98 struct task_struct; 101 extern void release_thread(struct task_struct *); 107 unsigned long get_wchan(struct task_struct *p); 111 extern struct task_struct *alloc_task_struct(void); 112 extern void __free_task_struct(struct task_struct *);
|