Home
last modified time | relevance | path

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

12

/linux/drivers/tty/
H A 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()
H A Dtty_io.c2235 get_pid(pid); in __tty_fasync()
3023 session = get_pid(tty->ctrl.session); in __do_SAK()
/linux/include/net/
H A Dscm.h72 scm->pid = get_pid(pid); in scm_set_cred()
/linux/kernel/
H A Dpid.c460 pid = get_pid(rcu_dereference(*task_pid_ptr(task, type))); in get_task_pid()
483 pid = get_pid(find_vpid(nr)); in find_get_pid()
553 get_pid(pid); in pidfd_get_pid()
/linux/drivers/tty/vt/
H A Dvt_ioctl.c460 vt_spawn_con.pid = get_pid(task_pid(current)); in vt_k_ioctl()
615 nvc->vt_pid = get_pid(task_pid(current)); in vt_setactivate()
770 vc->vt_pid = get_pid(task_pid(current)); in vt_ioctl()
/linux/tools/mm/
H A Dpage_owner_sort.c313 static pid_t get_pid(char *buf) in get_pid() function
453 if ((filter & FILTER_PID) && !match_num_list(get_pid(buf), fc.pids, fc.pids_size)) in is_need()
478 list[list_size].pid = get_pid(buf); in add_list()
/linux/security/landlock/
H A Ddomain.c103 details->pid = get_pid(task_tgid(current)); in get_current_details()
/linux/drivers/gpu/host1x/
H A Dcontext.c153 free->owner = get_pid(pid); in host1x_memory_context_alloc()
/linux/ipc/
H A Dutil.h189 *pos = get_pid(pid); in ipc_update_pid()
/linux/include/linux/
H A Dpid.h87 static inline struct pid *get_pid(struct pid *pid) in get_pid() function
/linux/drivers/gpu/drm/
H A Ddrm_file.c145 rcu_assign_pointer(file->pid, get_pid(task_tgid(current))); in drm_file_alloc()
476 get_pid(pid); in drm_file_update_pid()
/linux/net/bluetooth/
H A Daf_bluetooth.c166 sk->sk_peer_pid = get_pid(task_tgid(current)); in bt_sock_alloc()
236 sk->sk_peer_pid = get_pid(parent->sk_peer_pid); in bt_accept_enqueue()
/linux/fs/
H A Dpidfs.c794 return get_pid(pid); in pidfs_ino_get_pid()
1052 ret = path_from_stashed(&pid->stashed, pidfs_mnt, get_pid(pid), &path); in pidfs_alloc_file()
H A Dfcntl.c139 f_owner->pid = get_pid(pid); in __f_setown()
/linux/fs/proc/
H A Darray.c741 pid = get_pid(task_pid(task)); in get_children_pid()
763 pid = get_pid(task_pid(task)); in get_children_pid()
/linux/fs/notify/fanotify/
H A Dfanotify.c867 pid = get_pid(task_pid(current)); in fanotify_alloc_event()
869 pid = get_pid(task_tgid(current)); in fanotify_alloc_event()
/linux/drivers/infiniband/core/
H A Dumem_odp.c205 odp_data->tgid = get_pid(root->tgid); in ib_umem_odp_alloc_child()
/linux/kernel/time/
H A Dposix-timers.c509 new_timer->it_pid = get_pid(good_sigevent(event)); in do_timer_create()
521 new_timer->it_pid = get_pid(task_tgid(current)); in do_timer_create()
/linux/drivers/s390/char/
H A Dfs3270.c459 fp->fs_pid = get_pid(task_pid(current)); in fs3270_open()
/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem_submit.c425 struct pid *pid = get_pid(task_pid(current)); in etnaviv_ioctl_gem_submit()
/linux/arch/x86/kvm/
H A Di8254.c749 pid = get_pid(task_tgid(current)); in kvm_create_pit()
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c73 submit->pid = get_pid(task_pid(current)); in submit_create()
/linux/net/unix/
H A Daf_unix.c764 peercred->peer_pid = get_pid(pid); in prepare_peercred()
811 sk->sk_peer_pid = get_pid(peersk->sk_peer_pid); in copy_peercred()
2008 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb()
2055 UNIXCB(skb).pid = get_pid(pid); in unix_maybe_add_creds()
/linux/init/
H A Dmain.c1574 cad_pid = get_pid(task_pid(current)); in kernel_init_freeable()
/linux/drivers/usb/core/
H A Ddevio.c640 pid = get_pid(as->pid); in async_completed()
1072 ps->disc_pid = get_pid(task_pid(current)); in usbdev_open()
1933 as->pid = get_pid(task_pid(current)); in proc_do_submiturb()

12