Searched refs:task_tgid (Results 1 – 17 of 17) sorted by relevance
/linux/include/net/ |
A D | scm.h | 85 scm_set_cred(scm, task_tgid(current), current_uid(), current_gid()); in scm_send()
|
/linux/kernel/ |
A D | usermode_driver.c | 133 umd_info->tgid = get_pid(task_tgid(current)); in umd_setup()
|
A D | audit.c | 225 rc = (ac && ac->pid == task_tgid(task) ? 1 : 0); in auditd_test_task() 1245 struct pid *req_pid = task_tgid(current); in audit_receive_msg()
|
/linux/kernel/time/ |
A D | posix-cpu-timers.c | 64 return thread ? task_pid(current) : task_tgid(current); in pid_for_clock() 82 return task_tgid(current); in pid_for_clock() 953 task_tgid(tsk), cur_time); in check_cpu_itimer()
|
A D | posix-timers.c | 433 struct pid *pid = task_tgid(current); in good_sigevent() 544 new_timer->it_pid = get_pid(task_tgid(current)); in do_timer_create()
|
/linux/ipc/ |
A D | sem.c | 1396 ipc_update_pid(&curr->sempid, task_tgid(current)); in semctl_setval() 1517 ipc_update_pid(&sma->sems[i].sempid, task_tgid(current)); in semctl_main() 2100 queue.pid = task_tgid(current); in __do_semtimedop() 2438 ipc_update_pid(&semaphore->sempid, task_tgid(current)); in exit_sem()
|
A D | mqueue.c | 656 if (task_tgid(current) == info->notify_owner) in mqueue_flush_file() 1386 if (info->notify_owner == task_tgid(current)) { in do_mq_notify() 1412 info->notify_owner = get_pid(task_tgid(current)); in do_mq_notify()
|
A D | shm.c | 296 ipc_update_pid(&shp->shm_lprid, task_tgid(current)); in __shm_open() 380 ipc_update_pid(&shp->shm_lprid, task_tgid(current)); in shm_close() 757 shp->shm_cprid = get_pid(task_tgid(current)); in newseg()
|
A D | msg.c | 930 ipc_update_pid(&msq->q_lspid, task_tgid(current)); in do_msgsnd() 1160 ipc_update_pid(&msq->q_lrpid, task_tgid(current)); in do_msgrcv()
|
/linux/include/linux/sched/ |
A D | signal.h | 657 static inline struct pid *task_tgid(struct task_struct *task) in task_tgid() function
|
/linux/arch/x86/kvm/ |
A D | i8254.c | 678 pid = get_pid(task_tgid(current)); in kvm_create_pit()
|
/linux/fs/notify/fanotify/ |
A D | fanotify.c | 727 pid = get_pid(task_tgid(current)); in fanotify_alloc_event()
|
A D | fanotify_user.c | 598 task_tgid(current) != event->pid) in copy_event_to_user()
|
/linux/net/unix/ |
A D | af_unix.c | 617 sk->sk_peer_pid = get_pid(task_tgid(current)); in init_peercred() 1699 UNIXCB(skb).pid = get_pid(task_tgid(current)); in maybe_add_creds() 1716 scm->pid = get_pid(task_tgid(current)); in maybe_init_creds()
|
/linux/drivers/misc/genwqe/ |
A D | card_dev.c | 47 cfile->opener = get_pid(task_tgid(current)); in genwqe_add_file()
|
/linux/fs/fuse/ |
A D | file.c | 2508 struct pid *pid = fl->fl_type != F_UNLCK ? task_tgid(current) : NULL; in fuse_setlk()
|
/linux/fs/ |
A D | io_uring.c | 299 pid_t task_tgid; member 8052 if (sqd->task_tgid != current->tgid) { in io_attach_sq_data() 8760 sqd->task_tgid = current->tgid; in io_sq_offload_create()
|
Completed in 72 milliseconds