Function report |
Source Code:kernel\relay.c |
Create Date:2022-07-28 11:47:00 |
| Last Modify:2020-03-17 19:20:22 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:setup_callbacks
Proto:static void setup_callbacks(struct rchan *chan, struct rchan_callbacks *cb)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rchan * | chan | |
| struct rchan_callbacks * | cb |
| 504 | If Not cb Then |
| 506 | Return |
| 509 | If Not subbuf_start Then subbuf_start = subbuf_start() default callback. Does nothing. |
| 511 | If Not buf_mapped Then buf_mapped = _mapped() default callback. Does nothing. |
| 513 | If Not buf_unmapped Then buf_unmapped = _unmapped() default callback. Does nothing. |
| 515 | If Not create_buf_file Then create_buf_file = reate_buf_file_create() default callback. Does nothing. |
| 517 | If Not remove_buf_file Then remove_buf_file = move_buf_file() default callback. Does nothing. |
| 519 | client callbacks = cb |
| Name | Describe |
|---|---|
| relay_open | lay_open - create a new relay channel*@base_filename: base name of files to create, %NULL for buffering only*@parent: dentry of parent directory, %NULL for root directory or buffer*@subbuf_size: size of sub-buffers*@n_subbufs: number of sub-buffers*@cb: |
| 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 |