Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/tty/
Dn_r3964.c1076 pClient = findClient(pInfo, task_pid(current)); in r3964_read()
1165 pClient = findClient(pInfo, task_pid(current)); in r3964_write()
1193 return enable_signals(pInfo, task_pid(current), arg); in r3964_ioctl()
1206 return read_telegram(pInfo, task_pid(current), in r3964_ioctl()
1230 pClient = findClient(pInfo, task_pid(current)); in r3964_poll()
/Linux-v4.19/kernel/locking/
Drtmutex-debug.c82 act_waiter->deadlock_task_pid = get_pid(task_pid(task)); in debug_rt_mutex_deadlock()
/Linux-v4.19/include/linux/sched/
Dsignal.h576 pid = task_pid(task); in task_pid_type()
620 return task_pid(p) == task_tgid(p); in has_group_leader_pid()
/Linux-v4.19/fs/gfs2/
Dglock.h146 pid = task_pid(current); in gfs2_glock_is_locked_by_me()
Dglock.c889 gh->gh_owner_pid = get_pid(task_pid(current)); in gfs2_holder_init()
914 gh->gh_owner_pid = get_pid(task_pid(current)); in gfs2_holder_reinit()
/Linux-v4.19/drivers/tty/vt/
Dvt_ioctl.c586 vt_spawn_con.pid = get_pid(task_pid(current)); in vt_ioctl()
612 vc->vt_pid = get_pid(task_pid(current)); in vt_ioctl()
719 nvc->vt_pid = get_pid(task_pid(current)); in vt_ioctl()
/Linux-v4.19/fs/notify/dnotify/
Ddnotify.c357 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
/Linux-v4.19/fs/proc/
Darray.c678 pid = get_pid(task_pid(task)); in get_children_pid()
700 pid = get_pid(task_pid(task)); in get_children_pid()
/Linux-v4.19/kernel/
Dpid.c438 return ns_of_pid(task_pid(tsk)); in task_active_pid_ns()
Dexit.c605 unsigned int ns_level = task_pid(father)->level; in find_new_reaper()
615 task_pid(reaper)->level == ns_level; in find_new_reaper()
Dsys.c1049 pgrp = task_pid(p); in SYSCALL_DEFINE2()
1158 struct pid *sid = task_pid(group_leader); in ksys_setsid()
2243 is_child_reaper(task_pid(p))) in propagate_has_child_subreaper()
/Linux-v4.19/drivers/s390/char/
Dfs3270.c465 fp->fs_pid = get_pid(task_pid(current)); in fs3270_open()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_file.c126 file->pid = get_pid(task_pid(current)); in drm_file_alloc()
/Linux-v4.19/drivers/gpu/drm/msm/
Dmsm_gem_submit.c51 submit->pid = get_pid(task_pid(current)); in submit_create()
/Linux-v4.19/init/
Dmain.c1128 cad_pid = task_pid(current); in kernel_init_freeable()
/Linux-v4.19/sound/core/
Dcontrol.c86 ctl->pid = get_pid(task_pid(current)); in snd_ctl_open()
1795 if (kctl->pid == task_pid(current)) { in snd_ctl_get_preferred_subdevice()
Dpcm.c1033 substream->pid = get_pid(task_pid(current)); in snd_pcm_attach_substream()
Drawmidi.c288 substream->pid = get_pid(task_pid(current)); in open_substream()
/Linux-v4.19/include/linux/
Dmm.h1005 static inline bool __cpupid_match_pid(pid_t task_pid, int cpupid) in __cpupid_match_pid() argument
1007 return (task_pid & LAST__PID_MASK) == cpupid_to_pid(cpupid); in __cpupid_match_pid()
Dsched.h1212 static inline struct pid *task_pid(struct task_struct *task) in task_pid() function
/Linux-v4.19/fs/fuse/
Ddev.c174 req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in __fuse_get_req()
275 req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in fuse_get_req_nofail_nopages()
/Linux-v4.19/ipc/
Dmsg.c778 ipc_update_pid(&msq->q_lrpid, task_pid(msr->r_tsk)); in pipelined_send()
/Linux-v4.19/drivers/usb/core/
Ddevio.c1011 ps->disc_pid = get_pid(task_pid(current)); in usbdev_open()
1743 as->pid = get_pid(task_pid(current)); in proc_do_submiturb()
/Linux-v4.19/fs/
Dexec.c1147 change_pid(tsk, PIDTYPE_PID, task_pid(leader)); in de_thread()
/Linux-v4.19/fs/ocfs2/
Ddlmglue.c786 oh->oh_owner_pid = get_pid(task_pid(current)); in ocfs2_add_holder()
2662 struct pid *pid = task_pid(current); in ocfs2_inode_lock_tracker()

12