| /linux/io_uring/ |
| H A D | sqpoll.h | 16 pid_t task_pid; member
|
| H A D | sqpoll.c | 302 snprintf(buf, sizeof(buf), "iou-sqp-%d", sqd->task_pid); in io_sq_thread() 306 sqd->task_pid = current->pid; in io_sq_thread() 511 sqd->task_pid = current->pid; in io_sq_offload_create()
|
| /linux/tools/sched_ext/ |
| H A D | scx_userland.c | 150 static __u32 task_pid(const struct enqueued_task *task) in task_pid() function 271 pid = task_pid(task); in dispatch_batch()
|
| /linux/security/keys/ |
| H A D | request_key_auth.c | 242 rka->pid = get_pid(task_pid(current)); in request_key_auth_new()
|
| /linux/kernel/ |
| H A D | exit.c | 136 struct pid *pid = task_pid(p); in __unhash_process() 268 thread_pid = get_pid(task_pid(p)); in release_task() 657 unsigned int ns_level = task_pid(father)->level; in find_child_reaper() 667 task_pid(reaper)->level == ns_level;
|
| H A D | pid.c | 579 return ns_of_pid(task_pid(tsk)); in task_active_pid_ns()
|
| H A D | signal.c | 2226 struct pid *pid = task_pid(task); in do_notify_pidfd() 4113 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/kernel/time/ |
| H A D | posix-cpu-timers.c | 71 return thread ? task_pid(current) : task_tgid(current); in pid_for_clock() 88 if (gettime && (pid == task_pid(current))) in pid_for_clock()
|
| /linux/drivers/s390/char/ |
| H A D | fs3270.c | 455 fp->fs_pid = get_pid(task_pid(current)); in fs3270_open()
|
| /linux/include/linux/sched/ |
| H A D | signal.h | 671 pid = task_pid(task); in task_pid_type()
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gem_submit.c | 70 submit->pid = get_pid(task_pid(current)); in submit_create()
|
| H A D | msm_gpu.c | 879 to_msm_vm(vm)->pid = get_pid(task_pid(task)); in msm_gpu_create_private_vm()
|
| /linux/fs/ |
| H A D | pidfs.c | 751 struct pid *pid = task_pid(tsk); in pidfs_exit()
|
| /linux/init/ |
| H A D | main.c | 1656 rcu_assign_pointer(cad_pid, get_pid(task_pid(current))); in kernel_init_freeable()
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify.c | 844 pid = task_pid(current); in fanotify_alloc_event()
|
| /linux/sound/core/ |
| H A D | control.c | 83 ctl->pid = get_pid(task_pid(current)); in snd_ctl_open() 2297 if (kctl->pid == task_pid(current)) { in snd_ctl_get_preferred_subdevice()
|
| H A D | pcm.c | 969 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/include/linux/ |
| H A D | mm.h | 2453 static inline bool __cpupid_match_pid(pid_t task_pid, int cpupid) in __cpupid_match_pid() argument 2455 return (task_pid & LAST__PID_MASK) == cpupid_to_pid(cpupid); in __cpupid_match_pid()
|
| /linux/sound/core/seq/ |
| H A D | seq_clientmgr.c | 353 client->data.user.owner = get_pid(task_pid(current)); in snd_seq_open()
|
| /linux/drivers/net/ |
| H A D | tun.c | 3540 __f_setown(file, task_pid(current), PIDTYPE_TGID, 0); in tun_chr_fasync()
|
| /linux/virt/kvm/ |
| H A D | kvm_main.c | 4483 if (unlikely(oldpid != task_pid(current))) { in kvm_vcpu_ioctl()
|