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

/drivers/tty/
H A Dtty_audit.c63 static void tty_audit_log(const char *description, struct task_struct *tsk, argument
71 char name[sizeof(tsk->comm)];
72 uid_t uid = task_uid(tsk);
76 tsk->pid, uid, loginuid, sessionid,
78 get_task_comm(name, tsk);
90 * @tsk with @loginuid. @buf->mutex must be locked.
92 static void tty_audit_buf_push(struct task_struct *tsk, uid_t loginuid, argument
102 tty_audit_log("tty", tsk, loginuid, sessionid, buf->major, buf->minor,
194 * @tsk: task pointer
198 * Called with a ref on @tsk hel
202 tty_audit_push_task(struct task_struct *tsk, uid_t loginuid, u32 sessionid) argument
[all...]
H A Dtty_io.c156 static void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty);
157 static void proc_set_tty(struct task_struct *tsk, struct tty_struct *tty);
858 struct task_struct *tsk = current; local
862 proc_clear_tty(tsk);
3239 static void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty) argument
3247 tty->pgrp = get_pid(task_pgrp(tsk));
3249 tty->session = get_pid(task_session(tsk));
3250 if (tsk->signal->tty) {
3252 tty_kref_put(tsk->signal->tty);
3255 put_pid(tsk
3260 proc_set_tty(struct task_struct *tsk, struct tty_struct *tty) argument
[all...]
/drivers/net/wireless/bcmdhd/include/
H A Dlinuxver.h551 struct task_struct *tsk; \
554 tsk = pid_task(pid, PIDTYPE_PID); \
555 if (tsk) send_sig(sig, tsk, 1); \
562 struct task_struct *tsk; \
563 tsk = find_task_by_vpid(pid); \
564 if (tsk) send_sig(sig, tsk, 1); \
/drivers/staging/android/
H A Dlowmemorykiller.c68 struct task_struct *tsk; local
108 for_each_process(tsk) {
112 if (tsk->flags & PF_KTHREAD)
115 p = find_lock_task_mm(tsk);
H A Dbinder.c293 struct task_struct *tsk; member in struct:binder_proc
392 if (lock_task_sighand(proc->tsk, &irqs)) {
393 rlim_cur = proc->tsk->signal->rlim[RLIMIT_NOFILE].rlim_cur;
394 unlock_task_sighand(proc->tsk, &irqs);
647 mm = get_task_mm(proc->tsk);
1562 t->sender_euid = proc->tsk->cred->euid;
2472 struct task_struct *sender = t->from->proc->tsk;
2909 proc->files = get_files_struct(proc->tsk);
2944 proc->tsk = current;
3118 put_task_struct(proc->tsk);
[all...]
/drivers/lguest/
H A Dlguest_user.c218 if (current != cpu->tsk)
286 cpu->tsk = current;
293 cpu->mm = get_task_mm(cpu->tsk);
H A Dinterrupts_and_traps.c268 if (!wake_up_process(cpu->tsk))
269 kick_process(cpu->tsk);
H A Dlg.h43 struct task_struct *tsk; member in struct:lg_cpu
44 struct mm_struct *mm; /* == tsk->mm, but that becomes NULL on exit */
/drivers/net/ppp/
H A Dppp_synctty.c73 struct tasklet_struct tsk; member in struct:syncppp
232 tasklet_init(&ap->tsk, ppp_sync_process, (unsigned long) ap);
286 tasklet_kill(&ap->tsk);
398 tasklet_schedule(&ap->tsk);
412 tasklet_schedule(&ap->tsk);
H A Dppp_async.c70 struct tasklet_struct tsk; member in struct:asyncppp
186 tasklet_init(&ap->tsk, ppp_async_process, (unsigned long) ap);
239 tasklet_kill(&ap->tsk);
357 tasklet_schedule(&ap->tsk);
371 tasklet_schedule(&ap->tsk);
/drivers/scsi/qla2xxx/
H A Dqla_mbx.c2436 struct tsk_mgmt_entry tsk; member in union:tsk_mgmt_cmd::__anon4937
2446 struct tsk_mgmt_cmd *tsk; local
2464 tsk = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &tsk_dma);
2465 if (tsk == NULL) {
2470 memset(tsk, 0, sizeof(struct tsk_mgmt_cmd));
2472 tsk->p.tsk.entry_type = TSK_MGMT_IOCB_TYPE;
2473 tsk->p.tsk.entry_count = 1;
2474 tsk
[all...]
H A Dqla_iocb.c1990 qla24xx_tm_iocb(srb_t *sp, struct tsk_mgmt_entry *tsk) argument
2003 tsk->entry_type = TSK_MGMT_IOCB_TYPE;
2004 tsk->entry_count = 1;
2005 tsk->handle = MAKE_HANDLE(req->id, tsk->handle);
2006 tsk->nport_handle = cpu_to_le16(fcport->loop_id);
2007 tsk->timeout = cpu_to_le16(ha->r_a_tov / 10 * 2);
2008 tsk->control_flags = cpu_to_le32(flags);
2009 tsk->port_id[0] = fcport->d_id.b.al_pa;
2010 tsk
[all...]
H A Dqla_isr.c1212 struct tsk_mgmt_entry *tsk)
1219 struct sts_entry_24xx *sts = (struct sts_entry_24xx *)tsk;
1222 sp = qla2x00_get_sp_from_handle(vha, func, req, tsk);
1211 qla24xx_tm_iocb_entry(scsi_qla_host_t *vha, struct req_que *req, struct tsk_mgmt_entry *tsk) argument
/drivers/pcmcia/
H A Dcs.c108 struct task_struct *tsk; local
172 tsk = kthread_run(pccardd, socket, "pccardd");
173 if (IS_ERR(tsk)) {
174 ret = PTR_ERR(tsk);
/drivers/oprofile/
H A Dcpu_buffer.c264 struct task_struct *tsk = task ? task : current; local
272 if (op_add_code(cpu_buf, backtrace, is_kernel, tsk))
/drivers/base/power/
H A Dmain.c60 struct task_struct *tsk; member in struct:dpm_watchdog
410 struct task_struct *tsk = wd->tsk; local
413 show_stack(tsk, NULL);
428 wd->tsk = get_current();
/drivers/net/wireless/bcmdhd/
H A Ddhd_linux.c1203 tsk_ctl_t *tsk = (tsk_ctl_t *)data; local
1204 dhd_info_t *dhd = (dhd_info_t *)tsk->parent;
1215 complete(&tsk->completed);
1217 while (down_interruptible(&tsk->sema) == 0) {
1220 if (tsk->terminated) {
1281 complete_and_exit(&tsk->completed, 0);
1898 tsk_ctl_t *tsk = (tsk_ctl_t *)data; local
1899 dhd_info_t *dhd = (dhd_info_t *)tsk->parent;
1913 complete(&tsk->completed);
1916 if (down_interruptible (&tsk
1988 tsk_ctl_t *tsk = (tsk_ctl_t *)data; local
[all...]
H A Dwl_cfg80211.c7236 if (wl->iscan_on && iscan->tsk) {
7239 send_sig(SIGTERM, iscan->tsk, 1);
7241 kthread_stop(iscan->tsk);
7242 iscan->tsk = NULL;
7433 if (wl->iscan_on && !iscan->tsk) {
7436 iscan->tsk = kthread_run(wl_iscan_thread, iscan, "wl_iscan");
7437 if (IS_ERR(iscan->tsk)) {
7439 iscan->tsk = NULL;
8005 iscan->tsk = kthread_run(wl_iscan_thread, iscan, "wl_iscan");
8006 if (IS_ERR(iscan->tsk)) {
8320 tsk_ctl_t *tsk = (tsk_ctl_t *)data; local
[all...]
H A Dwl_cfg80211.h348 struct task_struct *tsk; member in struct:wl_iscan_ctrl
/drivers/md/
H A Dmd.h544 struct task_struct *tsk; member in struct:md_thread
H A Dmd.c6483 pr_debug("md: waking up MD thread %s.\n", thread->tsk->comm);
6503 thread->tsk = kthread_run(md_thread, thread,
6507 if (IS_ERR(thread->tsk)) {
6519 pr_debug("interrupting MD-thread pid %d\n", task_pid_nr(thread->tsk));
6527 kthread_stop(thread->tsk);

Completed in 553 milliseconds