Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return 1 if all garbages are collected, otherwise 0.

Proto:static int collect_one_slot(struct kprobe_insn_page *kip, int idx)

Type:int

Parameter:

TypeParameterName
struct kprobe_insn_page *kip
intidx
194  slot_used[idx] = SLOT_CLEAN
195  nused--
196  If nused == 0 Then
207  kfree(kip)
209  Return 1
211  Return 0
Caller
NameDescribe
collect_garbage_slots
__free_insn_slot