Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmsplice_type

Proto:static int vmsplice_type(struct fd f, int *type)

Type:int

Parameter:

TypeParameterName
struct fdf
int *type
1332  If Not file Then Return -EBADF
1334  If f_mode & le is open for writing Then
1335  type = WRITE
1336  Else if f_mode & le is open for reading Then
1337  type = generic data direction definitions
1338  Else
1339  fdput(f)
1340  Return -EBADF
1342  Return 0
Caller
NameDescribe
SYSCALL_DEFINE4
COMPAT_SYSCALL_DEFINE4