Home
last modified time | relevance | path

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

/linux/io_uring/
H A Dsqpoll.h17 pid_t task_tgid; member
H A Dsqpoll.c132 if (sqd->task_tgid != current->tgid) in io_attach_sq_data()
516 sqd->task_tgid = current->tgid; in io_sq_offload_create()
/linux/include/net/
H A Dscm.h98 scm_set_cred(scm, task_tgid(current), current_uid(), current_gid()); in scm_send()
/linux/security/landlock/
H A Ddomain.c103 details->pid = get_pid(task_tgid(current)); in get_current_details()
/linux/drivers/gpu/drm/
H A Ddrm_file.c145 rcu_assign_pointer(file->pid, get_pid(task_tgid(current))); in drm_file_alloc()
468 pid = task_tgid(current); in drm_file_update_pid()
H A Ddrm_auth.c236 rcu_access_pointer(file_priv->pid) == task_tgid(current)) in drm_master_check_perm()
/linux/ipc/
H A 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()
H A Dmqueue.c663 if (task_tgid(current) == info->notify_owner) in mqueue_flush_file()
1337 if (info->notify_owner == task_tgid(current)) { in do_mq_notify()
1364 info->notify_owner = get_pid(task_tgid(current)); in do_mq_notify()
H A Dshm.c297 ipc_update_pid(&shp->shm_lprid, task_tgid(current)); in __shm_open()
387 ipc_update_pid(&shp->shm_lprid, task_tgid(current)); in __shm_close()
770 shp->shm_cprid = get_pid(task_tgid(current)); in newseg()
H A 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/kernel/time/
H A Dposix-timers.c393 struct pid *pid = task_tgid(current); in posixtimer_create_prctl()
514 new_timer->it_pid = get_pid(task_tgid(current)); in do_timer_create()
/linux/fs/
H A Dcoredump.c455 cprm->pid = task_tgid(current); in coredump_parse()
700 cprm->pid = task_tgid(current); in coredump_sock_connect()
/linux/net/bluetooth/
H A Daf_bluetooth.c166 sk->sk_peer_pid = get_pid(task_tgid(current)); in bt_sock_alloc()
/linux/arch/x86/kvm/
H A Di8254.c749 pid = get_pid(task_tgid(current)); in kvm_create_pit()
/linux/kernel/
H A Daudit.c237 rc = (ac && ac->pid == task_tgid(task) ? 1 : 0); in auditd_test_task()
1317 struct pid *req_pid = task_tgid(current); in audit_receive_msg()
/linux/drivers/misc/genwqe/
H A Dcard_dev.c47 cfile->opener = get_pid(task_tgid(current)); in genwqe_add_file()
/linux/fs/notify/fanotify/
H A Dfanotify_user.c859 task_tgid(current) != event->pid) in copy_event_to_user()
/linux/net/unix/
H A Daf_unix.c749 pid = task_tgid(current); in prepare_peercred()
2026 pid = task_tgid(current); in unix_maybe_add_creds()
/linux/fs/fuse/
H A Dfile.c2512 struct pid *pid = fl->c.flc_type != F_UNLCK ? task_tgid(current) : NULL; in fuse_setlk()