Searched refs:task_tgid (Results 1 – 17 of 17) sorted by relevance
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | scm.h | 85 scm_set_cred(scm, task_tgid(current), current_uid(), current_gid()); in scm_send()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | usermode_driver.c | 133 umd_info->tgid = get_pid(task_tgid(current)); in umd_setup()
|
| H A D | audit.c | 225 rc = (ac && ac->pid == task_tgid(task) ? 1 : 0); in auditd_test_task() 1269 struct pid *req_pid = task_tgid(current); in audit_receive_msg()
|
| /OK3568_Linux_fs/kernel/kernel/time/ |
| H 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() 895 task_tgid(tsk), cur_time); in check_cpu_itimer()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/ipc/ |
| H A D | sem.c | 1393 ipc_update_pid(&curr->sempid, task_tgid(current)); in semctl_setval() 1514 ipc_update_pid(&sma->sems[i].sempid, task_tgid(current)); in semctl_main() 2108 queue.pid = task_tgid(current); in do_semtimedop() 2415 ipc_update_pid(&semaphore->sempid, task_tgid(current)); in exit_sem()
|
| H A D | mqueue.c | 668 if (task_tgid(current) == info->notify_owner) in mqueue_flush_file() 1397 if (info->notify_owner == task_tgid(current)) { in do_mq_notify() 1423 info->notify_owner = get_pid(task_tgid(current)); in do_mq_notify()
|
| H A D | shm.c | 296 ipc_update_pid(&shp->shm_lprid, task_tgid(current)); in __shm_open() 383 ipc_update_pid(&shp->shm_lprid, task_tgid(current)); in shm_close() 761 shp->shm_cprid = get_pid(task_tgid(current)); in newseg()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/include/linux/sched/ |
| H A D | signal.h | 651 static inline struct pid *task_tgid(struct task_struct *task) in task_tgid() function
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/ |
| H A D | i8254.c | 677 pid = get_pid(task_tgid(current)); in kvm_create_pit()
|
| /OK3568_Linux_fs/kernel/fs/notify/fanotify/ |
| H A D | fanotify.c | 614 event->pid = get_pid(task_tgid(current)); in fanotify_alloc_event()
|
| /OK3568_Linux_fs/kernel/net/unix/ |
| H A D | af_unix.c | 602 sk->sk_peer_pid = get_pid(task_tgid(current)); in init_peercred() 1628 UNIXCB(skb).pid = get_pid(task_tgid(current)); in maybe_add_creds() 1645 scm->pid = get_pid(task_tgid(current)); in maybe_init_creds()
|
| /OK3568_Linux_fs/kernel/drivers/misc/genwqe/ |
| H A D | card_dev.c | 47 cfile->opener = get_pid(task_tgid(current)); in genwqe_add_file()
|
| /OK3568_Linux_fs/kernel/net/bluetooth/ |
| H A D | l2cap_sock.c | 190 sk->sk_peer_pid = get_pid(task_tgid(current)); in l2cap_sock_init_pid()
|
| /OK3568_Linux_fs/kernel/io_uring/ |
| H A D | io_uring.c | 292 pid_t task_tgid; member 7907 if (sqd->task_tgid != current->tgid) { in io_attach_sq_data() 8616 sqd->task_tgid = current->tgid; in io_sq_offload_create()
|
| /OK3568_Linux_fs/kernel/fs/fuse/ |
| H A D | file.c | 2501 struct pid *pid = fl->fl_type != F_UNLCK ? task_tgid(current) : NULL; in fuse_setlk()
|