函数逻辑报告 |
Source Code:kernel\sched\core.c |
Create Date:2022-07-27 10:37:24 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_user_cpu_mask
函数原型:static int get_user_cpu_mask(unsigned long __user *user_mask_ptr, unsigned len, struct cpumask *new_mask)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long __user * | user_mask_ptr | |
unsigned | len | |
struct cpumask * | new_mask |
5497 | 返回:如果copy_from_user(new_mask, user_mask_ptr, len)则负EFAULT否则0 |
名称 | 描述 |
---|---|
SYSCALL_DEFINE3 | sys_sched_setaffinity - set the CPU affinity of a process*@pid: pid of the process*@len: length in bytes of the bitmask pointed to by user_mask_ptr*@user_mask_ptr: user-space pointer to the new CPU mask* Return: 0 on success. An error code otherwise. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |