函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-27 15:07:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:probe_clear_state - Free the area allocated for slots.

函数原型:void uprobe_clear_state(struct mm_struct *mm)

返回类型:void

参数:

类型参数名称
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  如果非area则返回
1558  put_page(pages[0])
1559  kfree(0 = free slot )
1560  kfree(area)
调用者
名称描述
__mmput