函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:setup_callbacks

函数原型:static void setup_callbacks(struct rchan *chan, struct rchan_callbacks *cb)

返回类型:void

参数:

类型参数名称
struct rchan *chan
struct rchan_callbacks *cb
504  如果非cb
505  client callbacks 等于lay channel default callbacks
506  返回
509  如果非subbuf_startsubbuf_start等于subbuf_start() default callback. Does nothing.
511  如果非buf_mappedbuf_mapped等于_mapped() default callback. Does nothing.
513  如果非buf_unmappedbuf_unmapped等于_unmapped() default callback. Does nothing.
515  如果非create_buf_filecreate_buf_file等于reate_buf_file_create() default callback. Does nothing.
517  如果非remove_buf_fileremove_buf_file等于move_buf_file() default callback. Does nothing.
519  client callbacks 等于cb
调用者
名称描述
relay_openlay_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: