Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__dev_map_entry_free

Proto:static void __dev_map_entry_free(struct callback_head *rcu)

Type:void

Parameter:

TypeParameterName
struct callback_head *rcu
532  dev = 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.(rcu, structbpf_dtab_netdev, rcu)
533  dev_map_flush_old(dev)
534  free previously allocated percpu memory
535  dev_put - release reference to device*@dev: network device* Release reference to device to allow it to be freed.
536  kfree(dev)