函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_map_offload_info_fill

函数原型:int bpf_map_offload_info_fill(struct bpf_map_info *info, struct bpf_map *map)

返回类型:int

参数:

类型参数名称
struct bpf_map_info *info
struct bpf_map *map
523  struct ns_get_path_bpf_map_args args = {offmap = map_to_offmap(map), info = info, }
531  res等于ns_get_path_cb( & ns_path, bpf_map_offload_info_fill_ns, & args)
532  如果是错误
533  如果非ifindex则返回:负ENODEV
535  返回:错误
538  ns_inode等于 Where the name belongs to - NULL is * negative
539  netns_dev等于new_encode_dev(s_dev)
540  netns_ino等于Stat data, not accessed from path walking
541  path_put( & ns_path)
543  返回:0
调用者
名称描述
bpf_map_get_info_by_fd