Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:reuseport_array_free

Proto:static void reuseport_array_free(struct bpf_map *map)

Type:void

Parameter:

TypeParameterName
struct bpf_map *map
95  array = reuseport_array(map)
99  Wait for a grace period to elapse. But it is illegal to invoke* synchronize_rcu() from within an RCU read-side critical section.* Therefore, any legal call to synchronize_rcu() is a quiescent
126  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
127  When i < max_entries cycle
128  sk = fetch RCU-protected pointer for dereferencing(ptrs[i])
129  If sk Then
136  sk_user_data = NULL
141  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
147  bpf_map_area_free(array)