Home
last modified time | relevance | path

Searched refs:task_tgid (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/io_uring/
Dsqpoll.h17 pid_t task_tgid; member
Dsqpoll.c125 if (sqd->task_tgid != current->tgid) { in io_attach_sq_data()
487 sqd->task_tgid = current->tgid; in io_sq_offload_create()
/linux-6.12.1/kernel/
Dusermode_driver.c133 umd_info->tgid = get_pid(task_tgid(current)); in umd_setup()
Daudit.c223 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()
/linux-6.12.1/include/net/
Dscm.h98 scm_set_cred(scm, task_tgid(current), current_uid(), current_gid()); in scm_send()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_file.c143 rcu_assign_pointer(file->pid, get_pid(task_tgid(current))); in drm_file_alloc()
448 pid = task_tgid(current); in drm_file_update_pid()
Ddrm_auth.c237 rcu_access_pointer(file_priv->pid) == task_tgid(current)) in drm_master_check_perm()
/linux-6.12.1/kernel/time/
Dposix-cpu-timers.c71 return thread ? task_pid(current) : task_tgid(current); in pid_for_clock()
89 return task_tgid(current); in pid_for_clock()
924 task_tgid(tsk), cur_time); in check_cpu_itimer()
Dposix-timers.c380 struct pid *pid = task_tgid(current); in good_sigevent()
495 new_timer->it_pid = get_pid(task_tgid(current)); in do_timer_create()
/linux-6.12.1/ipc/
Dsem.c1395 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()
Dmqueue.c669 if (task_tgid(current) == info->notify_owner) in mqueue_flush_file()
1397 if (info->notify_owner == task_tgid(current)) { in do_mq_notify()
1424 info->notify_owner = get_pid(task_tgid(current)); in do_mq_notify()
Dshm.c295 ipc_update_pid(&shp->shm_lprid, task_tgid(current)); in __shm_open()
385 ipc_update_pid(&shp->shm_lprid, task_tgid(current)); in __shm_close()
765 shp->shm_cprid = get_pid(task_tgid(current)); in newseg()
Dmsg.c936 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()
/linux-6.12.1/include/linux/sched/
Dsignal.h676 static inline struct pid *task_tgid(struct task_struct *task) in task_tgid() function
/linux-6.12.1/arch/x86/kvm/
Di8254.c680 pid = get_pid(task_tgid(current)); in kvm_create_pit()
/linux-6.12.1/net/bluetooth/
Daf_bluetooth.c163 sk->sk_peer_pid = get_pid(task_tgid(current)); in bt_sock_alloc()
/linux-6.12.1/fs/notify/fanotify/
Dfanotify.c824 pid = get_pid(task_tgid(current)); in fanotify_alloc_event()
Dfanotify_user.c682 task_tgid(current) != event->pid) in copy_event_to_user()
/linux-6.12.1/drivers/misc/genwqe/
Dcard_dev.c47 cfile->opener = get_pid(task_tgid(current)); in genwqe_add_file()
/linux-6.12.1/net/unix/
Daf_unix.c751 sk->sk_peer_pid = get_pid(task_tgid(current)); in init_peercred()
1924 UNIXCB(skb).pid = get_pid(task_tgid(current)); in maybe_add_creds()
/linux-6.12.1/fs/fuse/
Dfile.c2686 struct pid *pid = fl->c.flc_type != F_UNLCK ? task_tgid(current) : NULL; in fuse_setlk()