Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\hashtab.c Create Date:2022-07-28 13:10:32
Last Modify:2022-05-23 09:15:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fd_htab_map_free

Proto:static void fd_htab_map_free(struct bpf_map *map)

Type:void

Parameter:

TypeParameterName
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  When i < number of hash buckets cycle
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
Caller
NameDescribe
htab_of_map_free