Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracing_lseek

Proto:loff_t tracing_lseek(struct file *file, loff_t offset, int whence)

Type:loff_t

Parameter:

TypeParameterName
struct file *file
loff_toffset
intwhence
4508  If f_mode & le is open for reading Then ret = seq_lseek - ->llseek() method for sequential files.*@file: the file in question*@offset: new position*@whence: 0 for absolute, 1 for relative position* Ready-made ->f_op->llseek()
4510  Else f_pos = ret = 0
4513  Return ret