/linux-master/kernel/ |
H A D | pid.c | 9 * pid-structures are backing objects for tasks sharing a given ID to chain 49 struct pid init_struct_pid = { 112 void put_pid(struct pid *pid) argument 116 if (!pid) 119 ns = pid->numbers[pid->level].ns; 120 if (refcount_dec_and_test(&pid->count)) { 121 kmem_cache_free(ns->pid_cachep, pid); 129 struct pid *pi local 133 free_pid(struct pid *pid) argument 169 struct pid *pid; local 342 struct pid *pid = *task_pid_ptr(task, type); local 350 struct pid *pid; local 375 change_pid(struct task_struct *task, enum pid_type type, struct pid *pid) argument 409 pid_task(struct pid *pid, enum pid_type type) argument 453 struct pid *pid; local 461 get_pid_task(struct pid *pid, enum pid_type type) argument 475 struct pid *pid; local 485 pid_nr_ns(struct pid *pid, struct pid_namespace *ns) argument 499 pid_vnr(struct pid *pid) argument 540 struct pid *pid; local 571 struct pid *pid; local 603 pidfd_create(struct pid *pid, unsigned int flags) argument 709 pidfd_getfd(struct pid *pid, int fd) argument 749 struct pid *pid; local [all...] |
H A D | crash_core.c | 87 if (in_interrupt() || !p->pid || is_global_init(p) || panic_on_oops) 435 prstatus.common.pr_pid = current->pid;
|
H A D | Makefile | 9 signal.o sys.o umh.o workqueue.o pid.o task_work.o \
|
/linux-master/kernel/events/ |
H A D | uprobes.c | 1778 current->comm, current->pid, msg); 1872 " nestedness limit pid/tgid=%d/%d\n", 1873 current->pid, current->tgid);
|
/linux-master/include/uapi/linux/ |
H A D | fanotify.h | 57 #define FAN_REPORT_PIDFD 0x00000080 /* Report pidfd for event->pid */ 58 #define FAN_REPORT_TID 0x00000100 /* event->pid is thread id */ 137 __s32 pid; member in struct:fanotify_event_metadata 178 * It holds a pidfd for the pid that was responsible for generating an event.
|
/linux-master/include/trace/events/ |
H A D | oom.h | 19 __field( pid_t, pid) 25 __entry->pid = task->pid; 30 TP_printk("pid=%d comm=%s oom_score_adj=%hd", 31 __entry->pid, __entry->comm, __entry->oom_score_adj) 82 __field(int, pid) 94 __entry->pid = task->pid; 105 TP_printk("pid=%d comm=%s total-vm=%lukB anon-rss=%lukB file-rss:%lukB shmem-rss:%lukB uid=%u pgtables=%lukB oom_score_adj=%hd", 106 __entry->pid, [all...] |
/linux-master/include/sound/ |
H A D | pcm.h | 452 struct pid; 484 struct pid *pid; member in struct:snd_pcm_substream
|
/linux-master/include/linux/ |
H A D | syscalls.h | 541 asmlinkage long sys_waitid(int which, pid_t pid, 552 asmlinkage long sys_get_robust_list(int pid, 620 asmlinkage long sys_ptrace(long request, long pid, unsigned long addr, 622 asmlinkage long sys_sched_setparam(pid_t pid, 624 asmlinkage long sys_sched_setscheduler(pid_t pid, int policy, 626 asmlinkage long sys_sched_getscheduler(pid_t pid); 627 asmlinkage long sys_sched_getparam(pid_t pid, 629 asmlinkage long sys_sched_setaffinity(pid_t pid, unsigned int len, 631 asmlinkage long sys_sched_getaffinity(pid_t pid, unsigned int len, 636 asmlinkage long sys_sched_rr_get_interval(pid_t pid, [all...] |
H A D | pid.h | 13 * What is struct pid? 15 * A struct pid is the kernel's internal notion of a process identifier. 17 * there are processes attached to it the struct pid lives in a hash 19 * quickly from the numeric pid value. The attached processes may be 20 * quickly accessed by following pointers from struct pid. 23 * problem. The process originally with that pid may have exited and the 24 * pid allocator wrapped, and another process could have come along 25 * and been assigned that pid. 32 * a struct pid is about 64 bytes. 34 * Holding a reference to struct pid solve 55 struct pid struct 81 get_pid(struct pid *pid) argument 90 pid_has_task(struct pid *pid, enum pid_type type) argument 145 ns_of_pid(struct pid *pid) argument 159 is_child_reaper(struct pid *pid) argument 175 pid_nr(struct pid *pid) argument 299 pid_t pid = 0; local [all...] |
H A D | pidfs.h | 5 struct file *pidfs_alloc_file(struct pid *pid, unsigned int flags);
|
H A D | damon.h | 80 * @pid: The PID of the virtual address space to monitor. 87 * @pid should be set for appropriate &struct damon_operations including the 91 struct pid *pid; member in struct:damon_target
|
/linux-master/include/linux/platform_data/ |
H A D | cros_ec_commands.h | 5141 uint16_t pid; /* USB-IF PID */ member in struct:ec_params_usb_pd_discovery_entry
|
/linux-master/fs/smb/client/ |
H A D | smb2proto.h | 231 u64 persistent_fid, u64 volatile_fid, u32 pid, 236 u64 persistent_fid, u64 volatile_fid, u32 pid, 266 const __u32 pid, const __u64 length, const __u64 offset, 270 const __u32 pid, const __u32 num_lock,
|
/linux-master/fs/ |
H A D | pidfs.c | 7 #include <linux/pid.h> 26 * This function will print the pid that a given pidfd refers to in the 27 * pid namespace of the procfs instance. 28 * If the pid namespace of the process is not a descendant of the pid 29 * namespace of the procfs instance 0 will be shown as its pid. This is 31 * its pid namespace. 34 * If pid namespaces are supported then this function will also print 35 * the pid of a given pidfd refers to for all descendant pid namespace 57 struct pid *pid = pidfd_pid(f); local 91 struct pid *pid = pidfd_pid(file); local 134 pidfs_inum(struct pid *pid, unsigned long *ino) argument 153 pidfs_inum(struct pid *pid, unsigned long *ino) argument 189 struct pid *pid = inode->i_private; local 205 struct pid *pid = inode->i_private; local 233 struct pid *pid = data; local 262 pidfs_alloc_file(struct pid *pid, unsigned int flags) argument [all...] |
/linux-master/fs/ocfs2/ |
H A D | dlmglue.c | 812 struct pid *pid) 818 if (oh->oh_owner_pid == pid) { 2681 struct pid *pid = task_pid(current); local 2685 tmp_oh = ocfs2_pid_holder(lockres, pid); 811 ocfs2_pid_holder(struct ocfs2_lock_res *lockres, struct pid *pid) argument
|
/linux-master/fs/notify/fanotify/ |
H A D | fanotify.c | 136 old->type != new->type || old->pid != new->pid) 725 struct pid *pid; local 822 pid = get_pid(task_pid(current)); 824 pid = get_pid(task_tgid(current)); 826 /* Mix event info, FAN_ONDIR flag and pid into event merge key */ 827 hash ^= hash_long((unsigned long)pid | ondir, FANOTIFY_EVENT_HASH_BITS); 829 event->pid = pid; [all...] |
/linux-master/fs/ext2/ |
H A D | inode.c | 316 colour = (current->pid % 16) *
|
/linux-master/drivers/net/ethernet/sun/ |
H A D | niu.c | 6919 static void niu_ethflow_to_l3proto(int flow_type, u8 *pid) argument 6924 *pid = IPPROTO_TCP; 6928 *pid = IPPROTO_UDP; 6932 *pid = IPPROTO_SCTP; 6936 *pid = IPPROTO_AH; 6940 *pid = IPPROTO_ESP; 6943 *pid = 0; 7363 u8 pid = 0; local 7398 niu_ethflow_to_l3proto(fsp->flow_type, &pid); 7407 niu_ethflow_to_l3proto(fsp->flow_type, &pid); [all...] |
/linux-master/drivers/media/common/siano/ |
H A D | smsdvb-main.c | 682 pr_debug("add pid %d(%x)\n", 683 feed->pid, feed->pid); 692 pid_msg.msg_data[0] = feed->pid; 704 pr_debug("remove pid %d(%x)\n", 705 feed->pid, feed->pid); 714 pid_msg.msg_data[0] = feed->pid;
|
/linux-master/drivers/hid/ |
H A D | wacom_wac.c | 3334 int pid, battery, charging; local 3345 pid = get_unaligned_be16(&data[6]); 3348 if (wacom->pid != pid) { 3349 wacom->pid = pid; 3356 } else if (wacom->pid != 0) { 3358 wacom->pid = 0;
|
H A D | wacom_wac.h | 354 int pid; member in struct:wacom_wac
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon.h | 507 pid_t pid; member in struct:radeon_bo
|
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_trace.h | 107 TP_PROTO(int pid, const char *name, bool trace_begin), 108 TP_ARGS(pid, name, trace_begin), 110 __field(int, pid) 115 __entry->pid = pid; 120 __entry->pid, __get_str(trace_name)) 124 TP_PROTO(int pid, char *name, int value), 125 TP_ARGS(pid, name, value), 127 __field(int, pid) 132 __entry->pid [all...] |
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_sched.c | 293 dev_info(dev->dev, "fail to save task state from %s pid %d: " 294 "error task list is full\n", ctx->pname, ctx->pid); 302 /* pid chunk */ 346 pid_chunk->pid = ctx->pid;
|
H A D | lima_ctx.h | 19 pid_t pid; member in struct:lima_ctx
|