Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kprobes.c Create Date:2022-07-28 11:35:29
Last Modify:2022-05-22 18:14:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kretprobe_hash_lock

Proto:void kretprobe_hash_lock(struct task_struct *tsk, struct hlist_head **head, unsigned long *flags)__acquires(hlist_lock)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
struct hlist_head **head
unsigned long *flags
1200  hash = hash_ptr(tsk, KPROBE_HASH_BITS)
1203  head = kretprobe_inst_table[hash]
1204  hlist_lock = kretprobe_table_lock_ptr(hash)
1205  raw_spin_lock_irqsave(hlist_lock, * flags)