Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\debug.c Create Date:2022-07-28 10:34:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static ssize_t filter_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos)

Type:ssize_t

Parameter:

TypeParameterName
struct file *file
char __user *user_buf
size_tcount
loff_t *ppos
732  If Not current_driver_name[0] Then Return 0
740  read_lock_irqsave( & driver_name_lock, flags)
741  len = scnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
742  read_unlock_irqrestore( & driver_name_lock, flags)
744  Return simple_read_from_buffer(user_buf, count, ppos, buf, len)