Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\relay.c Create Date:2022-07-28 11:46:55
Last Modify:2020-03-17 19:20:22 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:relay_set_buf_dentry

Proto:static inline void relay_set_buf_dentry(struct rchan_buf *buf, struct dentry *dentry)

Type:void

Parameter:

TypeParameterName
struct rchan_buf *buf
struct dentry *dentry
411  channel file dentry = dentry
412  i_size = ytes consumed before VFS inited
Caller
NameDescribe
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