函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__compat_put_timespec

函数原型:static int __compat_put_timespec(const struct timespec *ts, struct old_timespec32 __user *cts)

返回类型:int

参数:

类型参数名称
const struct timespec *ts
struct old_timespec32 __user *cts
52  返回:如果非access_ok - Checks if a user space pointer is valid*@addr: User space pointer to start of block to check*@size: Size of block to check* Context: User context only. This function may sleep if pagefaults are* enabled.(cts, cts的长度)或__put_user - Write a simple value into user space, with less checking( seconds , & tv_sec)或__put_user - Write a simple value into user space, with less checking( nanoseconds , & tv_nsec)则负EFAULT否则0
调用者
名称描述
compat_put_timespec