Home
last modified time | relevance | path

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

/linux/Documentation/admin-guide/kdump/
H A 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/kernel/bpf/
H A 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/kernel/
H A Dpid.c409 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task() function
421 EXPORT_SYMBOL(pid_task);
430 return pid_task(find_pid_ns(nr, ns), PIDTYPE_PID); in find_task_by_pid_ns()
465 result = pid_task(pid, type); in get_pid_task()
H A Dpid_namespace.c207 task = pid_task(pid, PIDTYPE_PID); in zap_pid_ns_processes()
H A Dnsproxy.c386 tsk = pid_task(pid, PIDTYPE_PID); in validate_nsset()
H A Dexit.c1614 target = pid_task(wo->wo_pid, PIDTYPE_TGID); in do_wait_pid()
1622 target = pid_task(wo->wo_pid, PIDTYPE_PID); in do_wait_pid()
H A Dsignal.c1488 p = pid_task(pid, PIDTYPE_PID); in kill_pid_info_type()
1570 p = pid_task(pid, PIDTYPE_PID); in kill_pid_usb_asyncio()
1993 t = pid_task(pid, type); in send_sigqueue()
H A Dsys.c1133 g = pid_task(pgrp, PIDTYPE_PGID); in SYSCALL_DEFINE2()
1249 if (pid_task(sid, PIDTYPE_PGID)) in ksys_setsid()
/linux/fs/
H A Dfcntl.c207 if (pid_task(f_owner->pid, f_owner->pid_type)) { in f_getown()
273 if (pid_task(f_owner->pid, f_owner->pid_type)) in f_getown_ex()
919 p = pid_task(pid, PIDTYPE_PID); in send_sigio()
965 p = pid_task(pid, PIDTYPE_PID); in send_sigurg()
H A Dpidfs.c108 task = pid_task(pid, PIDTYPE_PID); in pidfd_poll()
/linux/drivers/tty/
H A 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/include/linux/
H A Dpid.h89 extern struct task_struct *pid_task(struct pid *pid, enum pid_type);
/linux/kernel/time/
H A 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()
H A Dposix-timers.c386 rtn = pid_task(pid, PIDTYPE_PID); in good_sigevent()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gem.c333 task = pid_task(pid, PIDTYPE_TGID); in vmw_debugfs_gem_info_show()
/linux/fs/proc/
H A Darray.c727 start = pid_task(proc_pid(inode), PIDTYPE_PID); in get_children_pid()
736 task = pid_task(pid_prev, PIDTYPE_PID); in get_children_pid()
H A Dproc_net.c275 task = pid_task(proc_pid(dir), PIDTYPE_PID); in get_proc_task_net()
H A Dbase.c1336 if (current != pid_task(proc_pid(inode), PIDTYPE_PID)) { in proc_loginuid_write()
2026 task = pid_task(proc_pid(inode), PIDTYPE_PID); in pid_getattr()
2070 task = pid_task(proc_pid(inode), PIDTYPE_PID); in pid_revalidate()
2809 task = pid_task(proc_pid(inode), PIDTYPE_PID); in proc_pid_attr_write()
3556 iter.task = pid_task(pid, PIDTYPE_TGID); in next_tgid()
3865 task = pid_task(pid, PIDTYPE_PID); in first_tid()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gem.c1011 task = pid_task(pid, PIDTYPE_TGID); in amdgpu_debugfs_gem_info_show()
/linux/fs/gfs2/
H A Dglock.c2322 gh_owner = pid_task(gh->gh_owner_pid, PIDTYPE_PID); in dump_holder()
2753 i->task = pid_task(pid, PIDTYPE_TGID); in gfs2_glockfd_next_task()
/linux/ipc/
H A Dmqueue.c821 task = pid_task(info->notify_owner, PIDTYPE_TGID); in __do_notify()
/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c1414 task = pid_task(ctx->pid, PIDTYPE_PID); in record_context()