Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\srcu.h Create Date:2022-07-28 05:35:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:srcu_read_lock - register a new reader for an SRCU-protected structure

Proto:static inline int srcu_read_lock(struct srcu_struct *ssp)__acquires(ssp)

Type:int

Parameter:

TypeParameterName
struct srcu_struct *ssp
154  retval = Counts the new reader in the appropriate per-CPU element of the* srcu_struct. Can be invoked from irq/bh handlers, but the matching* __srcu_read_unlock() must be in the same handler instance. Returns an
155  rcu_lock_acquire( & dep_map)
156  Return retval
Caller
NameDescribe
__call_srcuEnqueue an SRCU callback on the srcu_data structure associated with* the current CPU and the specified srcu_struct structure, initiating* grace-period processing if it is not already running
srcu_torture_read_lock
srcu_perf_read_lock
perf_init_event
mn_hlist_releaseThis function can't run concurrently against mmu_notifier_register* because mm->mm_users > 0 during mmu_notifier_register and exit_mmap* runs with mm_users == 0
__mmu_notifier_clear_flush_youngIf no young bitflag is supported by the hardware, ->clear_flush_young can* unmap the address and return 1 or 0 depending if the mapping previously* existed or not.
__mmu_notifier_clear_young
__mmu_notifier_test_young
__mmu_notifier_change_pte
mn_hlist_invalidate_range_start
mn_hlist_invalidate_end
__mmu_notifier_invalidate_range
mmu_notifier_unregisterThis releases the mm_count pin automatically and frees the mm* structure if it was the last user of it. It serializes against* running mmu notifiers with SRCU and against mmu_notifier_unregister* with the unregister lock + SRCU
quarantine_reduce
hctx_lock
fsnotifyThis is the main call to fsnotify. The VFS calls into hook specific functions* in linux/fsnotify.h. Those functions then in turn call here. Here will call* out to all of the registered fsnotify_group. Those groups can then use the
fsnotify_finish_user_wait
fsnotify_grab_connectorGet mark connector, make sure it is alive and return with its lock held.* This is for users that get connector pointer from inode or mount. Users that* hold reference to a mark on the list may directly lock connector->lock as
__dquot_alloc_spaceThis operation can block, but only after everything is updated
dquot_alloc_inodeThis operation can block, but only after everything is updated
dquot_claim_space_nodirtyConvert in-memory reserved quotas to real consumed quotas
dquot_reclaim_space_nodirtyConvert allocated space back to in-memory reserved quotas
__dquot_free_spaceThis operation can block, but only after everything is updated
dquot_free_inodeThis operation can block, but only after everything is updated