Home
last modified time | relevance | path

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

12

/linux-6.15/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()
/linux-6.15/kernel/
H A Dpid.c463 pid = get_pid(rcu_dereference(*task_pid_ptr(task, type))); in get_task_pid()
486 pid = get_pid(find_vpid(nr)); in find_get_pid()
555 get_pid(pid); in pidfd_get_pid()
H A Dusermode_driver.c133 umd_info->tgid = get_pid(task_tgid(current)); in umd_setup()
/linux-6.15/drivers/gpu/host1x/
H A Dcontext.c153 free->owner = get_pid(pid); in host1x_memory_context_alloc()
/linux-6.15/security/landlock/
H A Ddomain.c103 details->pid = get_pid(task_tgid(current)); in get_current_details()
/linux-6.15/drivers/tty/vt/
H A 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()
778 vc->vt_pid = get_pid(task_pid(current)); in vt_ioctl()
/linux-6.15/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-6.15/include/net/
H A Dscm.h72 scm->pid = get_pid(pid); in scm_set_cred()
/linux-6.15/ipc/
H A Dutil.h189 *pos = get_pid(pid); in ipc_update_pid()
/linux-6.15/include/linux/
H A Dpid.h83 static inline struct pid *get_pid(struct pid *pid) in get_pid() function
/linux-6.15/fs/
H A Dpidfs.c709 return get_pid(pid); in pidfs_ino_get_pid()
883 ret = path_from_stashed(&pid->stashed, pidfs_mnt, get_pid(pid), &path); in pidfs_alloc_file()
/linux-6.15/drivers/gpu/drm/
H A Ddrm_file.c143 rcu_assign_pointer(file->pid, get_pid(task_tgid(current))); in drm_file_alloc()
464 get_pid(pid); in drm_file_update_pid()
/linux-6.15/net/bluetooth/
H A Daf_bluetooth.c163 sk->sk_peer_pid = get_pid(task_tgid(current)); in bt_sock_alloc()
233 sk->sk_peer_pid = get_pid(parent->sk_peer_pid); in bt_accept_enqueue()
/linux-6.15/fs/proc/
H A Darray.c743 pid = get_pid(task_pid(task)); in get_children_pid()
765 pid = get_pid(task_pid(task)); in get_children_pid()
/linux-6.15/drivers/infiniband/core/
H A Dumem_odp.c196 odp_data->tgid = get_pid(root->tgid); in ib_umem_odp_alloc_child()
/linux-6.15/fs/notify/fanotify/
H A Dfanotify.c861 pid = get_pid(task_pid(current)); in fanotify_alloc_event()
863 pid = get_pid(task_tgid(current)); in fanotify_alloc_event()
/linux-6.15/drivers/s390/char/
H A Dfs3270.c459 fp->fs_pid = get_pid(task_pid(current)); in fs3270_open()
/linux-6.15/kernel/time/
H A Dposix-timers.c518 new_timer->it_pid = get_pid(good_sigevent(event)); in do_timer_create()
530 new_timer->it_pid = get_pid(task_tgid(current)); in do_timer_create()
/linux-6.15/arch/x86/kvm/
H A Di8254.c680 pid = get_pid(task_tgid(current)); in kvm_create_pit()
/linux-6.15/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem_submit.c425 struct pid *pid = get_pid(task_pid(current)); in etnaviv_ioctl_gem_submit()
/linux-6.15/net/unix/
H A Daf_unix.c739 sk->sk_peer_pid = get_pid(task_tgid(current)); in init_peercred()
763 sk->sk_peer_pid = get_pid(peersk->sk_peer_pid); in copy_peercred()
1876 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb()
1909 UNIXCB(skb).pid = get_pid(task_tgid(current)); in maybe_add_creds()
/linux-6.15/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c70 submit->pid = get_pid(task_pid(current)); in submit_create()
H A Dmsm_gpu.c846 aspace->pid = get_pid(task_pid(task)); in msm_gpu_create_private_address_space()
/linux-6.15/init/
H A Dmain.c1548 cad_pid = get_pid(task_pid(current)); in kernel_init_freeable()
/linux-6.15/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