/linux-master/kernel/sched/ |
H A D | sched.h | 498 extern int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk); 506 extern void sched_move_task(struct task_struct *tsk); 3232 extern int try_to_wake_up(struct task_struct *tsk, unsigned int state, int wake_flags);
|
/linux-master/include/linux/ |
H A D | blkdev.h | 1010 * tsk == current here 1012 static inline void blk_plug_invalidate_ts(struct task_struct *tsk) argument 1014 struct blk_plug *plug = tsk->plug; 1044 static inline void blk_plug_invalidate_ts(struct task_struct *tsk) argument
|
H A D | mm.h | 2457 extern int access_process_vm(struct task_struct *tsk, unsigned long addr, 3987 struct task_struct *task_early_kill(struct task_struct *tsk, int force_early); 4009 void add_to_kill_ksm(struct task_struct *tsk, struct page *p,
|
/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);
|
H A D | cifsglob.h | 710 struct task_struct *tsk; member in struct:TCP_Server_Info
|
/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/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/net/unix/ |
H A D | af_unix.c | 1695 struct sock *tsk; local 1720 tsk = skb->sk; 1725 unix_state_lock(tsk); 1728 sock_graft(tsk, newsock); 1729 unix_state_unlock(tsk);
|
/linux-master/mm/ |
H A D | memory-failure.c | 330 struct task_struct *tsk; member in struct:to_kill 342 struct task_struct *t = tk->tsk; 443 static void __add_to_kill(struct task_struct *tsk, struct page *p, argument 475 page_to_pfn(p), tsk->comm); 481 get_task_struct(tsk); 482 tk->tsk = tsk; 486 static void add_to_kill_anon_file(struct task_struct *tsk, struct page *p, argument 490 __add_to_kill(tsk, p, vma, to_kill, 0, FSDAX_INVALID_PGOFF); 495 struct task_struct *tsk) 494 task_in_to_kill_list(struct list_head *to_kill, struct task_struct *tsk) argument 506 add_to_kill_ksm(struct task_struct *tsk, struct page *p, struct vm_area_struct *vma, struct list_head *to_kill, unsigned long ksm_addr) argument 565 find_early_kill_thread(struct task_struct *tsk) argument 593 task_early_kill(struct task_struct *tsk, int force_early) argument 614 struct task_struct *tsk; local 651 struct task_struct *tsk; local 681 add_to_kill_fsdax(struct task_struct *tsk, struct page *p, struct vm_area_struct *vma, struct list_head *to_kill, pgoff_t pgoff) argument 696 struct task_struct *tsk; local [all...] |
H A D | memory.c | 6161 int access_process_vm(struct task_struct *tsk, unsigned long addr, argument 6167 mm = get_task_mm(tsk);
|
/linux-master/kernel/ |
H A D | fork.c | 168 void __weak arch_release_task_struct(struct task_struct *tsk) argument 179 static inline void free_task_struct(struct task_struct *tsk) argument 181 kmem_cache_free(task_struct_cachep, tsk); 225 static void thread_stack_delayed_free(struct task_struct *tsk) argument 227 struct vm_stack *vm_stack = tsk->stack; 229 vm_stack->stack_vm_area = tsk->stack_vm_area; 272 static int alloc_thread_stack_node(struct task_struct *tsk, int node) argument 299 tsk->stack_vm_area = s; 300 tsk->stack = stack; 327 tsk 333 free_thread_stack(struct task_struct *tsk) argument 349 thread_stack_delayed_free(struct task_struct *tsk) argument 356 alloc_thread_stack_node(struct task_struct *tsk, int node) argument 368 free_thread_stack(struct task_struct *tsk) argument 384 thread_stack_delayed_free(struct task_struct *tsk) argument 391 alloc_thread_stack_node(struct task_struct *tsk, int node) argument 400 free_thread_stack(struct task_struct *tsk) argument 534 account_kernel_stack(struct task_struct *tsk, int account) argument 552 exit_task_stack_account(struct task_struct *tsk) argument 566 release_task_stack(struct task_struct *tsk) argument 575 put_task_stack(struct task_struct *tsk) argument 582 free_task(struct task_struct *tsk) argument 968 __put_task_struct(struct task_struct *tsk) argument 1092 set_task_stack_end_magic(struct task_struct *tsk) argument 1102 struct task_struct *tsk; local 1572 complete_vfork_done(struct task_struct *tsk) argument 1618 mm_release(struct task_struct *tsk, struct mm_struct *mm) argument 1651 exit_mm_release(struct task_struct *tsk, struct mm_struct *mm) argument 1657 exec_mm_release(struct task_struct *tsk, struct mm_struct *mm) argument 1673 dup_mm(struct task_struct *tsk, struct mm_struct *oldmm) argument 1710 copy_mm(unsigned long clone_flags, struct task_struct *tsk) argument 1748 copy_fs(unsigned long clone_flags, struct task_struct *tsk) argument 1769 copy_files(unsigned long clone_flags, struct task_struct *tsk, int no_files) argument 1802 copy_sighand(unsigned long clone_flags, struct task_struct *tsk) argument 1851 copy_signal(unsigned long clone_flags, struct task_struct *tsk) argument 2082 struct task_struct *tsk = container_of(rhp, struct task_struct, rcu); local 2087 delayed_free_task(struct task_struct *tsk) argument 2095 copy_oom_score_adj(u64 clone_flags, struct task_struct *tsk) argument [all...] |
H A D | kprobes.c | 1960 /* This assumes the 'tsk' is the current task or the is not running. */ 1961 static kprobe_opcode_t *__kretprobe_find_ret_addr(struct task_struct *tsk, argument 1968 node = tsk->kretprobe_instances.first; 1986 * @tsk: Target task 1990 * Find the correct return address modified by a kretprobe on @tsk in unsigned 1993 * The @tsk must be 'current' or a task which is not running. @fp is a hint 1996 * kretprobe return addresses on the @tsk. The '*@cur' should be NULL at the 1999 unsigned long kretprobe_find_ret_addr(struct task_struct *tsk, void *fp, argument 2009 ret = __kretprobe_find_ret_addr(tsk, cur);
|
/linux-master/init/ |
H A D | main.c | 695 struct task_struct *tsk; local 711 tsk = find_task_by_pid_ns(pid, &init_pid_ns); 712 tsk->flags |= PF_NO_SETAFFINITY; 713 set_cpus_allowed_ptr(tsk, cpumask_of(smp_processor_id()));
|
/linux-master/arch/arm64/kernel/ |
H A D | head.S | 194 .macro init_cpu_task tsk, tmp1, tmp2 195 msr sp_el0, \tsk 197 ldr \tmp1, [\tsk, #TSK_STACK] 207 ldr w\tmp2, [\tsk, #TSK_TI_CPU]
|
H A D | ptrace.c | 206 void flush_ptrace_hw_breakpoint(struct task_struct *tsk) argument 209 struct thread_struct *t = &tsk->thread; 226 void ptrace_hw_copy_thread(struct task_struct *tsk) argument 228 memset(&tsk->thread.debug, 0, sizeof(struct debug_info)); 232 struct task_struct *tsk, 242 bp = tsk->thread.debug.hbp_break[idx]; 248 bp = tsk->thread.debug.hbp_watch[idx]; 257 struct task_struct *tsk, 268 tsk->thread.debug.hbp_break[idx] = bp; 275 tsk 231 ptrace_hbp_get_event(unsigned int note_type, struct task_struct *tsk, unsigned long idx) argument 256 ptrace_hbp_set_event(unsigned int note_type, struct task_struct *tsk, unsigned long idx, struct perf_event *bp) argument 284 ptrace_hbp_create(unsigned int note_type, struct task_struct *tsk, unsigned long idx) argument 383 ptrace_hbp_get_ctrl(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u32 *ctrl) argument 397 ptrace_hbp_get_addr(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 *addr) argument 411 ptrace_hbp_get_initialised_bp(unsigned int note_type, struct task_struct *tsk, unsigned long idx) argument 423 ptrace_hbp_set_ctrl(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u32 uctrl) argument 448 ptrace_hbp_set_addr(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 addr) argument 1895 compat_ptrace_read_user(struct task_struct *tsk, compat_ulong_t off, compat_ulong_t __user *ret) argument 1919 compat_ptrace_write_user(struct task_struct *tsk, compat_ulong_t off, compat_ulong_t val) argument 1988 compat_ptrace_hbp_get(unsigned int note_type, struct task_struct *tsk, compat_long_t num, u32 *kdata) argument 2009 compat_ptrace_hbp_set(unsigned int note_type, struct task_struct *tsk, compat_long_t num, u32 *kdata) argument 2030 compat_ptrace_gethbpregs(struct task_struct *tsk, compat_long_t num, compat_ulong_t __user *data) argument 2053 compat_ptrace_sethbpregs(struct task_struct *tsk, compat_long_t num, compat_ulong_t __user *data) argument [all...] |
/linux-master/kernel/time/ |
H A D | tick-sched.c | 422 static void tick_nohz_kick_task(struct task_struct *tsk) argument 438 if (!sched_task_on_rq(tsk)) 454 cpu = task_cpu(tsk); 542 void tick_nohz_dep_set_task(struct task_struct *tsk, enum tick_dep_bits bit) argument 544 if (!atomic_fetch_or(BIT(bit), &tsk->tick_dep_mask)) 545 tick_nohz_kick_task(tsk); 549 void tick_nohz_dep_clear_task(struct task_struct *tsk, enum tick_dep_bits bit) argument 551 atomic_andnot(BIT(bit), &tsk->tick_dep_mask); 559 void tick_nohz_dep_set_signal(struct task_struct *tsk, argument 563 struct signal_struct *sig = tsk [all...] |
/linux-master/io_uring/ |
H A D | io_uring.c | 3074 struct task_struct *tsk; local 3077 tsk = sqd->thread; 3078 if (tsk && tsk->io_uring && tsk->io_uring->io_wq) 3079 io_wq_cancel_cb(tsk->io_uring->io_wq,
|
/linux-master/block/ |
H A D | blk-core.c | 1091 struct task_struct *tsk = current; local 1096 if (tsk->plug) 1112 tsk->plug = plug;
|
H A D | blk-cgroup.c | 1471 static void blkcg_exit(struct task_struct *tsk) argument 1473 if (tsk->throttle_disk) 1474 put_disk(tsk->throttle_disk); 1475 tsk->throttle_disk = NULL;
|
/linux-master/arch/riscv/kernel/ |
H A D | traps.c | 116 struct task_struct *tsk = current; local 118 if (show_unhandled_signals && unhandled_signal(tsk, signo) 121 tsk->comm, task_pid_nr(tsk), signo, code, addr);
|
H A D | process.c | 43 int set_unalign_ctl(struct task_struct *tsk, unsigned int val) argument 48 tsk->thread.align_ctl = val; 52 int get_unalign_ctl(struct task_struct *tsk, unsigned long adr) argument 57 return put_user(tsk->thread.align_ctl, (unsigned long __user *)adr); 176 void arch_release_task_struct(struct task_struct *tsk) argument 180 riscv_v_thread_free(tsk);
|
/linux-master/security/ |
H A D | security.c | 1025 * Check whether the @tsk process has the @cap capability in the indicated 2916 * @tsk: target task 2921 * process @tsk. Note that this hook is sometimes called from interrupt. Note 2928 int security_file_send_sigiotask(struct task_struct *tsk, argument 2931 return call_int_hook(file_send_sigiotask, tsk, fown, sig);
|
/linux-master/kernel/irq/ |
H A D | manage.c | 1234 struct task_struct *tsk = current; local 1241 action = kthread_data(tsk); 1244 tsk->comm, tsk->pid, action->irq);
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_mbx.c | 3334 struct tsk_mgmt_entry tsk; member in union:tsk_mgmt_cmd::__anon254 3344 struct tsk_mgmt_cmd *tsk; local 3365 tsk = dma_pool_zalloc(ha->s_dma_pool, GFP_KERNEL, &tsk_dma); 3366 if (tsk == NULL) { 3372 tsk->p.tsk.entry_type = TSK_MGMT_IOCB_TYPE; 3373 tsk->p.tsk.entry_count = 1; 3374 tsk->p.tsk [all...] |
H A D | qla_iocb.c | 2540 qla24xx_tm_iocb(srb_t *sp, struct tsk_mgmt_entry *tsk) argument 2553 tsk->entry_type = TSK_MGMT_IOCB_TYPE; 2554 tsk->entry_count = 1; 2555 tsk->handle = make_handle(req->id, tsk->handle); 2556 tsk->nport_handle = cpu_to_le16(fcport->loop_id); 2557 tsk->timeout = cpu_to_le16(ha->r_a_tov / 10 * 2); 2558 tsk->control_flags = cpu_to_le32(flags); 2559 tsk->port_id[0] = fcport->d_id.b.al_pa; 2560 tsk [all...] |