Searched refs:task_tgid (Results 1 – 21 of 21) sorted by relevance
/openbmc/linux/io_uring/ |
H A D | sqpoll.h | 17 pid_t task_tgid; member
|
H A D | sqpoll.c | 123 if (sqd->task_tgid != current->tgid) { in io_attach_sq_data() 428 sqd->task_tgid = current->tgid; in io_sq_offload_create()
|
/openbmc/linux/kernel/ |
H A D | usermode_driver.c | 133 umd_info->tgid = get_pid(task_tgid(current)); in umd_setup()
|
H A D | audit.c | 223 rc = (ac && ac->pid == task_tgid(task) ? 1 : 0); in auditd_test_task() 1278 struct pid *req_pid = task_tgid(current); in audit_receive_msg()
|
/openbmc/linux/include/net/ |
H A D | scm.h | 86 scm_set_cred(scm, task_tgid(current), current_uid(), current_gid()); in scm_send()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_file.c | 163 rcu_assign_pointer(file->pid, get_pid(task_tgid(current))); in drm_file_alloc() 521 pid = task_tgid(current); in drm_file_update_pid()
|
H A D | drm_auth.c | 239 rcu_access_pointer(file_priv->pid) == task_tgid(current)) in drm_master_check_perm()
|
/openbmc/linux/kernel/time/ |
H A D | posix-cpu-timers.c | 71 return thread ? task_pid(current) : task_tgid(current); in pid_for_clock() 89 return task_tgid(current); in pid_for_clock() 961 task_tgid(tsk), cur_time); in check_cpu_itimer()
|
H A D | posix-timers.c | 379 struct pid *pid = task_tgid(current); in good_sigevent() 494 new_timer->it_pid = get_pid(task_tgid(current)); in do_timer_create()
|
/openbmc/linux/ipc/ |
H A D | sem.c | 1395 ipc_update_pid(&curr->sempid, task_tgid(current)); in semctl_setval() 1515 ipc_update_pid(&sma->sems[i].sempid, task_tgid(current)); in semctl_main() 2097 queue.pid = task_tgid(current); in __do_semtimedop() 2434 ipc_update_pid(&semaphore->sempid, task_tgid(current)); in exit_sem()
|
H A D | mqueue.c | 669 if (task_tgid(current) == info->notify_owner) in mqueue_flush_file() 1396 if (info->notify_owner == task_tgid(current)) { in do_mq_notify() 1422 info->notify_owner = get_pid(task_tgid(current)); in do_mq_notify()
|
H A D | shm.c | 294 ipc_update_pid(&shp->shm_lprid, task_tgid(current)); in __shm_open() 384 ipc_update_pid(&shp->shm_lprid, task_tgid(current)); in __shm_close() 773 shp->shm_cprid = get_pid(task_tgid(current)); in newseg()
|
H A D | msg.c | 936 ipc_update_pid(&msq->q_lspid, task_tgid(current)); in do_msgsnd() 1166 ipc_update_pid(&msq->q_lrpid, task_tgid(current)); in do_msgrcv()
|
/openbmc/linux/include/linux/sched/ |
H A D | signal.h | 682 static inline struct pid *task_tgid(struct task_struct *task) in task_tgid() function
|
/openbmc/linux/arch/x86/kvm/ |
H A D | i8254.c | 680 pid = get_pid(task_tgid(current)); in kvm_create_pit()
|
/openbmc/linux/net/bluetooth/ |
H A D | af_bluetooth.c | 163 sk->sk_peer_pid = get_pid(task_tgid(current)); in bt_sock_alloc()
|
/openbmc/linux/fs/notify/fanotify/ |
H A D | fanotify.c | 828 pid = get_pid(task_tgid(current)); in fanotify_alloc_event()
|
H A D | fanotify_user.c | 676 task_tgid(current) != event->pid) in copy_event_to_user()
|
/openbmc/linux/drivers/misc/genwqe/ |
H A D | card_dev.c | 47 cfile->opener = get_pid(task_tgid(current)); in genwqe_add_file()
|
/openbmc/linux/net/unix/ |
H A D | af_unix.c | 686 sk->sk_peer_pid = get_pid(task_tgid(current)); in init_peercred() 1839 UNIXCB(skb).pid = get_pid(task_tgid(current)); in maybe_add_creds()
|
/openbmc/linux/fs/fuse/ |
H A D | file.c | 2583 struct pid *pid = fl->fl_type != F_UNLCK ? task_tgid(current) : NULL; in fuse_setlk()
|