函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:/<entry>

函数原型:static ssize_t bm_entry_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)

返回类型:ssize_t

参数:

类型参数名称
struct file *file
char __user *buf
size_tnbytes
loff_t *ppos
634  e等于s or device private pointer
638  page等于__get_free_page(GFP_KERNEL)
639  如果非page则返回:负ENOMEM
642  generic stuff
644  res等于simple_read_from_buffer - copy data from the buffer to user space*@to: the user space buffer to read to*@count: the maximum number of bytes to read*@ppos: the current position in the buffer*@from: the buffer to read from*@available: the size of the
646  free_page((unsignedlong)page)
647  返回:res