函数逻辑报告 |
Source Code:kernel\locking\mutex.c |
Create Date:2022-07-27 10:47:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:atomic_dec_and_mutex_lock - return holding mutex if we dec to 0*@cnt: the atomic which we are to dec*@lock: the mutex to return holding if we dec to 0* return true and hold lock if we dec to 0, return false otherwise
函数原型:int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
atomic_t * | cnt | |
struct mutex * | lock |
1472 | mutex_lock(lock) |
1473 | 如果非atomic_dec_and_test(cnt)则 |
1479 | 返回:1 |
名称 | 描述 |
---|---|
perf_mmap_close | A buffer can be mmap()ed multiple times; either directly through the same* event, or through other events by use of perf_event_set_output().* In order to undo the VM accounting done by perf_mmap() we need to destroy |
put_callchain_buffers |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |