OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-197
/
include
/
linux
/
sched
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/17/2022 06:42:23 AM
rwxr-xr-x
📄
autogroup.h
1.2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
clock.h
2.45 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
coredump.h
2.75 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
cpufreq.h
887 bytes
11/01/2022 04:52:05 PM
rw-r--r--
📄
cputime.h
5.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
deadline.h
597 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
debug.h
1.41 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
hotplug.h
578 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
idle.h
1.77 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
init.h
240 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
isolation.h
1.33 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
jobctl.h
1.46 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
loadavg.h
1.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mm.h
7.63 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
nohz.h
1.22 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
numa_balancing.h
1.26 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
prio.h
1.71 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
rt.h
1.41 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
signal.h
17.79 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
smt.h
415 bytes
11/01/2022 04:52:05 PM
rw-r--r--
📄
stat.h
1.02 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sysctl.h
2.5 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
task.h
3.9 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
task_stack.h
3.03 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
topology.h
6.18 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
user.h
1.7 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
wake_q.h
1.79 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
xacct.h
854 bytes
01/28/2018 09:20:33 PM
rw-r--r--
Editing: rt.h
Close
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_RT_H #define _LINUX_SCHED_RT_H #include <linux/sched.h> struct task_struct; static inline int rt_prio(int prio) { if (unlikely(prio < MAX_RT_PRIO)) return 1; return 0; } static inline int rt_task(struct task_struct *p) { return rt_prio(p->prio); } static inline bool task_is_realtime(struct task_struct *tsk) { int policy = tsk->policy; if (policy == SCHED_FIFO || policy == SCHED_RR) return true; if (policy == SCHED_DEADLINE) return true; return false; } #ifdef CONFIG_RT_MUTEXES /* * Must hold either p->pi_lock or task_rq(p)->lock. */ static inline struct task_struct *rt_mutex_get_top_task(struct task_struct *p) { return p->pi_top_task; } extern void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task); extern void rt_mutex_adjust_pi(struct task_struct *p); static inline bool tsk_is_pi_blocked(struct task_struct *tsk) { return tsk->pi_blocked_on != NULL; } #else static inline struct task_struct *rt_mutex_get_top_task(struct task_struct *task) { return NULL; } # define rt_mutex_adjust_pi(p) do { } while (0) static inline bool tsk_is_pi_blocked(struct task_struct *tsk) { return false; } #endif extern void normalize_rt_tasks(void); /* * default timeslice is 100 msecs (used only for SCHED_RR tasks). * Timeslices get refilled after they expire. */ #define RR_TIMESLICE (100 * HZ / 1000) #endif /* _LINUX_SCHED_RT_H */