Home
last modified time | relevance | path

Searched refs:task_pid (Results 1 – 23 of 23) sorted by relevance

/linux/io_uring/
H A Dsqpoll.h16 pid_t task_pid; member
/linux/tools/sched_ext/
H A Dscx_userland.c149 static __u32 task_pid(const struct enqueued_task *task) in task_pid() function
270 pid = task_pid(task); in dispatch_batch()
/linux/kernel/
H A Dexit.c137 struct pid *pid = task_pid(p); in __unhash_process()
261 thread_pid = task_pid(p); in release_task()
647 unsigned int ns_level = task_pid(father)->level; in find_new_reaper()
657 task_pid(reaper)->level == ns_level; in find_new_reaper()
H A Dpid.c577 return ns_of_pid(task_pid(tsk)); in task_active_pid_ns()
H A Dsys.c1161 pgrp = task_pid(p); in SYSCALL_DEFINE2()
1271 struct pid *sid = task_pid(group_leader); in ksys_setsid()
2358 is_child_reaper(task_pid(p))) in propagate_has_child_subreaper()
H A Dsignal.c2152 struct pid *pid = task_pid(task); in do_notify_pidfd()
4040 if ((task_pid(current) != pid || type > PIDTYPE_TGID) && in do_pidfd_send_signal()
/linux/fs/notify/dnotify/
H A Ddnotify.c369 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
/linux/drivers/s390/char/
H A Dfs3270.c455 fp->fs_pid = get_pid(task_pid(current)); in fs3270_open()
/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem_submit.c425 struct pid *pid = get_pid(task_pid(current)); in etnaviv_ioctl_gem_submit()
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c73 submit->pid = get_pid(task_pid(current)); in submit_create()
H A Dmsm_gpu.c976 to_msm_vm(vm)->pid = get_pid(task_pid(task)); in msm_gpu_create_private_vm()
/linux/fs/
H A Dpidfs.c726 struct pid *pid = task_pid(tsk); in pidfs_exit()
/linux/fs/notify/fanotify/
H A Dfanotify.c867 pid = get_pid(task_pid(current)); in fanotify_alloc_event()
/linux/sound/core/
H A Dcontrol.c87 ctl->pid = get_pid(task_pid(current)); in snd_ctl_open()
2243 if (kctl->pid == task_pid(current)) {
H A Dpcm.c971 substream->pid = get_pid(task_pid(current)); in snd_pcm_attach_substream()
H A Drawmidi.c358 substream->pid = get_pid(task_pid(current)); in open_substream()
/linux/ipc/
H A Dmsg.c833 ipc_update_pid(&msq->q_lrpid, task_pid(msr->r_tsk)); in pipelined_send()
/linux/fs/fuse/
H A Ddev.c233 req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in fuse_get_req()
654 req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in fuse_force_creds()
/linux/drivers/usb/core/
H A Ddevio.c1072 ps->disc_pid = get_pid(task_pid(current)); in usbdev_open()
1932 as->pid = get_pid(task_pid(current)); in proc_do_submiturb()
/linux/include/linux/
H A Dmm.h2316 static inline bool __cpupid_match_pid(pid_t task_pid, int cpupid) in __cpupid_match_pid() argument
2318 return (task_pid & LAST__PID_MASK) == cpupid_to_pid(cpupid); in __cpupid_match_pid()
/linux/sound/core/seq/
H A Dseq_clientmgr.c340 client->data.user.owner = get_pid(task_pid(current)); in snd_seq_open()
/linux/drivers/net/
H A Dtun.c3390 __f_setown(file, task_pid(current), PIDTYPE_TGID, 0); in tun_chr_fasync()
/linux/virt/kvm/
H A Dkvm_main.c4454 if (unlikely(oldpid != task_pid(current))) { in kvm_vcpu_ioctl()