Searched refs:task_tgid (Results 1 – 21 of 21) sorted by relevance
/linux-6.12.1/io_uring/ |
D | sqpoll.h | 17 pid_t task_tgid; member
|
D | sqpoll.c | 125 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/ |
D | usermode_driver.c | 133 umd_info->tgid = get_pid(task_tgid(current)); in umd_setup()
|
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()
|
/linux-6.12.1/include/net/ |
D | scm.h | 98 scm_set_cred(scm, task_tgid(current), current_uid(), current_gid()); in scm_send()
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_file.c | 143 rcu_assign_pointer(file->pid, get_pid(task_tgid(current))); in drm_file_alloc() 448 pid = task_tgid(current); in drm_file_update_pid()
|
D | drm_auth.c | 237 rcu_access_pointer(file_priv->pid) == task_tgid(current)) in drm_master_check_perm()
|
/linux-6.12.1/kernel/time/ |
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() 924 task_tgid(tsk), cur_time); in check_cpu_itimer()
|
D | posix-timers.c | 380 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/ |
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()
|
D | mqueue.c | 669 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()
|
D | shm.c | 295 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()
|
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()
|
/linux-6.12.1/include/linux/sched/ |
D | signal.h | 676 static inline struct pid *task_tgid(struct task_struct *task) in task_tgid() function
|
/linux-6.12.1/arch/x86/kvm/ |
D | i8254.c | 680 pid = get_pid(task_tgid(current)); in kvm_create_pit()
|
/linux-6.12.1/net/bluetooth/ |
D | af_bluetooth.c | 163 sk->sk_peer_pid = get_pid(task_tgid(current)); in bt_sock_alloc()
|
/linux-6.12.1/fs/notify/fanotify/ |
D | fanotify.c | 824 pid = get_pid(task_tgid(current)); in fanotify_alloc_event()
|
D | fanotify_user.c | 682 task_tgid(current) != event->pid) in copy_event_to_user()
|
/linux-6.12.1/drivers/misc/genwqe/ |
D | card_dev.c | 47 cfile->opener = get_pid(task_tgid(current)); in genwqe_add_file()
|
/linux-6.12.1/net/unix/ |
D | af_unix.c | 751 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/ |
D | file.c | 2686 struct pid *pid = fl->c.flc_type != F_UNLCK ? task_tgid(current) : NULL; in fuse_setlk()
|