Home
last modified time | relevance | path

Searched refs:pid_task (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/Documentation/admin-guide/kdump/
Dgdbmacros.txt59 set var $pid_task = $arg0
61 printf "\npid %d; comm %s:\n", $pid_task.pid, $pid_task.comm
63 print $pid_task
65 set var $stackp = $pid_task.thread.sp
110 set var $pid_task = 0
116 set $pid_task = $next_t
123 set $pid_task = $next_th
130 btthreadstack $pid_task
143 set var $pid_task = 0
149 set $pid_task = $next_t
[all …]
/linux-6.6.21/kernel/bpf/
Dbpf_task_storage.c107 task = pid_task(pid, PIDTYPE_PID); in bpf_pid_task_storage_lookup_elem()
141 task = pid_task(pid, PIDTYPE_PID); in bpf_pid_task_storage_update_elem()
192 task = pid_task(pid, PIDTYPE_PID); in bpf_pid_task_storage_delete_elem()
/linux-6.6.21/kernel/
Dpid.c399 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task() function
411 EXPORT_SYMBOL(pid_task);
420 return pid_task(find_pid_ns(nr, ns), PIDTYPE_PID); in find_task_by_pid_ns()
455 result = pid_task(pid, type); in get_pid_task()
Dpid_namespace.c206 task = pid_task(pid, PIDTYPE_PID); in zap_pid_ns_processes()
Dexit.c1563 target = pid_task(wo->wo_pid, PIDTYPE_TGID); in do_wait_pid()
1571 target = pid_task(wo->wo_pid, PIDTYPE_PID); in do_wait_pid()
1901 task = pid_task(pid, PIDTYPE_PID); in thread_group_exited()
Dnsproxy.c386 tsk = pid_task(pid, PIDTYPE_PID); in validate_nsset()
Dsignal.c1493 p = pid_task(pid, PIDTYPE_PID); in kill_pid_info()
1571 p = pid_task(pid, PIDTYPE_PID); in kill_pid_usb_asyncio()
2002 t = pid_task(pid, type); in send_sigqueue()
Dsys.c1124 g = pid_task(pgrp, PIDTYPE_PGID); in SYSCALL_DEFINE2()
1240 if (pid_task(sid, PIDTYPE_PGID)) in ksys_setsid()
/linux-6.6.21/fs/
Dfcntl.c157 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type)) { in f_getown()
215 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type)) in f_getown_ex()
789 p = pid_task(pid, PIDTYPE_PID); in send_sigio()
830 p = pid_task(pid, PIDTYPE_PID); in send_sigurg()
/linux-6.6.21/include/linux/
Dpid.h93 extern struct task_struct *pid_task(struct pid *pid, enum pid_type);
/linux-6.6.21/drivers/tty/
Dtty_jobctrl.c446 p = pid_task(pgrp, PIDTYPE_PGID); in session_of_pgrp()
448 p = pid_task(pgrp, PIDTYPE_PID); in session_of_pgrp()
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gem.c258 task = pid_task(pid, PIDTYPE_TGID); in vmw_debugfs_gem_info_show()
/linux-6.6.21/kernel/time/
Dposix-cpu-timers.c78 struct task_struct *tsk = pid_task(pid, PIDTYPE_PID); in pid_for_clock()
115 return pid_task(timer->it.cpu.pid, clock_pid_type(timer->it_clock)); in cpu_timer_task_rcu()
365 tsk = pid_task(pid_for_clock(clock, true), clock_pid_type(clock)); in posix_cpu_clock_get()
Dposix-timers.c385 rtn = pid_task(pid, PIDTYPE_PID); in good_sigevent()
/linux-6.6.21/fs/proc/
Dproc_net.c274 task = pid_task(proc_pid(dir), PIDTYPE_PID); in get_proc_task_net()
Darray.c720 start = pid_task(proc_pid(inode), PIDTYPE_PID); in get_children_pid()
729 task = pid_task(pid_prev, PIDTYPE_PID); in get_children_pid()
Dfd.c340 p = pid_task(proc_pid(inode), PIDTYPE_PID); in proc_fd_permission()
Dbase.c1280 if (current != pid_task(proc_pid(inode), PIDTYPE_PID)) { in proc_loginuid_write()
1974 task = pid_task(proc_pid(inode), PIDTYPE_PID); in pid_getattr()
2018 task = pid_task(proc_pid(inode), PIDTYPE_PID); in pid_revalidate()
2756 task = pid_task(proc_pid(inode), PIDTYPE_PID); in proc_pid_attr_write()
3491 iter.task = pid_task(pid, PIDTYPE_TGID); in next_tgid()
3800 task = pid_task(pid, PIDTYPE_PID); in first_tid()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_rd.c373 task = pid_task(submit->pid, PIDTYPE_PID); in msm_rd_dump_submit()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_debugfs.c101 task = pid_task(pid, PIDTYPE_TGID); in drm_clients_info()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c976 task = pid_task(pid, PIDTYPE_TGID); in amdgpu_debugfs_gem_info_show()
/linux-6.6.21/fs/gfs2/
Dglock.c2264 gh_owner = pid_task(gh->gh_owner_pid, PIDTYPE_PID); in dump_holder()
2700 i->task = pid_task(pid, PIDTYPE_TGID); in gfs2_glockfd_next_task()
/linux-6.6.21/ipc/
Dmqueue.c821 task = pid_task(info->notify_owner, PIDTYPE_TGID); in __do_notify()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_gpu_error.c1400 task = pid_task(ctx->pid, PIDTYPE_PID); in record_context()