函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\debug.c Create Date:2022-07-27 11:34:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:DMA-API debugging init code* The init code does two things:* 1. Initialize core data structures* 2. Preallocate a given number of dma_debug_entry structs

函数原型:static ssize_t filter_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos)

返回类型:ssize_t

参数:

类型参数名称
struct file *file
char __user *user_buf
size_tcount
loff_t *ppos
732  如果非current_driver_name[0]则返回:0
740  read_lock_irqsave( & driver_name_lock, flags)
741  len等于格式化输出字符串
742  read_unlock_irqrestore( & driver_name_lock, flags)
744  返回:simple_read_from_buffer(user_buf, count, ppos, buf, len)