Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_map_offload_info_fill

Proto:int bpf_map_offload_info_fill(struct bpf_map_info *info, struct bpf_map *map)

Type:int

Parameter:

TypeParameterName
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  If IS_ERR(res) Then
533  If Not ifindex Then Return -ENODEV
535  Return PTR_ERR(res)
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  Return 0