函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\block_dev.c Create Date:2022-07-29 10:46:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:init_once

函数原型:static void init_once(void *foo)

返回类型:void

参数:

类型参数名称
void *foo
785  ei等于foo
786  bdev等于bdev
788  memset(bdev, 0, bdev的长度)
789  mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & open/close mutex )
790  初始化链表头
794  bd_bdi等于noop_backing_dev_info
795  These 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.
797  mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & Mutex for freeze )