Searched refs:task_pid (Results 1 – 23 of 23) sorted by relevance
| /linux/io_uring/ |
| H A D | sqpoll.h | 16 pid_t task_pid; member
|
| /linux/tools/sched_ext/ |
| H A D | scx_userland.c | 149 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 D | exit.c | 137 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 D | pid.c | 577 return ns_of_pid(task_pid(tsk)); in task_active_pid_ns()
|
| H A D | sys.c | 1161 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 D | signal.c | 2152 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 D | dnotify.c | 369 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
|
| /linux/drivers/s390/char/ |
| H A D | fs3270.c | 455 fp->fs_pid = get_pid(task_pid(current)); in fs3270_open()
|
| /linux/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_gem_submit.c | 425 struct pid *pid = get_pid(task_pid(current)); in etnaviv_ioctl_gem_submit()
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gem_submit.c | 73 submit->pid = get_pid(task_pid(current)); in submit_create()
|
| H A D | msm_gpu.c | 976 to_msm_vm(vm)->pid = get_pid(task_pid(task)); in msm_gpu_create_private_vm()
|
| /linux/fs/ |
| H A D | pidfs.c | 726 struct pid *pid = task_pid(tsk); in pidfs_exit()
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify.c | 867 pid = get_pid(task_pid(current)); in fanotify_alloc_event()
|
| /linux/sound/core/ |
| H A D | control.c | 87 ctl->pid = get_pid(task_pid(current)); in snd_ctl_open() 2243 if (kctl->pid == task_pid(current)) {
|
| H A D | pcm.c | 971 substream->pid = get_pid(task_pid(current)); in snd_pcm_attach_substream()
|
| H A D | rawmidi.c | 358 substream->pid = get_pid(task_pid(current)); in open_substream()
|
| /linux/ipc/ |
| H A D | msg.c | 833 ipc_update_pid(&msq->q_lrpid, task_pid(msr->r_tsk)); in pipelined_send()
|
| /linux/fs/fuse/ |
| H A D | dev.c | 233 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 D | devio.c | 1072 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 D | mm.h | 2316 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 D | seq_clientmgr.c | 340 client->data.user.owner = get_pid(task_pid(current)); in snd_seq_open()
|
| /linux/drivers/net/ |
| H A D | tun.c | 3390 __f_setown(file, task_pid(current), PIDTYPE_TGID, 0); in tun_chr_fasync()
|
| /linux/virt/kvm/ |
| H A D | kvm_main.c | 4454 if (unlikely(oldpid != task_pid(current))) { in kvm_vcpu_ioctl()
|