Home
last modified time | relevance | path

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

12

/linux/kernel/kcsan/
H A Dreport.c33 int task_pid; member
447 other_info->ai.size, get_thread_desc(other_info->ai.task_pid), in print_report()
460 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
464 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
644 .task_pid = in_task() ? task_pid_nr(current) : -1, in prepare_access_info()
/linux/io_uring/
H A Dsqpoll.h16 pid_t task_pid; member
H A Dsqpoll.c310 snprintf(buf, sizeof(buf), "iou-sqp-%d", sqd->task_pid); in io_sq_thread()
314 sqd->task_pid = current->pid; in io_sq_thread()
514 sqd->task_pid = current->pid; in io_sq_offload_create()
H A Dfdinfo.c160 sq_pid = sq->task_pid; in __io_uring_show_fdinfo()
/linux/drivers/tty/vt/
H A Dvt_ioctl.c460 vt_spawn_con.pid = get_pid(task_pid(current)); in vt_k_ioctl()
615 nvc->vt_pid = get_pid(task_pid(current)); in vt_setactivate()
770 vc->vt_pid = get_pid(task_pid(current)); in vt_ioctl()
/linux/fs/gfs2/
H A Dglock.h160 pid = task_pid(current); in gfs2_glock_is_locked_by_me()
H A Dglock.c1253 gh->gh_owner_pid = get_pid(task_pid(current)); in __gfs2_holder_init()
1276 gh->gh_owner_pid = get_pid(task_pid(current)); in gfs2_holder_reinit()
/linux/include/linux/
H A Dpid.h216 static inline struct pid *task_pid(struct task_struct *task) in task_pid() function
/linux/kernel/
H A Dexit.c137 struct pid *pid = task_pid(p); in __unhash_process()
263 thread_pid = task_pid(p); in release_task()
646 unsigned int ns_level = task_pid(father)->level; in find_new_reaper()
656 task_pid(reaper)->level == ns_level; in find_new_reaper()
H A Dpid.c528 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()
/linux/fs/notify/dnotify/
H A Ddnotify.c369 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
/linux/fs/proc/
H A Darray.c741 pid = get_pid(task_pid(task)); in get_children_pid()
763 pid = get_pid(task_pid(task)); in get_children_pid()
/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.c459 fp->fs_pid = get_pid(task_pid(current)); in fs3270_open()
/linux/include/linux/sched/
H A Dsignal.h673 pid = task_pid(task); in task_pid_type()
/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/fs/
H A Dpidfs.c607 struct pid *pid = task_pid(tsk); in pidfs_exit()
/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.c964 to_msm_vm(vm)->pid = get_pid(task_pid(task)); in msm_gpu_create_private_vm()
/linux/init/
H A Dmain.c1574 cad_pid = get_pid(task_pid(current)); in kernel_init_freeable()
/linux/fs/notify/fanotify/
H A Dfanotify.c867 pid = get_pid(task_pid(current)); in fanotify_alloc_event()
/linux/sound/core/
H A Dcontrol.c80 ctl->pid = get_pid(task_pid(current)); in snd_ctl_open()
2165 if (kctl->pid == task_pid(current)) { in snd_ctl_get_preferred_subdevice()
H A Dpcm.c971 substream->pid = get_pid(task_pid(current)); in snd_pcm_attach_substream()
/linux/ipc/
H A Dmsg.c833 ipc_update_pid(&msq->q_lrpid, task_pid(msr->r_tsk)); in pipelined_send()

12