函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace.c Create Date:2022-07-27 13:06:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:tracing_lseek

函数原型:loff_t tracing_lseek(struct file *file, loff_t offset, int whence)

返回类型:loff_t

参数:

类型参数名称
struct file *file
loff_toffset
intwhence
4508  如果f_mode按位与le is open for reading 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  否则f_pos等于ret等于0
4513  返回:ret