函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\inode.c Create Date:2022-07-27 14:21:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bpffs_map_open

函数原型:static int bpffs_map_open(struct inode *inode, struct file *file)

返回类型:int

参数:

类型参数名称
struct inode *inode
struct file *file
251  map等于s or device private pointer
256  iter等于map_iter_alloc(map)
257  如果非iter则返回:负ENOMEM
260  err等于seq_open(file, & bpffs_map_seq_ops)
261  如果err
262  map_iter_free(iter)
263  返回:err
266  m等于 needed for tty driver, and maybe others
267  private等于iter
269  返回:0