Home
last modified time | relevance | path

Searched refs:get_pid (Results 1 – 25 of 33) 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.c503 pid = get_pid(rcu_dereference(*task_pid_ptr(task, type)));
526 pid = get_pid(find_vpid(nr)); in task_active_pid_ns()
595 get_pid(pid); in pidfd_get_task()
/linux/tools/mm/
H A Dpage_owner_sort.c315 static pid_t get_pid(char *buf) in get_pid() function
455 if ((filter & FILTER_PID) && !match_num_list(get_pid(buf), fc.pids, fc.pids_size)) in is_need()
480 list[list_size].pid = get_pid(buf); in add_list()
/linux/drivers/gpu/host1x/
H A Dcontext.c153 free->owner = get_pid(pid); in host1x_memory_context_alloc()
/linux/security/landlock/
H A Ddomain.c103 details->pid = get_pid(task_tgid(current)); in get_current_details()
/linux/ipc/
H A Dutil.h189 *pos = get_pid(pid); in ipc_update_pid()
/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.c841 return get_pid(pid); in pidfs_ino_get_pid()
1100 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/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.c502 new_timer->it_pid = get_pid(good_sigevent(event)); in do_timer_create()
514 new_timer->it_pid = get_pid(task_tgid(current)); in do_timer_create()
/linux/drivers/s390/char/
H A Dfs3270.c455 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/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c73 submit->pid = get_pid(task_pid(current)); in submit_create()
H A Dmsm_gpu.c967 to_msm_vm(vm)->pid = get_pid(task_pid(task)); in msm_gpu_create_private_vm()
/linux/arch/x86/kvm/
H A Di8254.c749 pid = get_pid(task_tgid(current)); in kvm_create_pit()
/linux/net/unix/
H A Daf_unix.c752 peercred->peer_pid = get_pid(pid); in prepare_peercred()
799 sk->sk_peer_pid = get_pid(peersk->sk_peer_pid); in copy_peercred()
1982 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb()
2029 UNIXCB(skb).pid = get_pid(pid); in unix_maybe_add_creds()
/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()
1932 as->pid = get_pid(task_pid(current)); in proc_do_submiturb()
/linux/init/
H A Dmain.c1673 cad_pid = get_pid(task_pid(current)); in kernel_init_freeable()
/linux/fs/gfs2/
H A Dglock.c1187 gh->gh_owner_pid = get_pid(task_pid(current)); in __gfs2_holder_init()
1210 gh->gh_owner_pid = get_pid(task_pid(current)); in gfs2_holder_reinit()
/linux/drivers/misc/genwqe/
H A Dcard_dev.c47 cfile->opener = get_pid(task_tgid(current)); in genwqe_add_file()
/linux/sound/core/
H A Dpcm.c971 substream->pid = get_pid(task_pid(current)); in snd_pcm_attach_substream()

12