函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-27 10:37:37
Last Modify:2022-05-22 13:40:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sys_sched_rr_get_interval - return the default timeslice of a process.*@pid: pid of the process.*@interval: userspace pointer to the timeslice value.* this syscall writes the default timeslice value of a given process* into the user-space timespec buffer

函数原型:SYSCALL_DEFINE2(sched_rr_get_interval, pid_t, pid, struct __kernel_timespec __user *, interval)

返回类型:

参数:

5913  retval等于sched_rr_get_interval(pid, & t)
5915  如果retval恒等于0则retval等于put_timespec64( & t, interval)
5918  返回:retval