Function report |
Source Code:kernel\relay.c |
Create Date:2022-07-28 11:46:56 |
| Last Modify:2020-03-17 19:20:22 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:relay_create_buf_file
Proto:static struct dentry *relay_create_buf_file(struct rchan *chan, struct rchan_buf *buf, unsigned int cpu)
Type:struct dentry
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rchan * | chan | |
| struct rchan_buf * | buf | |
| unsigned int | cpu |
| 422 | tmpname = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 423 | If Not tmpname Then Return NULL |
| 428 | dentry = create_buf_file(tmpname, parent dentry passed to open , S_IRUSR, buf, & One global buffer ? ) |
| 436 | Return dentry |
| Name | Describe |
|---|---|
| relay_open_buf | lay_open_buf - create a new relay channel buffer* used by relay_open() and CPU hotplug. |
| relay_late_setup_files | lay_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 |
| 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 |