| Function report | 
| 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 activity | Download SCCT | Chinese | 
Name:lay_destroy_buf - destroy an rchan_buf struct and associated buffer*@buf: the buffer struct
Proto:static void relay_destroy_buf(struct rchan_buf *buf)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct rchan_buf * | buf | 
| 209 | chan = associated channel | 
| 212 | If Value is more likely to compile time(start of channel buffer ) Then | 
| 214 | When i < umber of current buffer pages cycle __free_page(array of current buffer pages [i]) | 
| 218 | * per_cpu_ptr( per-cpu channel buffers , his buf's cpu ) = NULL | 
| Name | Describe | 
|---|---|
| relay_remove_buf | 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(). | 
| relay_open_buf | lay_open_buf - create a new relay channel buffer* used by relay_open() and CPU hotplug. | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |