函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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().

函数原型:static void relay_remove_buf(struct kref *kref)

返回类型:void

参数:

类型参数名称
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