Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-28 20:07:55
Last Modify:2020-03-18 19:19:59 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__address_space_init_once

Proto:static void __address_space_init_once(struct address_space *mapping)

Type:void

Parameter:

TypeParameterName
struct address_space *mapping
368  xa_init_flags() - Initialise an empty XArray with flags.*@xa: XArray.*@flags: XA_FLAG values.* If you need to initialise an XArray with special flags (eg you need* to take the lock from interrupt context), use this function instead* of xa_init().
369  init_rwsem( & i_mmap_rwsem)
370  Initialization list head
371  Process spin lock initialization( & private_lock)
372  i_mmap =
Caller
NameDescribe
address_space_init_once
inode_init_onceThese are initializations that only need to be done* once, because the fields are idempotent across use* of the inode, so let the slab aware of that.