Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-28 09:50:40
Last Modify:2020-03-17 14:16:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:not_in_range

Proto:static inline int not_in_range(const void *mem_from, unsigned long mem_len, const void *lock_from, unsigned long lock_len)

Type:int

Parameter:

TypeParameterName
const void *mem_from
unsigned longmem_len
const void *lock_from
unsigned longlock_len
5267  Return lock_from + lock_len <= mem_from || mem_from + mem_len <= lock_from
Caller
NameDescribe
debug_check_no_locks_freedCalled when kernel memory is freed (or unmapped), or if a lock* is destroyed or reinitialized - this code checks whether there is* any held lock in the memory range of to :