函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\sched.h Create Date:2022-07-27 06:58:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:task_has_rt_policy

函数原型:static inline int task_has_rt_policy(struct task_struct *p)

返回类型:int

参数:

类型参数名称
struct task_struct *p
182  返回:rt_policy(policy)
调用者
名称描述
normal_prioCalculate the expected normal priority: i.e. priority* without taking RT-inheritance into account. Might be* boosted by interactivity modifiers. Changes upon fork,* setprio syscalls, and whenever the interactivity* estimator recalculates.
sched_fork调度进程
set_user_nice
SYSCALL_DEFINE2sys_sched_getparam - get the RT priority of a thread*@pid: the pid in question.*@param: structure containing the RT priority.* Return: On success, 0 and the RT priority is in @param. Otherwise, an error* code.
SYSCALL_DEFINE4sys_sched_getattr - similar to sched_getparam, but with sched_attr*@pid: the pid in question.*@uattr: structure containing the extended parameters.*@usize: sizeof(attr) for fwd/bwd comp.*@flags: for future extension.