Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:probe_clear_state - Free the area allocated for slots.

Proto:void uprobe_clear_state(struct mm_struct *mm)

Type:void

Parameter:

TypeParameterName
struct mm_struct *mm
1549  area = xol_area
1551  mutex_lock( & delayed_uprobe_lock)
1552  delayed_uprobe_remove(NULL, mm)
1553  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.
1555  If Not area Then Return
1558  put_page(pages[0])
1559  kfree(0 = free slot )
1560  kfree(area)