Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dev_map_index_hash

Proto:static inline struct hlist_head *dev_map_index_hash(struct bpf_dtab *dtab, int idx)

Type:struct hlist_head

Parameter:

TypeParameterName
struct bpf_dtab *dtab
intidx
107  Return these are only used for DEVMAP_HASH type maps [idx & (n_buckets - 1)]
Caller
NameDescribe
dev_map_free
__dev_map_hash_lookup_elem
dev_map_hash_get_next_key
__dev_map_hash_update_elem
dev_map_hash_remove_netdev