Searched refs:task (Results 101 - 125 of 394) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-h8300/
H A Dthread_info.h18 * low level task data.
22 struct task_struct *task; /* main task structure */ member in struct:thread_info
35 .task = &tsk, \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68knommu/
H A Dthread_info.h32 * low level task data.
35 struct task_struct *task; /* main task structure */ member in struct:thread_info
48 .task = &tsk, \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/
H A Dptrace.h78 #define task_pt_regs(task) \
79 ((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/sys-i386/
H A Dptrace_user.c82 void arch_enter_kernel(void *task, int pid) argument
84 read_debugregs(pid, TASK_DEBUGREGS(task));
88 void arch_leave_kernel(void *task, int pid) argument
91 write_debugregs(pid, TASK_DEBUGREGS(task));
H A Dtls.c58 static int get_free_idx(struct task_struct* task) argument
60 struct thread_struct *t = &task->thread;
122 static inline int needs_TLS_update(struct task_struct *task) argument
128 struct uml_tls_struct* curr = &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN];
143 void clear_flushed_tls(struct task_struct *task) argument
148 struct uml_tls_struct* curr = &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN];
193 static int set_tls_entry(struct task_struct* task, struct user_desc *info, argument
196 struct thread_struct *t = &task->thread;
229 static int get_tls_entry(struct task_struct* task, struct user_desc *info, int idx) argument
231 struct thread_struct *t = &task
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dptrace.c50 * +================================+ <---- task + 2*PAGE_SIZE
105 * Get address of register REGNO in task TASK.
108 get_reg_addr(struct task_struct * task, unsigned long regno) argument
113 addr = &task_thread_info(task)->pcb.usp;
115 addr = &task_thread_info(task)->pcb.unique;
120 addr = task_stack_page(task) + regoff[regno];
126 * Get contents of register REGNO in task TASK.
129 get_reg(struct task_struct * task, unsigned long regno) argument
133 unsigned long fpcr = *get_reg_addr(task, regno);
135 = task_thread_info(task)
146 put_reg(struct task_struct *task, unsigned long regno, unsigned long data) argument
159 read_int(struct task_struct *task, unsigned long addr, int * data) argument
166 write_int(struct task_struct *task, unsigned long addr, int data) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/
H A Dauth_null.c63 nul_marshal(struct rpc_task *task, __be32 *p) argument
77 nul_refresh(struct rpc_task *task) argument
79 task->tk_msg.rpc_cred->cr_flags |= RPCAUTH_CRED_UPTODATE;
84 nul_validate(struct rpc_task *task, __be32 *p) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68k/
H A Dthread_info.h8 struct task_struct *task; /* main task structure */ member in struct:thread_info
20 .task = &tsk, \
47 task_thread_info(p)->task = (p); \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/kernel/
H A Dsemaphore.c19 struct task_struct *task; member in struct:sem_waiter
48 waiter.task = tsk;
85 waiter.task = tsk;
141 /* We must be careful not to touch 'waiter' after we set ->task = NULL.
146 tsk = waiter->task;
148 waiter->task = NULL;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/h8300/platform/h8300h/
H A Dptrace_h8300h.c29 long h8300_get_reg(struct task_struct *task, int regno) argument
33 return task->thread.usp + sizeof(long)*2;
35 return *(unsigned short *)(task->thread.esp0 + h8300_register_offset[regno]);
37 return *(unsigned long *)(task->thread.esp0 + h8300_register_offset[regno]);
42 int h8300_put_reg(struct task_struct *task, int regno, unsigned long data) argument
47 task->thread.usp = data - sizeof(long)*2;
49 oldccr = *(unsigned short *)(task->thread.esp0 + h8300_register_offset[regno]);
53 *(unsigned short *)(task->thread.esp0 + h8300_register_offset[regno]) = data;
56 *(unsigned long *)(task->thread.esp0 + h8300_register_offset[regno]) = data;
179 static int isbranch(struct task_struct *task,in argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/
H A Drwsem-spinlock.c14 struct task_struct *task; member in struct:rwsem_waiter
44 * - woken process blocks are discarded from the list after having task zeroed
70 tsk = waiter->task;
71 /* Don't touch waiter after ->task has been NULLed */
73 waiter->task = NULL;
86 tsk = waiter->task;
88 waiter->task = NULL;
117 tsk = waiter->task;
119 waiter->task = NULL;
146 waiter.task
[all...]
H A Drwsem.c33 struct task_struct *task; member in struct:rwsem_waiter
46 * - woken process blocks are discarded from the list after having task zeroed
78 /* We must be careful not to touch 'waiter' after we set ->task = NULL.
83 tsk = waiter->task;
85 waiter->task = NULL;
126 tsk = waiter->task;
128 waiter->task = NULL;
160 waiter->task = tsk;
176 if (!waiter->task)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rtc/
H A Dinterface.c206 int rtc_irq_register(struct rtc_device *rtc, struct rtc_task *task) argument
210 if (task == NULL || task->func == NULL)
215 rtc->irq_task = task;
224 void rtc_irq_unregister(struct rtc_device *rtc, struct rtc_task *task) argument
228 if (rtc->irq_task == task)
234 int rtc_irq_set_state(struct rtc_device *rtc, struct rtc_task *task, int enabled) argument
243 if (rtc->irq_task != task)
254 int rtc_irq_set_freq(struct rtc_device *rtc, struct rtc_task *task, int freq) argument
263 if (rtc->irq_task != task)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dmutex.c67 * Lock the mutex exclusively for this task. If the mutex is not
70 * The mutex must later on be released by the same task that
71 * acquired it. Recursive locking is not allowed. The task
103 * Unlock a mutex that has been locked by this task previously.
127 struct task_struct *task = current; local
136 debug_mutex_add_waiter(lock, &waiter, task_thread_info(task));
140 waiter.task = task;
161 signal_pending(task))) {
162 mutex_remove_waiter(lock, &waiter, task_thread_info(task));
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm26/kernel/
H A Dptrace.c46 static inline long get_user_reg(struct task_struct *task, int offset) argument
48 return task_pt_regs(task)->uregs[offset];
58 put_user_reg(struct task_struct *task, int offset, long data) argument
60 struct pt_regs newregs, *regs = task_pt_regs(task);
75 read_u32(struct task_struct *task, unsigned long addr, u32 *res) argument
79 ret = access_process_vm(task, addr, res, sizeof(*res), 0);
85 read_instr(struct task_struct *task, unsigned long addr, u32 *res) argument
89 ret = access_process_vm(task, addr & ~3, &val, sizeof(val), 0);
306 swap_insn(struct task_struct *task, unsigned long addr, argument
311 ret = access_process_vm(task, add
318 add_breakpoint(struct task_struct *task, struct debug_info *dbg, unsigned long addr) argument
341 clear_breakpoint(struct task_struct *task, struct debug_entry *bp) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v10/kernel/
H A Dptrace.c28 * Get contents of register REGNO in task TASK.
30 inline long get_reg(struct task_struct *task, unsigned int regno) argument
37 return task->thread.usp;
39 return ((unsigned long *)task_pt_regs(task))[regno];
45 * Write contents of register REGNO in task TASK.
47 inline int put_reg(struct task_struct *task, unsigned int regno, argument
51 task->thread.usp = data;
53 ((unsigned long *)task_pt_regs(task))[regno] = data;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Drtc.h192 struct rtc_task *task);
194 struct rtc_task *task);
196 struct rtc_task *task, int enabled);
198 struct rtc_task *task, int freq);
205 int rtc_register(rtc_task_t *task);
206 int rtc_unregister(rtc_task_t *task);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/kernel/
H A Dtraps.c82 show_stack(struct task_struct *task, unsigned long *sp) argument
93 if (task)
94 sp = (unsigned long*)task->thread.ksp;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dthread_info.h20 * On IA-64, we want to keep the task structure and kernel stack together, so they can be
25 struct task_struct *task; member in struct:thread_info
40 .task = &tsk, \
67 task_thread_info(p)->task = (p);
91 #define TIF_MCA_INIT 18 /* this task is processing MCA or INIT */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ehca/
H A Dehca_irq.h64 struct task_struct *task; member in struct:ehca_cpu_comp_task
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/
H A Dasm-offsets.c24 DEFINE(TI_TASK, offsetof(struct thread_info, task));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/kernel/
H A Dasm-offsets.c24 DEFINE(TI_TASK, offsetof(struct thread_info, task));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/avr32/kernel/
H A Dasm-offsets.c19 OFFSET(TI_task, thread_info, task);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/sunrpc/
H A Dmetrics.h83 static inline void rpc_count_iostats(struct rpc_task *task) {} argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Dsystem.h38 #define pa_psw(task) ((struct pa_psw *) ((char *) (task) + TASK_PT_PSW + 4))
40 #define pa_psw(task) ((struct pa_psw *) ((char *) (task) + TASK_PT_PSW))

Completed in 291 milliseconds

1234567891011>>