Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\compat.c Create Date:2022-07-28 11:05:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__compat_put_timeval

Proto:static int __compat_put_timeval(const struct timeval *tv, struct old_timeval32 __user *ctv)

Type:int

Parameter:

TypeParameterName
const struct timeval *tv
struct old_timeval32 __user *ctv
38  Return If Not 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.(ctv, size of ctv ) || Write a simple value into user space, with less checking( seconds , & tv_sec) || Write a simple value into user space, with less checking( microseconds , & tv_usec) Then -EFAULT Else 0
Caller
NameDescribe
compat_put_timeval