/usr/src/linux-headers-5.15.0-181/include/linux/sched
NameSizeModeActions
autogroup.h12290644editdlrm
clock.h25060644editdlrm
coredump.h32410644editdlrm
cpufreq.h9830644editdlrm
cputime.h53340644editdlrm
deadline.h6520644editdlrm
debug.h14490644editdlrm
hotplug.h6640644editdlrm
idle.h18900644editdlrm
init.h2400644editdlrm
isolation.h15840644editdlrm
jobctl.h16220644editdlrm
loadavg.h15880644editdlrm
mm.h114850644editdlrm
nohz.h9070644editdlrm
numa_balancing.h12920644editdlrm
prio.h11190644editdlrm
rt.h12590644editdlrm
sd_flags.h55220644editdlrm
signal.h215730644editdlrm
smt.h4240644editdlrm
stat.h8870644editdlrm
sysctl.h21210644editdlrm
task.h57300644editdlrm
task_stack.h31830644editdlrm
topology.h66660644editdlrm
types.h6830644editdlrm
user.h15340644editdlrm
wake_q.h22720644editdlrm
xacct.h8540644editdlrm
Edit: /usr/src/linux-headers-5.15.0-181/include/linux/sched/user.h (1534B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_USER_H #define _LINUX_SCHED_USER_H #include #include #include #include #include /* * Some day this will be a full-fledged user tracking system.. */ struct user_struct { refcount_t __count; /* reference count */ #ifdef CONFIG_EPOLL struct percpu_counter epoll_watches; /* The number of file descriptors currently watched */ #endif unsigned long unix_inflight; /* How many files in flight in unix sockets */ atomic_long_t pipe_bufs; /* how many pages are allocated in pipe buffers */ /* Hash table maintenance information */ struct hlist_node uidhash_node; kuid_t uid; #if defined(CONFIG_PERF_EVENTS) || defined(CONFIG_BPF_SYSCALL) || \ defined(CONFIG_NET) || defined(CONFIG_IO_URING) || \ defined(CONFIG_VFIO_PCI_ZDEV_KVM) atomic_long_t locked_vm; #endif #ifdef CONFIG_WATCH_QUEUE atomic_t nr_watches; /* The number of watches this user currently has */ #endif /* Miscellaneous per-user rate limit */ struct ratelimit_state ratelimit; }; extern int uids_sysfs_init(void); extern struct user_struct *find_user(kuid_t); extern struct user_struct root_user; #define INIT_USER (&root_user) /* per-UID process charging. */ extern struct user_struct * alloc_uid(kuid_t); static inline struct user_struct *get_uid(struct user_struct *u) { refcount_inc(&u->__count); return u; } extern void free_uid(struct user_struct *); #endif /* _LINUX_SCHED_USER_H */