函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fcntl.c Create Date:2022-07-29 10:35:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:GETLK was successful and we need to return the data, but it needs to fit in* the compat structure.* l_start shouldn't be too big, unless the original start + end is greater than* COMPAT_OFF_T_MAX, in which case the app was asking for trouble, so we return

函数原型:static int fixup_compat_flock(struct flock *flock)

返回类型:int

参数:

类型参数名称
struct flock *flock
603  如果l_start大于COMPAT_OFF_T_MAX则返回:负EOVERFLOW
605  如果l_len大于COMPAT_OFF_T_MAXl_len等于COMPAT_OFF_T_MAX
607  返回:0
调用者
名称描述
do_compat_fcntl64