函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_map_offload_map_free

函数原型:void bpf_map_offload_map_free(struct bpf_map *map)

返回类型:void

参数:

类型参数名称
struct bpf_map *map
422  offmap等于map_to_offmap(map)
424  RTNL is used as a global lock for all changes to network configuration
425  lock for writing
426  如果netdev__bpf_map_offload_destroy(offmap)
428  lease a write lock
429  rtnl_unlock()
431  kfree(offmap)