函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:srcu_read_lock - register a new reader for an SRCU-protected structure

函数原型:static inline int srcu_read_lock(struct srcu_struct *ssp)__acquires(ssp)

返回类型:int

参数:

类型参数名称
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  返回:retval
调用者
名称描述
__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
tomoyo_read_lockmoyo_read_lock - Take lock for protecting policy.* Returns index number for tomoyo_read_unlock().