函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_map_offload_delete_elem

函数原型:int bpf_map_offload_delete_elem(struct bpf_map *map, void *key)

返回类型:int

参数:

类型参数名称
struct bpf_map *map
void *key
467  offmap等于map_to_offmap(map)
468  ret等于负ENODEV
470  lock for reading
471  如果netdevret等于map_delete_elem(offmap, key)
473  lease a read lock
475  返回:ret
调用者
名称描述
map_delete_elem