Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xsk_map_sock_delete

Proto:static void xsk_map_sock_delete(struct xdp_sock *xs, struct xdp_sock **map_entry)

Type:void

Parameter:

TypeParameterName
struct xdp_sock *xs
struct xdp_sock **map_entry
62  spin_lock_bh( & Protects map_list )
64  If map_entry == map_entry Then
65  deletes entry from list
66  xsk_map_node_free(n)
69  spin_unlock_bh( & Protects map_list )
Caller
NameDescribe
xsk_map_update_elem
xsk_map_delete_elem
xsk_map_try_sock_delete