Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmu_notifier.c Create Date:2022-07-28 15:37:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mn_hlist_invalidate_range_start

Proto:static int mn_hlist_invalidate_range_start(struct mmu_notifier_mm *mmn_mm, struct mmu_notifier_range *range)

Type:int

Parameter:

TypeParameterName
struct mmu_notifier_mm *mmn_mm
struct mmu_notifier_range *range
454  ret = 0
457  id = srcu_read_lock - register a new reader for an SRCU-protected structure
459  If invalidate_range_start Then
462  If Not mmu_notifier_range_blockable(range) Then non_block_start()
464  _ret = invalidate_range_start(mn, range)
465  If Not mmu_notifier_range_blockable(range) Then non_block_end()
467  If _ret Then
468  pr_info("%pS callback failed with %d in %sblockable context.\n", invalidate_range_start, _ret, !mmu_notifier_range_blockable(range) ? "non-" : "")
473  ret = _ret
477  srcu_read_unlock - unregister a old reader from an SRCU-protected structure.*@ssp: srcu_struct in which to unregister the old reader.*@idx: return value from corresponding srcu_read_lock().* Exit an SRCU read-side critical section.
479  Return ret
Caller
NameDescribe
__mmu_notifier_invalidate_range_start