/linux-master/virt/kvm/ |
H A D | kvm_main.c | 488 vcpu->pid = NULL; 513 * the vcpu->pid pointer, and at destruction time all file descriptors 516 put_pid(rcu_dereference_protected(vcpu->pid, 1)); 3968 struct pid *pid; local 3973 pid = rcu_dereference(target->pid); 3974 if (pid) 3975 task = get_pid_task(pid, PIDTYPE_PID); 4216 *val = pid_nr(rcu_dereference(vcpu->pid)); [all...] |
/linux-master/fs/smb/server/ |
H A D | smb2pdu.c | 5173 unsigned int id = KSMBD_NO_FID, pid = KSMBD_NO_FID; local 5187 pid = work->compound_pfid; 5193 pid = req->PersistentFileId; 5196 fp = ksmbd_lookup_fd_slow(work, id, pid); 5505 unsigned int id = KSMBD_NO_FID, pid = KSMBD_NO_FID; local 5533 pid = work->compound_pfid; 5539 pid = req->PersistentFileId; 5542 fp = ksmbd_lookup_fd_slow(work, id, pid); 6337 unsigned int id = KSMBD_NO_FID, pid = KSMBD_NO_FID; local 6348 pid 6562 unsigned int id = KSMBD_NO_FID, pid = KSMBD_NO_FID; local [all...] |
/linux-master/fs/smb/client/ |
H A D | trace.h | 613 __u32 pid, 616 TP_ARGS(cmd, mid, pid, when_sent, when_received), 620 __field(__u32, pid) 627 __entry->pid = pid; 631 TP_printk("\tcmd=%u mid=%llu pid=%u, when_sent=%lu when_rcv=%lu", 632 __entry->cmd, __entry->mid, __entry->pid, __entry->when_sent, 640 __u32 pid, \ 643 TP_ARGS(cmd, mid, pid, when_sent, when_received))
|
H A D | smb2transport.c | 752 temp->pid = current->pid;
|
H A D | smb2pdu.c | 4411 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); 4598 io_parms.pid = rdata->pid; 4848 .pid = wdata->pid, 4861 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); 5017 req->hdr.Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); 5466 u64 persistent_fid, u64 volatile_fid, u32 pid, 5480 req->hdr.Id.SyncId.ProcessId = cpu_to_le32(pid); 5515 u64 persistent_fid, u64 volatile_fid, u32 pid, u 5464 SMB2_set_info_init(struct cifs_tcon *tcon, struct TCP_Server_Info *server, struct smb_rqst *rqst, u64 persistent_fid, u64 volatile_fid, u32 pid, u8 info_class, u8 info_type, u32 additional_info, void **data, unsigned int *size) argument 5514 send_set_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, u32 pid, u8 info_class, u8 info_type, u32 additional_info, unsigned int num, void **data, unsigned int *size) argument 5587 SMB2_set_eof(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, u32 pid, loff_t new_eof) argument 5990 smb2_lockv(const unsigned int xid, struct cifs_tcon *tcon, const __u64 persist_fid, const __u64 volatile_fid, const __u32 pid, const __u32 num_lock, struct smb2_lock_element *buf) argument 6062 SMB2_lock(const unsigned int xid, struct cifs_tcon *tcon, const __u64 persist_fid, const __u64 volatile_fid, const __u32 pid, const __u64 length, const __u64 offset, const __u32 lock_flags, const bool wait) argument [all...] |
H A D | smb2ops.c | 1990 cfile->fid.volatile_fid, cfile->pid, size); 3228 cfile->fid.volatile_fid, cfile->pid, new_size); 3307 io_parms.pid = current->tgid; 3455 cfile->fid.volatile_fid, cfile->pid, new_eof); 3580 cfile->fid.volatile_fid, cfile->pid, new_eof); 3628 cfile->fid.volatile_fid, cfile->pid, new_eof); 5014 io_parms.pid = current->tgid;
|
H A D | cifsglob.h | 1367 __u32 pid; member in struct:cifsLockInfo 1434 __u32 pid; /* process id who opened file */ member in struct:cifsFileInfo 1465 __u32 pid; member in struct:cifs_io_parms 1506 pid_t pid; member in struct:cifs_readdata 1530 pid_t pid; member in struct:cifs_writedata 1711 __u32 pid; /* process id */ member in struct:mid_q_entry
|
/linux-master/drivers/android/ |
H A D | binder.c | 488 thread->pid == current->pid && !thread->process_todo) 688 current->pid, nice, min_nice); 692 binder_user_error("%d RLIMIT_NICE not set\n", current->pid); 785 proc->pid, current->pid, node->debug_id, 1126 proc->pid, new_ref->data.debug_id, new_ref->data.desc, 1138 ref->proc->pid, ref->data.debug_id, ref->data.desc, 1166 ref->proc->pid, ref->data.debug_id, 1221 ref->proc->pid, re 6424 int pid = (unsigned long)m->private; local [all...] |
/linux-master/tools/testing/selftests/ |
H A D | kselftest_harness.h | 875 pid_t pid; /* pid of test when being run */ member in struct:__test_metadata 952 kill(-(t->pid), SIGKILL); 974 waitpid(t->pid, &status, 0); 1179 t->pid = fork(); 1180 if (t->pid < 0) { 1183 } else if (t->pid == 0) {
|
/linux-master/tools/perf/util/bpf_skel/ |
H A D | lock_contention.bpf.c | 183 __u32 pid = bpf_get_current_pid_tgid(); local 185 ok = bpf_map_lookup_elem(&task_filter, &pid); 223 int pid, err; local 225 err = bpf_core_read(&pid, sizeof(pid), &task->pid); 229 p = bpf_map_lookup_elem(&task_data, &pid); 234 if (bpf_map_update_elem(&task_data, &pid, &data, BPF_NOEXIST) == -E2BIG) 322 __u32 pid; local 337 pid 409 __u32 pid = 0, idx = 0; local [all...] |
/linux-master/tools/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 44 __u64 pid; member in struct:kvm_regs
|
/linux-master/net/unix/ |
H A D | af_unix.c | 687 struct pid *old_pid; 703 struct pid *old_pid; 1874 scm.pid = UNIXCB(skb).pid; 1888 UNIXCB(skb).pid = get_pid(scm->pid); 1918 if (UNIXCB(skb).pid) 1921 UNIXCB(skb).pid = get_pid(task_tgid(current)); 1929 return UNIXCB(skb).pid == scm->pid [all...] |
/linux-master/net/bridge/ |
H A D | br_private.h | 2105 int br_getlink(struct sk_buff *skb, u32 pid, u32 seq, struct net_device *dev,
|
/linux-master/mm/ |
H A D | page_owner.c | 33 pid_t pid; member in struct:page_owner 242 pid_t pid, pid_t tgid, char *comm) 253 page_owner->pid = pid; 267 pid_t pid, pid_t tgid, 281 page_owner->free_pid = current->pid; 303 __update_page_owner_free_handle(page_ext, handle, order, current->pid, 331 current->pid, current->tgid, ts_nsec, 392 old_page_owner->ts_nsec, old_page_owner->pid, 554 "Page allocated via order %u, mask %#x(%pGg), pid 237 __update_page_owner_handle(struct page_ext *page_ext, depot_stack_handle_t handle, unsigned short order, gfp_t gfp_mask, short last_migrate_reason, u64 ts_nsec, pid_t pid, pid_t tgid, char *comm) argument 264 __update_page_owner_free_handle(struct page_ext *page_ext, depot_stack_handle_t handle, unsigned short order, pid_t pid, pid_t tgid, u64 free_ts_nsec) argument [all...] |
H A D | memory-failure.c | 347 pfn, t->comm, t->pid); 365 t->comm, t->pid, ret); 536 pfn, tk->tsk->comm, tk->tsk->pid); 549 pfn, tk->tsk->comm, tk->tsk->pid);
|
H A D | hugetlb.c | 6235 current->pid);
|
H A D | huge_memory.c | 3425 static int split_huge_pages_pid(int pid, unsigned long vaddr_start, argument 3437 /* Find the task_struct from pid */ 3439 task = find_task_by_vpid(pid); 3457 pr_debug("Split huge pages in pid: %d, vaddr: [0x%lx - 0x%lx]\n", 3458 pid, vaddr_start, vaddr_end); 3591 * hold pid, start_vaddr, end_vaddr, new_order or 3595 int pid; local 3638 ret = sscanf(input_buf, "%d,0x%lx,0x%lx,%d", &pid, &vaddr_start, &vaddr_end, &new_order); 3639 if (ret == 1 && pid == 1) { 3648 ret = split_huge_pages_pid(pid, vaddr_star [all...] |
/linux-master/kernel/ |
H A D | fork.c | 1396 * This changes mm's executable file (shown as symlink /proc/[pid]/exe). 1437 * This changes mm's executable file (shown as symlink /proc/[pid]/exe). 1962 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) argument 1965 task->thread_pid = pid; 1967 task->signal->pids[type] = pid; 1994 * @pid: the struct pid for which to create a pidfd 1998 * Allocate a new file that stashes @pid and reserve a new pidfd number in the 2001 * The helper doesn't perform checks on @pid whic 2020 __pidfd_prepare(struct pid *pid, unsigned int flags, struct file **ret) argument 2070 pidfd_prepare(struct pid *pid, unsigned int flags, struct file **ret) argument 2134 copy_process( struct pid *pid, int trace, int node, struct kernel_clone_args *args) argument 2760 struct pid *pid; local [all...] |
/linux-master/init/ |
H A D | main.c | 696 int pid; local 700 * We need to spawn init first so that it obtains pid 1, however 704 pid = user_mode_thread(kernel_init, NULL, CLONE_FS); 711 tsk = find_task_by_pid_ns(pid, &init_pid_ns); 717 pid = kernel_thread(kthreadd, NULL, NULL, CLONE_FS | CLONE_FILES); 719 kthreadd_task = find_task_by_pid_ns(pid, &init_pid_ns);
|
/linux-master/fs/fuse/ |
H A D | file.c | 2611 * Convert pid into init's pid namespace. The locks API will 2612 * translate it into the caller's pid namespace. 2615 fl->c.flc_pid = pid_nr_ns(find_pid_ns(ffl->pid, fc->pid_ns), &init_pid_ns); 2627 const struct file_lock *fl, int opcode, pid_t pid, 2640 inarg->lk.pid = pid; 2677 struct pid *pid = fl->c.flc_type != F_UNLCK ? task_tgid(current) : NULL; local 2678 pid_t pid_nr = pid_nr_ns(pid, f 2626 fuse_lk_fill(struct fuse_args *args, struct file *file, const struct file_lock *fl, int opcode, pid_t pid, int flock, struct fuse_lk_in *inarg) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 4921 static int mlx5e_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, argument 4934 return ndo_dflt_bridge_getlink(skb, pid, seq, dev,
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_gem.c | 279 struct pid *pid; local 283 * Although we have a valid reference on file->pid, that does 289 pid = rcu_dereference(file->pid); 290 task = pid_task(pid, PIDTYPE_TGID); 291 seq_printf(m, "pid %8d command %s:\n", pid_nr(pid),
|
H A D | vmwgfx_drv.h | 646 * mksGuestStat instance-descriptor and pid arrays 1376 int vmw_mksstat_get_kern_slot(pid_t pid, struct vmw_private *dev_priv);
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_process.c | 502 /* Create proc/<pid>/queues/<queue id> folder */ 508 pr_warn("Creating proc/<pid>/queues/%u failed", 545 * - proc/<pid>/stats_<gpuid>/ 546 * - proc/<pid>/stats_<gpuid>/evicted_ms 547 * - proc/<pid>/stats_<gpuid>/cu_occupancy 592 * - proc/<pid>/counters_<gpuid>/ 593 * - proc/<pid>/counters_<gpuid>/faults 594 * - proc/<pid>/counters_<gpuid>/page_in 595 * - proc/<pid>/counters_<gpuid>/page_out 635 * - proc/<pid>/vram 927 kfd_lookup_process_by_pid(struct pid *pid) argument [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm.c | 520 pr_warn_ratelimited("pid %d\n", ti->pid); 2339 if (vm->task_info->pid == current->pid) 2342 vm->task_info->pid = current->pid; 2348 vm->task_info->tgid = current->group_leader->pid;
|