Home
last modified time | relevance | path

Searched refs:get_pid_task (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/kernel/bpf/
Dtask_iter.c48 task = get_pid_task(pid, PIDTYPE_TGID); in task_group_seq_get_next()
64 task = get_pid_task(pid, PIDTYPE_PID); in task_group_seq_get_next()
73 task = get_pid_task(pid, PIDTYPE_PID); in task_group_seq_get_next()
122 task = get_pid_task(pid, PIDTYPE_TGID); in task_seq_get_next()
143 task = get_pid_task(pid, PIDTYPE_PID); in task_seq_get_next()
Dsyscall.c4826 task = get_pid_task(find_vpid(pid), PIDTYPE_PID); in bpf_task_fd_query()
/linux-6.6.21/kernel/
Dpid.c451 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task() function
461 EXPORT_SYMBOL_GPL(get_pid_task);
573 task = get_pid_task(pid, PIDTYPE_TGID); in pidfd_get_task()
694 task = get_pid_task(pid, PIDTYPE_PID); in pidfd_getfd()
/linux-6.6.21/include/linux/
Dpid.h98 extern struct task_struct *get_pid_task(struct pid *pid, enum pid_type);
/linux-6.6.21/arch/powerpc/platforms/book3s/
Dvas-api.c113 tsk = get_pid_task(pid, PIDTYPE_PID); in ref_get_pid_and_task()
116 tsk = get_pid_task(pid, PIDTYPE_PID); in ref_get_pid_and_task()
/linux-6.6.21/fs/proc/
Dinternal.h130 return get_pid_task(proc_pid(inode), PIDTYPE_PID); in get_proc_task()
Dbase.c773 task = get_pid_task(pid, PIDTYPE_PID); in proc_single_show()
2456 tp->task = get_pid_task(tp->pid, PIDTYPE_PID); in timers_start()
/linux-6.6.21/drivers/infiniband/core/
Dumem_odp.c372 owning_process = get_pid_task(umem_odp->tgid, PIDTYPE_PID); in ib_umem_odp_map_dma_and_lock()
/linux-6.6.21/mm/damon/
Dvaddr.c31 return get_pid_task(t->pid, PIDTYPE_PID); in damon_get_task_struct()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gpu.c341 task = get_pid_task(submit->pid, PIDTYPE_PID); in get_comm_cmdline()
Dmsm_gem.c979 get_pid_task(aspace->pid, PIDTYPE_PID); in msm_gem_describe()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c935 task = get_pid_task(pid, PIDTYPE_PID); in kfd_lookup_process_by_pid()
Dkfd_chardev.c2911 thread = get_pid_task(pid, PIDTYPE_PID); in kfd_ioctl_set_debug_trap()
/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.c1442 task = get_pid_task(submit->pid, PIDTYPE_PID); in etnaviv_gpu_recover_hang()
/linux-6.6.21/drivers/accel/habanalabs/common/
Ddevice.c1341 task = get_pid_task(hpriv->taskpid, PIDTYPE_PID); in device_kill_open_processes()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c2649 usertask = get_pid_task(process_info->pid, PIDTYPE_PID); in amdgpu_amdkfd_restore_userptr_worker()
/linux-6.6.21/kernel/trace/
Dbpf_trace.c3231 task = get_pid_task(find_vpid(pid), PIDTYPE_PID); in bpf_uprobe_multi_link_attach()
/linux-6.6.21/virt/kvm/
Dkvm_main.c3693 task = get_pid_task(pid, PIDTYPE_PID); in kvm_vcpu_yield_to()