Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_stack.c Create Date:2022-07-28 12:11:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:stack_max_size_read

Proto:static ssize_t stack_max_size_read(struct file *filp, char __user *ubuf, size_t count, loff_t *ppos)

Type:ssize_t

Parameter:

TypeParameterName
struct file *filp
char __user *ubuf
size_tcount
loff_t *ppos
328  ptr = needed for tty driver, and maybe others
332  r = snprintf - 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*@
333  If r > size of buf Then r = size of buf
335  Return simple_read_from_buffer(ubuf, count, ppos, buf, r)