Home
last modified time | relevance | path

Searched refs:get_pid (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.6.21/drivers/tty/
Dtty_jobctrl.c109 tty->ctrl.pgrp = get_pid(task_pgrp(current)); in __proc_set_tty()
110 tty->ctrl.session = get_pid(task_session(current)); in __proc_set_tty()
222 tty_pgrp = get_pid(tty->ctrl.pgrp); in tty_signal_session_leader()
225 get_pid(tty->ctrl.pgrp); in tty_signal_session_leader()
427 pgrp = get_pid(tty->ctrl.pgrp); in tty_get_pgrp()
526 real_tty->ctrl.pgrp = get_pid(pgrp); in tiocspgrp()
/linux-6.6.21/kernel/
Dpid.c445 pid = get_pid(rcu_dereference(*task_pid_ptr(task, type))); in get_task_pid()
468 pid = get_pid(find_vpid(nr)); in find_get_pid()
538 get_pid(pid); in pidfd_get_pid()
Dusermode_driver.c133 umd_info->tgid = get_pid(task_tgid(current)); in umd_setup()
/linux-6.6.21/include/linux/
Dpid.h85 static inline struct pid *get_pid(struct pid *pid) in get_pid() function
/linux-6.6.21/drivers/gpu/host1x/
Dcontext.c152 free->owner = get_pid(pid); in host1x_memory_context_alloc()
/linux-6.6.21/drivers/tty/vt/
Dvt_ioctl.c462 vt_spawn_con.pid = get_pid(task_pid(current)); in vt_k_ioctl()
619 nvc->vt_pid = get_pid(task_pid(current)); in vt_setactivate()
779 vc->vt_pid = get_pid(task_pid(current)); in vt_ioctl()
/linux-6.6.21/tools/mm/
Dpage_owner_sort.c313 static pid_t get_pid(char *buf) in get_pid() function
481 if ((filter & FILTER_PID) && !match_num_list(get_pid(buf), fc.pids, fc.pids_size)) in is_need()
513 list[list_size].pid = get_pid(buf); in add_list()
/linux-6.6.21/include/net/
Dscm.h60 scm->pid = get_pid(pid); in scm_set_cred()
/linux-6.6.21/ipc/
Dutil.h188 *pos = get_pid(pid); in ipc_update_pid()
/linux-6.6.21/net/bluetooth/
Daf_bluetooth.c163 sk->sk_peer_pid = get_pid(task_tgid(current)); in bt_sock_alloc()
211 sk->sk_peer_pid = get_pid(parent->sk_peer_pid); in bt_accept_enqueue()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_file.c163 rcu_assign_pointer(file->pid, get_pid(task_tgid(current))); in drm_file_alloc()
536 get_pid(pid); in drm_file_update_pid()
/linux-6.6.21/fs/proc/
Darray.c736 pid = get_pid(task_pid(task)); in get_children_pid()
758 pid = get_pid(task_pid(task)); in get_children_pid()
/linux-6.6.21/fs/notify/fanotify/
Dfanotify.c826 pid = get_pid(task_pid(current)); in fanotify_alloc_event()
828 pid = get_pid(task_tgid(current)); in fanotify_alloc_event()
/linux-6.6.21/drivers/infiniband/core/
Dumem_odp.c194 odp_data->tgid = get_pid(root->tgid); in ib_umem_odp_alloc_child()
/linux-6.6.21/drivers/s390/char/
Dfs3270.c459 fp->fs_pid = get_pid(task_pid(current)); in fs3270_open()
/linux-6.6.21/kernel/time/
Dposix-timers.c480 new_timer->it_pid = get_pid(good_sigevent(event)); in do_timer_create()
494 new_timer->it_pid = get_pid(task_tgid(current)); in do_timer_create()
/linux-6.6.21/arch/x86/kvm/
Di8254.c680 pid = get_pid(task_tgid(current)); in kvm_create_pit()
/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_gem_submit.c426 struct pid *pid = get_pid(task_pid(current)); in etnaviv_ioctl_gem_submit()
/linux-6.6.21/net/unix/
Daf_unix.c693 sk->sk_peer_pid = get_pid(task_tgid(current)); in init_peercred()
715 sk->sk_peer_pid = get_pid(peersk->sk_peer_pid); in copy_peercred()
1826 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb()
1859 UNIXCB(skb).pid = get_pid(task_tgid(current)); in maybe_add_creds()
/linux-6.6.21/init/
Dmain.c1532 cad_pid = get_pid(task_pid(current)); in kernel_init_freeable()
/linux-6.6.21/fs/
Dfcntl.c95 filp->f_owner.pid = get_pid(pid); in f_modown()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gem_submit.c64 submit->pid = get_pid(task_pid(current)); in submit_create()
Dmsm_gpu.c833 aspace->pid = get_pid(task_pid(task)); in msm_gpu_create_private_address_space()
/linux-6.6.21/drivers/usb/core/
Ddevio.c637 pid = get_pid(as->pid); in async_completed()
1069 ps->disc_pid = get_pid(task_pid(current)); in usbdev_open()
1930 as->pid = get_pid(task_pid(current)); in proc_do_submiturb()
/linux-6.6.21/drivers/misc/genwqe/
Dcard_dev.c47 cfile->opener = get_pid(task_tgid(current)); in genwqe_add_file()

12