Function report |
Source Code:kernel\bpf\hashtab.c |
Create Date:2022-07-28 13:09:28 |
| Last Modify:2022-05-23 09:15:29 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:an be called without bucket lock. it will repeat the loop in* the unlikely event when elements moved from one bucket into another* while link list is being walked
Proto:static struct htab_elem *lookup_nulls_elem_raw(struct hlist_nulls_head *head, u32 hash, void *key, u32 key_size, u32 n_buckets)
Type:struct htab_elem
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct hlist_nulls_head * | head | |
| u32 | hash | |
| void * | key | |
| u32 | key_size | |
| u32 | n_buckets |
| 445 | again : |
| 453 | Return NULL |
| Name | Describe |
|---|---|
| __htab_map_lookup_elem | Called from syscall or from eBPF program directly, so* arguments have to match bpf_map_lookup_elem() exactly.* The return value is adjusted by BPF instructions* in htab_map_gen_lookup(). |
| htab_map_get_next_key | Called from syscall |
| htab_map_update_elem | Called from syscall or from eBPF program |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |