Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/kernel/kcsan/
H A Dreport.c27 int task_pid; member
390 other_info->ai.size, get_thread_desc(other_info->ai.task_pid), in print_report()
404 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
410 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
605 .task_pid = in_task() ? task_pid_nr(current) : -1, in kcsan_report()
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dn_r3964.c1083 pClient = findClient(pInfo, task_pid(current)); in r3964_read()
1169 pClient = findClient(pInfo, task_pid(current)); in r3964_write()
1197 return enable_signals(pInfo, task_pid(current), arg); in r3964_ioctl()
1210 return read_telegram(pInfo, task_pid(current), in r3964_ioctl()
1249 pClient = findClient(pInfo, task_pid(current)); in r3964_poll()
/OK3568_Linux_fs/kernel/kernel/locking/
H A Drtmutex-debug.c82 act_waiter->deadlock_task_pid = get_pid(task_pid(task)); in debug_rt_mutex_deadlock()
/OK3568_Linux_fs/kernel/drivers/tty/vt/
H A Dvt_ioctl.c462 vt_spawn_con.pid = get_pid(task_pid(current)); in vt_k_ioctl()
619 nvc->vt_pid = get_pid(task_pid(current)); in vt_setactivate()
779 vc->vt_pid = get_pid(task_pid(current)); in vt_ioctl()
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dglock.h143 pid = task_pid(current); in gfs2_glock_is_locked_by_me()
H A Dglock.c1122 gh->gh_owner_pid = get_pid(task_pid(current)); in gfs2_holder_init()
1147 gh->gh_owner_pid = get_pid(task_pid(current)); in gfs2_holder_reinit()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_auth.c206 if (file_priv->pid == task_pid(current) && file_priv->was_master) in drm_master_check_perm()
H A Ddrm_file.c165 file->pid = get_pid(task_pid(current)); in drm_file_alloc()
/OK3568_Linux_fs/kernel/fs/proc/
H A Darray.c698 pid = get_pid(task_pid(task)); in get_children_pid()
720 pid = get_pid(task_pid(task)); in get_children_pid()
/OK3568_Linux_fs/kernel/fs/notify/dnotify/
H A Ddnotify.c351 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
/OK3568_Linux_fs/kernel/kernel/time/
H A Dposix-cpu-timers.c64 return thread ? task_pid(current) : task_tgid(current); in pid_for_clock()
81 if (gettime && (pid == task_pid(current))) in pid_for_clock()
/OK3568_Linux_fs/kernel/include/linux/sched/
H A Dsignal.h645 pid = task_pid(task); in task_pid_type()
/OK3568_Linux_fs/kernel/drivers/s390/char/
H A Dfs3270.c465 fp->fs_pid = get_pid(task_pid(current)); in fs3270_open()
/OK3568_Linux_fs/kernel/kernel/
H A Dexit.c553 unsigned int ns_level = task_pid(father)->level; in find_new_reaper()
563 task_pid(reaper)->level == ns_level; in find_new_reaper()
H A Dpid.c510 return ns_of_pid(task_pid(tsk)); in task_active_pid_ns()
H A Dsys.c1076 pgrp = task_pid(p); in SYSCALL_DEFINE2()
1185 struct pid *sid = task_pid(group_leader); in ksys_setsid()
2266 is_child_reaper(task_pid(p))) in propagate_has_child_subreaper()
/OK3568_Linux_fs/kernel/fs/notify/fanotify/
H A Dfanotify.c612 event->pid = get_pid(task_pid(current)); in fanotify_alloc_event()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c591 struct pid *pid = get_pid(task_pid(current)); in msm_ioctl_gem_submit()
H A Dmsm_gpu.c848 aspace->pid = get_pid(task_pid(task)); in msm_gpu_create_private_address_space()
/OK3568_Linux_fs/kernel/sound/core/
H A Dcontrol.c72 ctl->pid = get_pid(task_pid(current)); in snd_ctl_open()
1958 if (kctl->pid == task_pid(current)) { in snd_ctl_get_preferred_subdevice()
/OK3568_Linux_fs/kernel/init/
H A Dmain.c1709 cad_pid = get_pid(task_pid(current)); in kernel_init_freeable()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsched.h1407 static inline struct pid *task_pid(struct task_struct *task) in task_pid() function
H A Dmm.h1399 static inline bool __cpupid_match_pid(pid_t task_pid, int cpupid) in __cpupid_match_pid() argument
1401 return (task_pid & LAST__PID_MASK) == cpupid_to_pid(cpupid); in __cpupid_match_pid()
/OK3568_Linux_fs/kernel/fs/fuse/
H A Ddev.c141 req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in fuse_get_req()
479 req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in fuse_force_creds()
/OK3568_Linux_fs/kernel/ipc/
H A Dmsg.c827 ipc_update_pid(&msq->q_lrpid, task_pid(msr->r_tsk)); in pipelined_send()

12