Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\binfmt_misc.c Create Date:2022-07-28 20:27:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:/<entry>

Proto:static ssize_t bm_entry_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)

Type:ssize_t

Parameter:

TypeParameterName
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  If Not page Then Return -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  Return res