Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 25 of 108) sorted by relevance

12345

/include/linux/
Dpid.h55 struct pid struct
71 extern struct pid init_struct_pid; argument
75 struct pid *pidfd_pid(const struct file *file);
76 struct pid *pidfd_get_pid(unsigned int fd, unsigned int *flags);
78 int pidfd_prepare(struct pid *pid, unsigned int flags, struct file **ret);
81 static inline struct pid *get_pid(struct pid *pid) in get_pid() argument
83 if (pid) in get_pid()
84 refcount_inc(&pid->count); in get_pid()
85 return pid; in get_pid()
88 extern void put_pid(struct pid *pid);
[all …]
Dpidfs.h5 struct file *pidfs_alloc_file(struct pid *pid, unsigned int flags);
Dagpgart.h64 pid_t pid; /* pid of process */ member
92 pid_t pid; member
100 pid_t pid; member
Dposix-timers.h15 static inline clockid_t make_process_cpuclock(const unsigned int pid, in make_process_cpuclock() argument
18 return ((~pid) << 3) | clock; in make_process_cpuclock()
50 struct pid *pid; member
175 struct pid *it_pid;
Dseccomp.h110 struct pid;
113 struct pid *pid, struct task_struct *task);
Drtnetlink.h13 extern int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo);
16 u32 pid, u32 group, int echo) in rtnetlink_maybe_send() argument
18 return !skb ? 0 : rtnetlink_send(skb, net, pid, group, echo); in rtnetlink_maybe_send()
21 extern int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid);
22 extern void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid,
146 extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq,
Dcpufreq_times.h27 struct pid *pid, struct task_struct *p);
Dproc_fs.h85 extern void proc_flush_pid(struct pid *);
151 extern struct pid *tgid_pidfd_to_pid(const struct file *file);
163 struct pid *pid, struct task_struct *task);
175 static inline void proc_flush_pid(struct pid *pid) in proc_flush_pid() argument
224 static inline struct pid *tgid_pidfd_to_pid(const struct file *file) in tgid_pidfd_to_pid()
Dusermode_driver.h12 struct pid *tgid;
/include/trace/events/
Doom.h19 __field( pid_t, pid)
25 __entry->pid = task->pid;
31 __entry->pid, __entry->comm, __entry->oom_score_adj)
82 __field(int, pid)
94 __entry->pid = task->pid;
106 __entry->pid,
119 TP_PROTO(int pid),
121 TP_ARGS(pid),
124 __field(int, pid)
128 __entry->pid = pid;
[all …]
Dgpu_mem.h32 TP_PROTO(uint32_t gpu_id, uint32_t pid, uint64_t size),
34 TP_ARGS(gpu_id, pid, size),
38 __field(uint32_t, pid)
44 __entry->pid = pid;
50 __entry->pid,
Dtask.h16 __field( pid_t, pid)
23 __entry->pid = task->pid;
30 __entry->pid, __entry->comm,
41 __field( pid_t, pid)
48 __entry->pid = task->pid;
55 __entry->pid, __entry->oldcomm,
Dsched.h24 __field( pid_t, pid )
29 __entry->pid = t->pid;
32 TP_printk("comm=%s pid=%d", __entry->comm, __entry->pid)
149 __field( pid_t, pid )
156 __entry->pid = p->pid;
162 __entry->comm, __entry->pid, __entry->prio,
243 __entry->prev_pid = prev->pid;
247 __entry->next_pid = next->pid;
282 __field( pid_t, pid )
290 __entry->pid = p->pid;
[all …]
Dsignal.h62 __field( pid_t, pid )
71 __entry->pid = task->pid;
78 __entry->comm, __entry->pid, __entry->group,
Dosnoise.h19 __field( pid_t, pid )
24 __entry->pid = t->pid;
31 __entry->pid,
Dtimer.h370 TP_PROTO(int which, struct pid *pid, unsigned long long now),
372 TP_ARGS(which, pid, now),
376 __field( pid_t, pid )
383 __entry->pid = pid_nr(pid);
387 (int) __entry->pid, __entry->now)
Drcu.h314 TP_PROTO(const char *rcuname, int pid, unsigned long gp_seq),
316 TP_ARGS(rcuname, pid, gp_seq),
321 __field(int, pid)
327 __entry->pid = pid;
331 __entry->rcuname, __entry->gp_seq, __entry->pid)
341 TP_PROTO(const char *rcuname, unsigned long gp_seq, int pid),
343 TP_ARGS(rcuname, gp_seq, pid),
348 __field(int, pid)
354 __entry->pid = pid;
357 TP_printk("%s %ld %d", __entry->rcuname, __entry->gp_seq, __entry->pid)
/include/linux/i3c/
Ddevice.h82 #define I3C_PID_MANUF_ID(pid) (((pid) & GENMASK_ULL(47, 33)) >> 33) argument
83 #define I3C_PID_RND_LOWER_32BITS(pid) (!!((pid) & BIT_ULL(32))) argument
84 #define I3C_PID_RND_VAL(pid) ((pid) & GENMASK_ULL(31, 0)) argument
85 #define I3C_PID_PART_ID(pid) (((pid) & GENMASK_ULL(31, 16)) >> 16) argument
86 #define I3C_PID_INSTANCE_ID(pid) (((pid) & GENMASK_ULL(15, 12)) >> 12) argument
87 #define I3C_PID_EXTRA_INFO(pid) ((pid) & GENMASK_ULL(11, 0)) argument
122 u64 pid; member
/include/net/
Dscm.h21 u32 pid; member
45 struct pid *pid; /* Skb credentials */ member
70 struct pid *pid, kuid_t uid, kgid_t gid) in scm_set_cred() argument
72 scm->pid = get_pid(pid); in scm_set_cred()
73 scm->creds.pid = pid_vnr(pid); in scm_set_cred()
80 put_pid(scm->pid); in scm_destroy_cred()
81 scm->pid = NULL; in scm_destroy_cred()
154 if (!scm->pid) in scm_pidfd_recv()
157 pidfd = pidfd_prepare(scm->pid, 0, &pidfd_file); in scm_pidfd_recv()
187 .pid = scm->creds.pid, in __scm_recv_common()
/include/uapi/linux/
Dif_pppol2tp.h28 __kernel_pid_t pid; /* pid that owns the fd. member
42 __kernel_pid_t pid; /* pid that owns the fd. member
56 __kernel_pid_t pid; /* pid that owns the fd. member
67 __kernel_pid_t pid; /* pid that owns the fd. member
Dkfd_ioctl.h621 #define KFD_EVENT_FMT_VMFAULT(pid, task_name)\ argument
622 "%x:%s\n", (pid), (task_name)
624 #define KFD_EVENT_FMT_PAGEFAULT_START(ns, pid, addr, node, rw)\ argument
625 "%lld -%d @%lx(%x) %c\n", (ns), (pid), (addr), (node), (rw)
627 #define KFD_EVENT_FMT_PAGEFAULT_END(ns, pid, addr, node, migrate_update)\ argument
628 "%lld -%d @%lx(%x) %c\n", (ns), (pid), (addr), (node), (migrate_update)
630 #define KFD_EVENT_FMT_MIGRATE_START(ns, pid, start, size, from, to, prefetch_loc,\ argument
632 "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", (ns), (pid), (start), (size),\
635 #define KFD_EVENT_FMT_MIGRATE_END(ns, pid, start, size, from, to, migrate_trigger)\ argument
636 "%lld -%d @%lx(%lx) %x->%x %d\n", (ns), (pid), (start), (size),\
[all …]
/include/linux/sched/
Dsignal.h165 struct pid *pids[PIDTYPE_MAX];
171 struct pid *tty_old_pgrp;
334 extern int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp);
335 extern int kill_pid_info(int sig, struct kernel_siginfo *info, struct pid *pid);
336 extern int kill_pid_usb_asyncio(int sig, int errno, sigval_t addr, struct pid *,
338 extern int kill_pgrp(struct pid *pid, int sig, int priv);
339 extern int kill_pid(struct pid *pid, int sig, int priv);
349 extern int send_sigqueue(struct sigqueue *, struct pid *, enum pid_type);
672 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
674 struct pid *pid; in task_pid_type() local
[all …]
/include/uapi/linux/dvb/
Dnet.h31 __u16 pid; member
46 __u16 pid; member
/include/rdma/
Drdma_netlink.h86 int rdma_nl_unicast(struct net *net, struct sk_buff *skb, u32 pid);
95 int rdma_nl_unicast_wait(struct net *net, struct sk_buff *skb, __u32 pid);
/include/keys/
Drequest_key_auth-type.h23 pid_t pid; member

12345