Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:prog_array_map_poke_untrack

Proto:static void prog_array_map_poke_untrack(struct bpf_map *map, struct bpf_prog_aux *prog_aux)

Type:void

Parameter:

TypeParameterName
struct bpf_map *map
struct bpf_prog_aux *prog_aux
733  aux = ({
733  __mptr = map
733  Do
733  When 0 cycle
733  __mptr - __builtin_offsetof(structbpf_array, map)
733  })->aux
734  mutex_lock( & poke_mutex)
736  If aux == prog_aux Then
737  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
738  kfree(elem)
739  Break
742  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.