函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\hash.h Create Date:2022-07-27 06:43:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hash_ptr

函数原型:static inline u32 hash_ptr(const void *ptr, unsigned int bits)

返回类型:u32

参数:

类型参数名称
const void *ptr
unsigned intbits
90  返回:hash_long((unsignedlong)ptr, bits)
调用者
名称描述
get_kprobeThis routine is called either:* - under the kprobe_mutex - during kprobe_[un]register()* OR* - with preemption disabled - from arch/xxx/kernel/kprobes.c
kretprobe_hash_lock
kretprobe_hash_unlock
kprobe_flush_taskThis function is called from finish_task_switch when task tk becomes dead,* so that we can recycle any function-return probe instances associated* with this task. These left over instances represent probed functions
register_kprobe