Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lay_remove_buf - remove a channel buffer*@kref: target kernel reference that contains the relay buffer* Removes the file from the filesystem, which also frees the* rchan_buf_struct and the channel buffer. Should only be called from* kref_put().

Proto:static void relay_remove_buf(struct kref *kref)

Type:void

Parameter:

TypeParameterName
struct kref *kref
234  buf = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(kref, structrchan_buf, kref)
235  lay_destroy_buf - destroy an rchan_buf struct and associated buffer*@buf: the buffer struct