Home
last modified time | relevance | path

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

/linux/io_uring/
H A Dsqpoll.h16 pid_t task_pid; member
H A Dsqpoll.c302 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 Dscx_userland.c150 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 Drequest_key_auth.c242 rka->pid = get_pid(task_pid(current)); in request_key_auth_new()
/linux/kernel/
H A Dexit.c136 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 Dpid.c579 return ns_of_pid(task_pid(tsk)); in task_active_pid_ns()
H A Dsignal.c2226 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 Ddnotify.c369 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
/linux/kernel/time/
H A Dposix-cpu-timers.c71 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 Dfs3270.c455 fp->fs_pid = get_pid(task_pid(current)); in fs3270_open()
/linux/include/linux/sched/
H A Dsignal.h671 pid = task_pid(task); in task_pid_type()
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c70 submit->pid = get_pid(task_pid(current)); in submit_create()
H A Dmsm_gpu.c879 to_msm_vm(vm)->pid = get_pid(task_pid(task)); in msm_gpu_create_private_vm()
/linux/fs/
H A Dpidfs.c751 struct pid *pid = task_pid(tsk); in pidfs_exit()
/linux/init/
H A Dmain.c1656 rcu_assign_pointer(cad_pid, get_pid(task_pid(current))); in kernel_init_freeable()
/linux/fs/notify/fanotify/
H A Dfanotify.c844 pid = task_pid(current); in fanotify_alloc_event()
/linux/sound/core/
H A Dcontrol.c83 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 Dpcm.c969 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/include/linux/
H A Dmm.h2453 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 Dseq_clientmgr.c353 client->data.user.owner = get_pid(task_pid(current)); in snd_seq_open()
/linux/drivers/net/
H A Dtun.c3540 __f_setown(file, task_pid(current), PIDTYPE_TGID, 0); in tun_chr_fasync()
/linux/virt/kvm/
H A Dkvm_main.c4483 if (unlikely(oldpid != task_pid(current))) { in kvm_vcpu_ioctl()