Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpffs_map_open

Proto:static int bpffs_map_open(struct inode *inode, struct file *file)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *file
251  map = s or device private pointer
256  iter = map_iter_alloc(map)
257  If Not iter Then Return -ENOMEM
260  err = seq_open(file, & bpffs_map_seq_ops)
261  If err Then
262  map_iter_free(iter)
263  Return err
266  m = needed for tty driver, and maybe others
267  private = iter
269  Return 0