Searched refs:task (Results 76 - 100 of 394) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/include/
H A Dptrace_user.h15 extern void arch_enter_kernel(void *task, int pid);
16 extern void arch_leave_kernel(void *task, int pid);
H A Das-layout.h13 void *task; member in struct:cpu_task
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/saa7134/
H A Dsaa7134-vbi.c53 int task)
58 saa_writeb(SAA7134_VBI_H_START1(task), norm->h_start & 0xff);
59 saa_writeb(SAA7134_VBI_H_START2(task), norm->h_start >> 8);
60 saa_writeb(SAA7134_VBI_H_STOP1(task), norm->h_stop & 0xff);
61 saa_writeb(SAA7134_VBI_H_STOP2(task), norm->h_stop >> 8);
62 saa_writeb(SAA7134_VBI_V_START1(task), norm->vbi_v_start_0 & 0xff);
63 saa_writeb(SAA7134_VBI_V_START2(task), norm->vbi_v_start_0 >> 8);
64 saa_writeb(SAA7134_VBI_V_STOP1(task), norm->vbi_v_stop_0 & 0xff);
65 saa_writeb(SAA7134_VBI_V_STOP2(task), norm->vbi_v_stop_0 >> 8);
67 saa_writeb(SAA7134_VBI_H_SCALE_INC1(task), VBI_SCAL
52 task_init(struct saa7134_dev *dev, struct saa7134_buf *buf, int task) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Drtmutex-debug.h13 rt_mutex_deadlock_account_lock(struct rt_mutex *lock, struct task_struct *task);
14 extern void rt_mutex_deadlock_account_unlock(struct task_struct *task);
H A Dmutex-debug.c61 ti->task->blocked_on = waiter;
69 DEBUG_LOCKS_WARN_ON(waiter->task != ti->task);
70 DEBUG_LOCKS_WARN_ON(ti->task->blocked_on != waiter);
71 ti->task->blocked_on = NULL;
74 waiter->task = NULL;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Dptrace.h36 #define task_regs(task) ((struct pt_regs *) ((char *)(task) + TASK_REGS))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dptrace.c60 * Get contents of register REGNO in task TASK.
62 static inline unsigned long get_reg(struct task_struct *task, int regno) argument
65 && task->thread.regs != NULL)
66 return ((unsigned long *)task->thread.regs)[regno];
71 * Write contents of register REGNO in task TASK.
73 static inline int put_reg(struct task_struct *task, int regno, argument
76 if (regno <= PT_MQ && task->thread.regs != NULL) {
79 | (task->thread.regs->msr & ~MSR_DEBUGCHANGE);
80 ((unsigned long *)task->thread.regs)[regno] = data;
88 * Get contents of AltiVec register state in task TAS
90 get_vrregs(unsigned long __user *data, struct task_struct *task) argument
118 set_vrregs(struct task_struct *task, unsigned long __user *data) argument
159 get_evrregs(unsigned long *data, struct task_struct *task) argument
185 set_evrregs(struct task_struct *task, unsigned long *data) argument
209 set_single_step(struct task_struct *task) argument
225 clear_single_step(struct task_struct *task) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/
H A Dptrace.h93 #define task_pt_regs(task) \
94 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \
97 #define task_pt_regs(task) \
98 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-xtensa/
H A Dcurrent.h22 return current_thread_info()->task;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/
H A Dthread_info.h23 struct task_struct *task; /* main task structure */ member in struct:thread_info
34 .task = &tsk, \
63 #define get_thread_info(ti) get_task_struct((ti)->task)
64 #define put_thread_info(ti) put_task_struct((ti)->task)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dperfmon.h39 #define PFM_FL_NOTIFY_BLOCK 0x01 /* block task on user level notifications */
151 #define PFM_MSG_END 2 /* task to which context was attached ended */
191 extern void pfm_inherit(struct task_struct *task, struct pt_regs *regs);
210 unsigned int block_task:1; /* block monitored task on kernel exit */
236 int (*fmt_validate)(struct task_struct *task, unsigned int flags, int cpu, void *arg);
237 int (*fmt_getsize)(struct task_struct *task, unsigned int flags, int cpu, void *arg, unsigned long *size);
238 int (*fmt_init)(struct task_struct *task, void *buf, unsigned int flags, int cpu, void *arg);
239 int (*fmt_handler)(struct task_struct *task, void *buf, pfm_ovfl_arg_t *arg, struct pt_regs *regs, unsigned long stamp);
240 int (*fmt_restart)(struct task_struct *task, pfm_ovfl_ctrl_t *ctrl, void *buf, struct pt_regs *regs);
241 int (*fmt_restart_active)(struct task_struct *task, pfm_ovfl_ctrl_
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/kernel/
H A Dperfmon.c58 #define PFM_CTX_UNLOADED 1 /* context is not loaded onto any task */
59 #define PFM_CTX_LOADED 2 /* context is loaded onto a task */
259 unsigned int block:1; /* when 1, task will blocked on user notifications */
263 unsigned int excl_idle:1; /* exclude idle task in system wide session */
286 struct task_struct *ctx_task; /* task to which context is attached */
372 unsigned int pfs_task_sessions; /* number of per task sessions */
376 struct task_struct *pfs_sys_session[NR_CPUS]; /* point to task owning a system-wide session */
384 typedef int (*pfm_reg_check_t)(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs);
581 pfm_put_task(struct task_struct *task) argument
583 if (task !
587 pfm_set_task_notify(struct task_struct *task) argument
908 pfm_mask_monitoring(struct task_struct *task) argument
982 pfm_restore_monitoring(struct task_struct *task) argument
1105 pfm_copy_pmds(struct task_struct *task, pfm_context_t *ctx) argument
1141 pfm_copy_pmcs(struct task_struct *task, pfm_context_t *ctx) argument
1176 pfm_buf_fmt_exit(pfm_buffer_fmt_t *fmt, struct task_struct *task, void *buf, struct pt_regs *regs) argument
1184 pfm_buf_fmt_getsize(pfm_buffer_fmt_t *fmt, struct task_struct *task, unsigned int flags, int cpu, void *arg, unsigned long *size) argument
1193 pfm_buf_fmt_validate(pfm_buffer_fmt_t *fmt, struct task_struct *task, unsigned int flags, int cpu, void *arg) argument
1202 pfm_buf_fmt_init(pfm_buffer_fmt_t *fmt, struct task_struct *task, void *buf, unsigned int flags, int cpu, void *arg) argument
1211 pfm_buf_fmt_restart(pfm_buffer_fmt_t *fmt, struct task_struct *task, pfm_ovfl_ctrl_t *ctrl, void *buf, struct pt_regs *regs) argument
1219 pfm_buf_fmt_restart_active(pfm_buffer_fmt_t *fmt, struct task_struct *task, pfm_ovfl_ctrl_t *ctrl, void *buf, struct pt_regs *regs) argument
1308 pfm_reserve_session(struct task_struct *task, int is_syswide, unsigned int cpu) argument
1430 pfm_remove_smpl_mapping(struct task_struct *task, void *vaddr, unsigned long size) argument
1773 struct task_struct *task; local
1917 struct task_struct *task; local
2252 pfm_smpl_buffer_alloc(struct task_struct *task, struct file *filp, pfm_context_t *ctx, unsigned long rsize, void **user_vaddr) argument
2363 pfm_bad_permissions(struct task_struct *task) argument
2384 pfarg_is_sane(struct task_struct *task, pfarg_context_t *pfx) argument
2409 pfm_setup_buffer_fmt(struct task_struct *task, struct file *filp, pfm_context_t *ctx, unsigned int ctx_flags, unsigned int cpu, pfarg_context_t *arg) argument
2549 pfm_task_incompatible(pfm_context_t *ctx, struct task_struct *task) argument
2595 pfm_get_task(pfm_context_t *ctx, pid_t pid, struct task_struct **task) argument
2842 struct task_struct *task; local
3082 struct task_struct *task; local
3278 struct task_struct *task; local
3404 pfm_mod_write_pmcs(struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs) argument
3425 pfm_mod_read_pmds(struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs) argument
3450 pfm_use_debug_registers(struct task_struct *task) argument
3505 pfm_release_debug_registers(struct task_struct *task) argument
3528 struct task_struct *task; local
3695 struct task_struct *task; local
3899 pfm_mod_write_ibrs(struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs) argument
3920 pfm_mod_write_dbrs(struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs) argument
3954 struct task_struct *task = PFM_CTX_TASK(ctx); local
4172 struct task_struct *task; local
4419 struct task_struct *task = PFM_CTX_TASK(ctx); local
4550 pfm_exit_thread(struct task_struct *task) argument
4660 struct task_struct *task; local
5170 pfm_overflow_handler(struct task_struct *task, pfm_context_t *ctx, u64 pmc0, struct pt_regs *regs) argument
5453 struct task_struct *task; local
5741 pfm_syst_wide_update_task(struct task_struct *task, unsigned long info, int is_ctxswin) argument
5791 struct task_struct *task = ctx->ctx_task; local
5817 pfm_save_regs(struct task_struct *task) argument
5906 pfm_save_regs(struct task_struct *task) argument
5937 pfm_lazy_save_regs(struct task_struct *task) argument
5990 pfm_load_regs(struct task_struct *task) argument
6146 pfm_load_regs(struct task_struct *task) argument
6262 pfm_flush_pmds(struct task_struct *task, pfm_context_t *ctx) argument
6677 struct task_struct *task; local
6749 pfm_inherit(struct task_struct *task, struct pt_regs *regs) argument
[all...]
H A Dprocess.c82 show_stack (struct task_struct *task, unsigned long *sp) argument
84 if (!task)
89 unw_init_from_blocked_task(&info, task);
316 ia64_save_extra (struct task_struct *task) argument
322 if ((task->thread.flags & IA64_THREAD_DBG_VALID) != 0)
323 ia64_save_debug_regs(&task->thread.dbr[0]);
326 if ((task->thread.flags & IA64_THREAD_PM_VALID) != 0)
327 pfm_save_regs(task);
331 pfm_syst_wide_update_task(task, info, 0);
335 if (IS_IA32_PROCESS(task_pt_regs(task)))
341 ia64_load_extra(struct task_struct *task) argument
498 do_copy_task_regs(struct task_struct *task, struct unw_frame_info *info, void *arg) argument
570 do_dump_task_fpu(struct task_struct *task, struct unw_frame_info *info, void *arg) argument
603 dump_task_regs(struct task_struct *task, elf_gregset_t *regs) argument
624 dump_task_fpu(struct task_struct *task, elf_fpregset_t *dst) argument
[all...]
H A Dperfmon_default_smpl.c41 default_validate(struct task_struct *task, unsigned int flags, int cpu, void *data) argument
47 DPRINT(("[%d] no argument passed\n", task->pid));
51 DPRINT(("[%d] validate flags=0x%x CPU%d\n", task->pid, flags, cpu));
64 default_get_size(struct task_struct *task, unsigned int flags, int cpu, void *data, unsigned long *size) argument
77 default_init(struct task_struct *task, void *buf, unsigned int flags, int cpu, void *data) argument
91 task->pid,
102 default_handler(struct task_struct *task, void *buf, pfm_ovfl_arg_t *arg, struct pt_regs *regs, unsigned long stamp) argument
112 if (unlikely(buf == NULL || arg == NULL|| regs == NULL || task == NULL)) {
113 DPRINT(("[%d] invalid arguments buf=%p arg=%p\n", task->pid, buf, arg));
142 task
230 default_restart(struct task_struct *task, pfm_ovfl_ctrl_t *ctrl, void *buf, struct pt_regs *regs) argument
246 default_exit(struct task_struct *task, void *buf, struct pt_regs *regs) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm26/
H A Dthread_info.h42 * low level task data that entry.S needs immediate access to.
49 struct task_struct *task; /* main task structure */ member in struct:thread_info
59 .task &tsk, \
84 #define task_pt_regs(task) ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE - 8) - 1)
86 extern struct thread_info *alloc_thread_info(struct task_struct *task);
116 * TIF_USEDFPU - FPU was used by this task this quantum (SMP)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/kernel/
H A Dprocess.c57 static inline int external_pid(struct task_struct *task) argument
59 return CHOOSE_MODE_PROC(external_pid_tt, external_pid_skas, task);
103 static inline void set_current(struct task_struct *task) argument
105 cpu_tasks[task_thread_info(task)->cpu] = ((struct cpu_task)
106 { external_pid(task), task });
138 void release_thread(struct task_struct *task) argument
140 CHOOSE_MODE(release_thread_tt(task), release_thread_skas(task));
218 void *um_virt_to_phys(struct task_struct *task, unsigne argument
404 struct task_struct *task = t ? t : current; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/
H A Dunlink.c21 struct rpc_task task; member in struct:nfs_unlinkdata
85 * @task: rpc_task of the sillydelete
90 static void nfs_async_unlink_init(struct rpc_task *task, void *calldata) argument
106 rpc_call_setup(task, &msg, 0);
109 rpc_exit(task, status);
114 * @task: rpc_task of the sillydelete
118 static void nfs_async_unlink_done(struct rpc_task *task, void *calldata) argument
128 if (NFS_PROTO(dir_i)->unlink_done(dir, task))
137 * @task: rpc_task of the sillydelete
139 * We need to call nfs_put_unlinkdata as a 'tk_release' task sinc
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/proc/
H A Dtask_nommu.c111 struct task_struct *task = get_proc_task(inode); local
112 struct mm_struct *mm = get_task_mm(task);
148 struct task_struct *task = priv->task; local
150 if (maps_protect && !ptrace_may_attach(task))
163 /* pin the task and mm whilst we play with them */
164 priv->task = get_pid_task(priv->pid, PIDTYPE_PID);
165 if (!priv->task)
168 mm = get_task_mm(priv->task);
170 put_task_struct(priv->task);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/sunrpc/
H A Dsched.h40 * This is the RPC task struct
87 struct work_struct tk_work; /* Async task work queue */
89 struct rcu_head tk_rcu; /* for task deletion */
94 unsigned long tk_start; /* RPC task init timestamp */
105 #define task_for_each(task, pos, head) \
107 if ((task=list_entry(pos, struct rpc_task, u.tk_wait.list)),1)
109 #define task_for_first(task, head) \
111 ((task=list_entry((head)->next, struct rpc_task, u.tk_wait.list)),1))
114 #define alltask_for_each(task, pos, head) \
116 if ((task
278 rpc_exit(struct rpc_task *task, int status) argument
284 rpc_wait_for_completion_task(struct rpc_task *task) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/kernel/tt/
H A Dprocess_kern.c57 * nor the value in "to" (since it was the task which stole us the CPU,
93 void release_thread_tt(struct task_struct *task) argument
95 int pid = task->thread.mode.tt.extern_pid;
105 os_close_file(task->thread.mode.tt.switch_pipe[0]);
106 os_close_file(task->thread.mode.tt.switch_pipe[1]);
108 task->thread.mode.tt.switch_pipe[0] = -1;
317 struct task_struct *task; local
321 task = t;
322 thread = &task->thread;
332 cpu_tasks[task_thread_info(task)
375 set_tracing(void *task, int tracing) argument
387 struct task_struct *task; local
419 external_pid_tt(struct task_struct *task) argument
424 thread_pid_tt(struct task_struct *task) argument
431 struct task_struct *task; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/sys-x86_64/
H A Dptrace_user.c43 void arch_enter_kernel(void *task, int pid) argument
47 void arch_leave_kernel(void *task, int pid) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dioprio.c29 static int set_task_ioprio(struct task_struct *task, int ioprio) argument
34 if (task->uid != current->euid &&
35 task->uid != current->uid && !capable(CAP_SYS_NICE))
38 err = security_task_setioprio(task, ioprio);
42 task_lock(task);
44 task->ioprio = ioprio;
46 ioc = task->io_context;
53 task_unlock(task);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh64/
H A Dthread_info.h15 * low level task data that entry.S needs immediate access to
21 struct task_struct *task; /* main task structure */ member in struct:thread_info
39 .task = &tsk, \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/
H A Dprocessor.h35 * This macro allows us to find those regs for a task.
44 * Dito but for the currently running task
47 #define task_pt_regs(task) user_regs(task_thread_info(task))
H A Dthread_info.h23 * low level task data that entry.S needs immediate access to
30 struct task_struct *task; /* main task structure */ member in struct:thread_info
56 .task = &tsk, \

Completed in 177 milliseconds

1234567891011>>