函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\relay.c Create Date:2022-07-27 12:51:42
Last Modify:2020-03-17 19:20:22 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:relay_set_buf_dentry

函数原型:static inline void relay_set_buf_dentry(struct rchan_buf *buf, struct dentry *dentry)

返回类型:void

参数:

类型参数名称
struct rchan_buf *buf
struct dentry *dentry
411  channel file dentry 等于dentry
412  i_size等于ytes consumed before VFS inited
调用者
名称描述
relay_open_buflay_open_buf - create a new relay channel buffer* used by relay_open() and CPU hotplug.
__relay_set_buf_dentryCalled in atomic context.
relay_late_setup_fileslay_late_setup_files - triggers file creation*@chan: channel to operate on*@base_filename: base name of files to create*@parent: dentry of parent directory, %NULL for root directory* Returns 0 if successful, non-zero otherwise