Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:put_compat_flock64

Proto:static int put_compat_flock64(const struct flock *kfl, struct compat_flock64 __user *ufl)

Type:int

Parameter:

TypeParameterName
const struct flock *kfl
struct compat_flock64 __user *ufl
566  BUILD_BUG_ON - break compile if a condition is true( size of l_start > size of l_start )
567  BUILD_BUG_ON - break compile if a condition is true( size of l_len > size of l_len )
569  memset( & fl, 0, sizeof(structcompat_flock64))
571  If copy_to_user(ufl, & fl, sizeof(structcompat_flock64)) Then Return -EFAULT
573  Return 0
Caller
NameDescribe
do_compat_fcntl64