函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-29 10:38:01
Last Modify:2020-03-18 19:19:59 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__address_space_init_once

函数原型:static void __address_space_init_once(struct address_space *mapping)

返回类型:void

参数:

类型参数名称
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  初始化链表头
371  spin_lock_init( & private_lock)
372  i_mmap =
调用者
名称描述
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.