/linux-master/kernel/trace/ |
H A D | trace.c | 1896 __update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) argument 1910 strncpy(max_data->comm, tsk->comm, TASK_COMM_LEN); 1911 max_data->pid = tsk->pid; 1913 * If tsk == current, then use current_uid(), as that does not use 1916 if (tsk == current) 1919 max_data->uid = task_uid(tsk); 1921 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; 1922 max_data->policy = tsk->policy; 1923 max_data->rt_priority = tsk->rt_priority; 1926 tracing_record_cmdline(tsk); 1941 update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu, void *cond_data) argument 1988 update_max_tr_single(struct trace_array *tr, struct task_struct *tsk, int cpu) argument [all...] |
/linux-master/fs/proc/ |
H A D | base.c | 344 static ssize_t get_task_cmdline(struct task_struct *tsk, char __user *buf, argument 350 mm = get_task_mm(tsk); 362 struct task_struct *tsk; local 367 tsk = get_proc_task(file_inode(file)); 368 if (!tsk) 370 ret = get_task_cmdline(tsk, buf, count, pos); 371 put_task_struct(tsk);
|
/linux-master/kernel/ |
H A D | audit.c | 1003 struct task_struct *tsk; local 1016 tsk = kthread_run(audit_send_reply_thread, reply, "audit_send_reply"); 1017 if (IS_ERR(tsk))
|
H A D | kprobes.c | 1966 /* This assumes the 'tsk' is the current task or the is not running. */ 1967 static kprobe_opcode_t *__kretprobe_find_ret_addr(struct task_struct *tsk, argument 1974 node = tsk->kretprobe_instances.first; 1992 * @tsk: Target task 1996 * Find the correct return address modified by a kretprobe on @tsk in unsigned 1999 * The @tsk must be 'current' or a task which is not running. @fp is a hint 2002 * kretprobe return addresses on the @tsk. The '*@cur' should be NULL at the 2005 unsigned long kretprobe_find_ret_addr(struct task_struct *tsk, void *fp, argument 2015 ret = __kretprobe_find_ret_addr(tsk, cur);
|
/linux-master/drivers/base/power/ |
H A D | main.c | 497 struct task_struct *tsk; member in struct:dpm_watchdog 517 show_stack(wd->tsk, NULL, KERN_EMERG); 532 wd->tsk = current;
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | bugs.c | 2119 static void task_update_spec_tif(struct task_struct *tsk) argument 2122 set_tsk_thread_flag(tsk, TIF_SPEC_FORCE_UPDATE); 2132 if (tsk == current)
|
/linux-master/arch/arm/kernel/ |
H A D | entry-header.S | 220 uaccess_exit tsk, r0, r1 264 uaccess_exit tsk, r0, r1 425 * We must set at least "tsk" and "why" when calling ret_with_reschedule. 430 tsk .req r9 @ current thread_info label
|
/linux-master/security/apparmor/ |
H A D | file.c | 111 ad.common.u.tsk = NULL;
|
/linux-master/arch/sparc/mm/ |
H A D | tsb.c | 536 int init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument
|
H A D | srmmu.c | 473 struct task_struct *tsk) 999 int init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 472 switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, struct task_struct *tsk) argument
|
/linux-master/drivers/md/ |
H A D | md.h | 754 struct task_struct *tsk; member in struct:md_thread
|
/linux-master/mm/ |
H A D | nommu.c | 1687 int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, argument 1695 mm = get_task_mm(tsk);
|
H A D | ksm.c | 3188 struct task_struct *tsk; local 3198 for_each_process(tsk) { 3202 task_early_kill(tsk, force_early);
|
/linux-master/io_uring/ |
H A D | io_uring.c | 2821 struct task_struct *tsk; local 2824 tsk = sqd->thread; 2825 if (tsk && tsk->io_uring && tsk->io_uring->io_wq) 2826 io_wq_cancel_cb(tsk->io_uring->io_wq,
|
/linux-master/net/unix/ |
H A D | af_unix.c | 1701 struct sock *tsk; local 1724 tsk = skb->sk; 1729 unix_state_lock(tsk); 1730 unix_update_edges(unix_sk(tsk)); 1733 sock_graft(tsk, newsock); 1734 unix_state_unlock(tsk);
|
/linux-master/kernel/sched/ |
H A D | fair.c | 1230 struct task_struct *tsk = NULL; local 1238 tsk = task_of(se); 1240 __update_stats_enqueue_sleeper(rq_of(cfs_rq), tsk, stats); local 1278 struct task_struct *tsk = task_of(se); local 1282 state = READ_ONCE(tsk->__state); 1284 __schedstat_set(tsk->stats.sleep_start, 1287 __schedstat_set(tsk->stats.block_start, 2927 struct task_struct *tsk; local 2957 tsk = READ_ONCE(cpu_rq(cpu)->curr); 2959 if (!cpupid_match_pid(tsk, cpupi 7894 struct task_struct *tsk = (cpu == dst_cpu) ? p : NULL; local [all...] |
H A D | sched.h | 512 extern int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk); 520 extern void sched_move_task(struct task_struct *tsk); 3231 extern int try_to_wake_up(struct task_struct *tsk, unsigned int state, int wake_flags);
|
/linux-master/drivers/android/ |
H A D | binder.c | 2706 if (t1->to_proc->tsk == t2->to_proc->tsk && t1->code == t2->code && 3203 t->sender_euid = task_euid(proc->tsk); 4673 struct task_struct *sender = t_from->proc->tsk; 4931 put_task_struct(proc->tsk); 5601 if (proc->tsk != current->group_leader) 5640 proc->tsk = current->group_leader;
|
/linux-master/fs/smb/client/ |
H A D | connect.c | 1340 task_to_wake = xchg(&server->tsk, NULL); 1343 /* if server->tsk was NULL then wait for a signal before exiting */ 1674 task = xchg(&server->tsk, NULL); 1810 tcp_ses->tsk = kthread_run(cifs_demultiplex_thread, 1812 if (IS_ERR(tcp_ses->tsk)) { 1813 rc = PTR_ERR(tcp_ses->tsk);
|
/linux-master/drivers/scsi/ibmvscsi_tgt/ |
H A D | ibmvscsi_tgt.c | 2376 struct srp_tsk_mgmt *tsk; local 2410 tsk = &vio_iu(iue)->srp.tsk_mgmt; 2412 tsk->tag, tsk->tag); 2413 cmd->rsp.tag = tsk->tag;
|
/linux-master/include/linux/ |
H A D | mm.h | 2496 extern int access_process_vm(struct task_struct *tsk, unsigned long addr, 4043 struct task_struct *task_early_kill(struct task_struct *tsk, int force_early); 4065 void add_to_kill_ksm(struct task_struct *tsk, struct page *p,
|
H A D | security.h | 419 int security_file_send_sigiotask(struct task_struct *tsk, 1087 static inline int security_file_send_sigiotask(struct task_struct *tsk, argument
|
H A D | lsm_hook_defs.h | 200 LSM_HOOK(int, 0, file_send_sigiotask, struct task_struct *tsk,
|
/linux-master/arch/xtensa/kernel/ |
H A D | entry.S | 1621 * the pointer to that page. Also, it's possible for tsk->mm 1622 * to be NULL while tsk->active_mm is nonzero if we faulted on 1630 * mm = tsk->active_mm; 1637 l32i a0, a1, TASK_MM # tsk->mm 1835 l32i a0, a1, TASK_MM # tsk->mm
|
/linux-master/arch/mips/kernel/ |
H A D | traps.c | 773 struct task_struct *tsk) 788 force_sig_fault_to_task(SIGFPE, si_code, fault_addr, tsk); 772 force_fcr31_sig(unsigned long fcr31, void __user *fault_addr, struct task_struct *tsk) argument
|