函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\hashtab.c Create Date:2022-07-27 14:26:39
Last Modify:2022-05-23 09:15:29 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fd_htab_map_free

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

返回类型:void

参数:

类型参数名称
struct bpf_map *map
1393  htab等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(map, structbpf_htab, map)
1399 i小于 number of hash buckets 循环
1400  head等于select_bucket(htab, i)
1403  ptr等于fd_htab_map_get_ptr(map, l)
1405  map_fd_put_ptr(ptr)
1409  Called when map->refcnt goes to zero, either from workqueue or from syscall
调用者
名称描述
htab_of_map_free