Searched refs:task (Results 51 - 75 of 394) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-blackfin/
H A Dcurrent.h18 return (current_thread_info()->task);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Dstacktrace.h8 extern unsigned long unwind_stack(struct task_struct *task, unsigned long *sp,
12 #define unwind_stack(task, sp, pc, ra) 0
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/
H A Dstacktrace.h8 extern unsigned long unwind_stack(struct task_struct *task, unsigned long *sp,
12 #define unwind_stack(task, sp, pc, ra) 0
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-v850/
H A Dsegment.h31 #define copy_segments(task, mm) ((void)((void)(task), (mm)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/proc/
H A Dbase.c85 * in /proc for a task before it execs a suid executable.
129 static struct fs_struct *get_fs_struct(struct task_struct *task) argument
132 task_lock(task);
133 fs = task->fs;
136 task_unlock(task);
155 struct task_struct *task = get_proc_task(inode); local
159 if (task) {
160 fs = get_fs_struct(task);
161 put_task_struct(task);
176 struct task_struct *task local
202 proc_pid_environ(struct task_struct *task, char * buffer) argument
218 proc_pid_cmdline(struct task_struct *task, char * buffer) argument
255 proc_pid_auxv(struct task_struct *task, char *buffer) argument
279 proc_pid_wchan(struct task_struct *task, char *buffer) argument
297 proc_pid_schedstat(struct task_struct *task, char *buffer) argument
308 proc_oom_score(struct task_struct *task, char *buffer) argument
327 struct task_struct *task; local
367 struct task_struct *task = get_proc_task(inode); local
443 struct task_struct *task = get_proc_task(inode); local
480 struct task_struct *task = get_proc_task(inode); local
517 struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); local
589 struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); local
659 struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); local
677 struct task_struct *task; local
715 struct task_struct *task; local
753 struct task_struct *task = get_proc_task(inode); local
884 struct task_struct *task = get_proc_task(file->f_dentry->d_inode); local
902 struct task_struct *task; local
1070 task_dumpable(struct task_struct *task) argument
1086 proc_pid_make_inode(struct super_block * sb, struct task_struct *task) argument
1128 struct task_struct *task; local
1166 struct task_struct *task = get_proc_task(inode); local
1217 proc_fill_cache(struct file *filp, void *dirent, filldir_t filldir, char *name, int len, instantiate_t instantiate, struct task_struct *task, const void *ptr) argument
1286 struct task_struct *task = get_proc_task(inode); local
1332 struct task_struct *task = get_proc_task(inode); local
1370 proc_fd_instantiate(struct inode *dir, struct dentry *dentry, struct task_struct *task, const void *ptr) argument
1428 struct task_struct *task = get_proc_task(dir); local
1563 proc_fdinfo_instantiate(struct inode *dir, struct dentry *dentry, struct task_struct *task, const void *ptr) argument
1615 proc_pident_instantiate(struct inode *dir, struct dentry *dentry, struct task_struct *task, const void *ptr) argument
1652 struct task_struct *task = get_proc_task(dir); local
1682 proc_pident_fill_cache(struct file *filp, void *dirent, filldir_t filldir, struct task_struct *task, const struct pid_entry *p) argument
1697 struct task_struct *task = get_proc_task(inode); local
1754 struct task_struct *task = get_proc_task(inode); local
1775 struct task_struct *task = get_proc_task(inode); local
1892 struct task_struct *task = get_proc_task(inode); local
1907 proc_base_instantiate(struct inode *dir, struct dentry *dentry, struct task_struct *task, const void *ptr) argument
1957 struct task_struct *task = get_proc_task(dir); local
1984 proc_base_fill_cache(struct file *filp, void *dirent, filldir_t filldir, struct task_struct *task, const struct pid_entry *p) argument
1992 proc_pid_io_accounting(struct task_struct *task, char *buffer) argument
2121 proc_flush_task(struct task_struct *task) argument
2167 proc_pid_instantiate(struct inode *dir, struct dentry * dentry, struct task_struct *task, const void *ptr) argument
2200 struct task_struct *task; local
2231 struct task_struct *task; local
2263 proc_pid_fill_cache(struct file *filp, void *dirent, filldir_t filldir, struct task_struct *task, int tgid) argument
2277 struct task_struct *task; local
2383 proc_task_instantiate(struct inode *dir, struct dentry *dentry, struct task_struct *task, const void *ptr) argument
2414 struct task_struct *task; local
2513 proc_task_fill_cache(struct file *filp, void *dirent, filldir_t filldir, struct task_struct *task, int tid) argument
2528 struct task_struct *task; local
[all...]
H A Darray.c126 * The task state array is a strange "bitmap" of
301 int proc_pid_status(struct task_struct *task, char *buffer) argument
304 struct mm_struct *mm = get_task_mm(task);
306 buffer = task_name(task, buffer);
307 buffer = task_state(task, buffer);
313 buffer = task_sig(task, buffer);
314 buffer = task_cap(task, buffer);
315 buffer = cpuset_task_status_allowed(task, buffer);
317 buffer = task_show_regs(task, buffer);
319 buffer = task_context_switch_counts(task, buffe
382 do_task_stat(struct task_struct *task, char *buffer, int whole) argument
542 proc_tid_stat(struct task_struct *task, char *buffer) argument
547 proc_tgid_stat(struct task_struct *task, char *buffer) argument
552 proc_pid_statm(struct task_struct *task, char *buffer) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/irda/
H A Dep7211_ir.c24 static int ep7211_ir_change_speed(struct irda_task *task);
25 static int ep7211_ir_reset(struct irda_task *task);
69 * Function ep7211_ir_change_speed (task)
75 static int ep7211_ir_change_speed(struct irda_task *task) argument
77 irda_task_next_state(task, IRDA_TASK_DONE);
82 * Function ep7211_ir_reset (task)
87 static int ep7211_ir_reset(struct irda_task *task) argument
89 irda_task_next_state(task, IRDA_TASK_DONE);
H A Dactisys.c56 static int actisys_change_speed(struct irda_task *task);
57 static int actisys_reset(struct irda_task *task);
85 * Function actisys_change_speed (task)
140 * Function actisys_change_speed (task)
156 static int actisys_change_speed(struct irda_task *task) argument
158 dongle_t *self = (dongle_t *) task->instance;
159 __u32 speed = (__u32) task->param; /* Target speed */
200 irda_task_next_state(task, IRDA_TASK_DONE);
206 * Function actisys_reset (task)
225 static int actisys_reset(struct irda_task *task) argument
[all...]
H A Dact200l.c29 static int act200l_reset(struct irda_task *task);
32 static int act200l_change_speed(struct irda_task *task);
131 static int act200l_change_speed(struct irda_task *task) argument
133 dongle_t *self = (dongle_t *) task->instance;
134 __u32 speed = (__u32) task->param;
140 self->speed_task = task;
142 switch (task->state) {
144 if (irda_task_execute(self, act200l_reset, NULL, task,
148 irda_task_next_state(task, IRDA_TASK_CHILD_WAIT);
190 irda_task_next_state(task, IRDA_TASK_WAI
216 act200l_reset(struct irda_task *task) argument
[all...]
H A Dlitelink.c44 static int litelink_change_speed(struct irda_task *task);
45 static int litelink_reset(struct irda_task *task);
82 * Function litelink_change_speed (task)
87 static int litelink_change_speed(struct irda_task *task) argument
89 dongle_t *self = (dongle_t *) task->instance;
90 __u32 speed = (__u32) task->param;
119 irda_task_next_state(task, IRDA_TASK_DONE);
125 * Function litelink_reset (task)
130 static int litelink_reset(struct irda_task *task) argument
132 dongle_t *self = (dongle_t *) task
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dpid.h74 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type);
80 extern int FASTCALL(attach_pid(struct task_struct *task,
82 extern void FASTCALL(detach_pid(struct task_struct *task, enum pid_type));
109 #define do_each_pid_task(pid, type, task) \
113 hlist_for_each_entry_rcu((task), pos___, \
116 #define while_each_pid_task(pid, type, task) \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/rfkill/
H A Drfkill-input.c27 struct mutex mutex; /* ensures that task is serialized */
36 struct rfkill_task *task = container_of(work, struct rfkill_task, work); local
39 mutex_lock(&task->mutex);
46 state = task->desired_state;
48 if (state != task->current_state) {
49 rfkill_switch_all(task->type, state);
50 task->current_state = state;
53 mutex_unlock(&task->mutex);
56 static void rfkill_schedule_toggle(struct rfkill_task *task) argument
60 spin_lock_irqsave(&task
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Drtmutex.c39 * taskpointer 0 1 task is pending owner
41 * taskpointer 1 1 task is pending owner and lock has more waiters
107 * Calculate task priority from the waiter list priority
109 * Return task->normal_prio when the waiter list is empty or when
112 int rt_mutex_getprio(struct task_struct *task) argument
114 if (likely(!task_has_pi_waiters(task)))
115 return task->normal_prio;
117 return min(task_top_pi_waiter(task)->pi_list_entry.prio,
118 task->normal_prio);
122 * Adjust the priority of a task, afte
126 __rt_mutex_adjust_prio(struct task_struct *task) argument
143 rt_mutex_adjust_prio(struct task_struct *task) argument
162 rt_mutex_adjust_prio_chain(struct task_struct *task, int deadlock_detect, struct rt_mutex *orig_lock, struct rt_mutex_waiter *orig_waiter, struct task_struct *top_task) argument
594 rt_mutex_adjust_pi(struct task_struct *task) argument
[all...]
H A Dptrace.c27 * ptrace a task: make the debugger its new parent and
64 * unptrace a task: move it back to its original parent and
122 static int may_attach(struct task_struct *task) argument
124 /* May we inspect the given task?
130 * or halting the specified task is impossible.
134 if (task == current)
136 if (((current->uid != task->euid) ||
137 (current->uid != task->suid) ||
138 (current->uid != task->uid) ||
139 (current->gid != task
152 ptrace_may_attach(struct task_struct *task) argument
161 ptrace_attach(struct task_struct *task) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/libsas/
H A Dsas_discover.c35 /* ---------- Basic task processing for discovery purposes ---------- */
60 struct sas_task *task = (void *) _task; local
63 spin_lock_irqsave(&task->task_state_lock, flags);
64 if (!(task->task_state_flags & SAS_TASK_STATE_DONE))
65 task->task_state_flags |= SAS_TASK_STATE_ABORTED;
66 spin_unlock_irqrestore(&task->task_state_lock, flags);
68 complete(&task->completion);
71 static void sas_disc_task_done(struct sas_task *task) argument
73 if (!del_timer(&task->timer))
75 complete(&task
87 sas_execute_task(struct sas_task *task, void *buffer, int size, int pci_dma_dir) argument
363 struct sas_task *task; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic94xx/
H A Daic94xx_task.c54 static inline int asd_map_scatterlist(struct sas_task *task, argument
58 struct asd_ascb *ascb = task->lldd_task;
63 if (task->data_dir == PCI_DMA_NONE)
66 if (task->num_scatter == 0) {
67 void *p = task->scatter;
69 task->total_xfer_len,
70 task->data_dir);
72 sg_arr[0].size = cpu_to_le32(task->total_xfer_len);
77 num_sg = pci_map_sg(asd_ha->pcidev, task->scatter, task
131 struct sas_task *task = ascb->uldd_task; local
155 struct sas_task *task = ascb->uldd_task; local
224 struct sas_task *task = ascb->uldd_task; local
371 asd_build_ata_ascb(struct asd_ascb *ascb, struct sas_task *task, gfp_t gfp_flags) argument
440 asd_build_smp_ascb(struct asd_ascb *ascb, struct sas_task *task, gfp_t gfp_flags) argument
479 struct sas_task *task = a->uldd_task; local
490 asd_build_ssp_ascb(struct asd_ascb *ascb, struct sas_task *task, gfp_t gfp_flags) argument
553 asd_execute_task(struct sas_task *task, const int num, gfp_t gfp_flags) argument
[all...]
H A Daic94xx_tmf.c162 static int asd_clear_nexus_tag(struct sas_task *task) argument
164 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha;
165 struct asd_ascb *tascb = task->lldd_task;
172 memcpy(scb->clear_nexus.ssp_task.lun, task->ssp_task.LUN, 8);
174 if (task->dev->tproto)
176 task->dev->lldd_dev);
180 static int asd_clear_nexus_index(struct sas_task *task) argument
182 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha;
183 struct asd_ascb *tascb = task->lldd_task;
190 if (task
269 asd_clear_nexus(struct sas_task *task) argument
327 asd_abort_task(struct sas_task *task) argument
608 asd_query_task(struct sas_task *task) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/connector/
H A Dcn_proc.c50 void proc_fork_connector(struct task_struct *task) argument
66 ev->event_data.fork.parent_pid = task->real_parent->pid;
67 ev->event_data.fork.parent_tgid = task->real_parent->tgid;
68 ev->event_data.fork.child_pid = task->pid;
69 ev->event_data.fork.child_tgid = task->tgid;
78 void proc_exec_connector(struct task_struct *task) argument
94 ev->event_data.exec.process_pid = task->pid;
95 ev->event_data.exec.process_tgid = task->tgid;
103 void proc_id_connector(struct task_struct *task, int which_id) argument
116 ev->event_data.id.process_pid = task
136 proc_exit_connector(struct task_struct *task) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/sys-i386/
H A Dsysrq.c74 void show_trace(struct task_struct* task, unsigned long * stack) argument
82 printk("show_trace: got NULL stack, implicit assumption task == current");
86 if (!task)
87 task = current;
89 if (task != current) {
90 ebp = (unsigned long) KSTK_EBP(task);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-um/
H A Dmmu_context.h15 #define get_mmu_context(task) do ; while(0)
56 extern int init_new_context_skas(struct task_struct *task,
59 static inline int init_new_context_tt(struct task_struct *task, argument
65 static inline int init_new_context(struct task_struct *task, argument
69 task, mm));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/include/skas/
H A Dmode_kern_skas.h20 extern void release_thread_skas(struct task_struct *task);
34 extern int external_pid_skas(struct task_struct *task);
35 extern int thread_pid_skas(struct task_struct *task);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/include/tt/
H A Dmode_kern_tt.h21 extern void release_thread_tt(struct task_struct *task);
35 extern int external_pid_tt(struct task_struct *task);
36 extern int thread_pid_tt(struct task_struct *task);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/libertas/
H A Dthread.h7 struct task_struct *task; member in struct:wlan_thread
34 thr->task = kthread_run(wlanfunc, thr, "%s", name);
46 kthread_stop(thr->task);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/v850/kernel/
H A Dbug.c47 struct task_struct *task, unsigned long sp)
53 task ? task->pid : -1,
107 * TASK is a pointer to the task whose backtrace we want to see (or NULL
108 * for current task), SP is the stack pointer of the first frame that
110 * the task should be shown).
112 void show_stack (struct task_struct *task, unsigned long *sp)
118 else if (task)
119 addr = task_sp (task);
46 unexpected_reset(unsigned long ret_addr, unsigned long kmode, struct task_struct *task, unsigned long sp) argument
111 show_stack(struct task_struct *task, unsigned long *sp) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/kernel/
H A Dptrace.c51 static inline int get_stack_long(struct task_struct *task, int offset) argument
55 stack = (unsigned char *)(task->thread.uregs);
61 get_fpu_long(struct task_struct *task, unsigned long addr) argument
65 regs = (struct pt_regs*)((unsigned char *)task + THREAD_SIZE) - 1;
67 if (!tsk_used_math(task)) {
76 if (last_task_used_math == task) {
78 fpsave(&task->thread.fpu.hard);
84 tmp = ((long *)&task->thread.fpu)[addr / sizeof(unsigned long)];
91 static inline int put_stack_long(struct task_struct *task, int offset, argument
96 stack = (unsigned char *)(task
103 put_fpu_long(struct task_struct *task, unsigned long addr, unsigned long data) argument
[all...]

Completed in 198 milliseconds

1234567891011>>