函数逻辑报告 |
Source Code:kernel\sched\core.c |
Create Date:2022-07-27 10:36:51 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:an_nice - check if a task can reduce its nice value*@p: task*@nice: nice value
函数原型:int can_nice(const struct task_struct *p, const int nice)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct task_struct * | p | |
const int | nice |
4574 | 返回:nice_rlim小于等于task_rlimit(p, RLIMIT_NICE)或操作权限检查 |
名称 | 描述 |
---|---|
SYSCALL_DEFINE1 | sys_nice - change the priority of the current process.*@increment: priority increment* sys_setpriority is a more generic, but much slower function that* does similar things. |
__sched_setscheduler | |
proc_sched_autogroup_set_nice | |
set_one_prio | set the priority of a task* - the caller must hold the RCU read lock |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |