Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\block_dev.c Create Date:2022-07-28 20:14:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:init_once

Proto:static void init_once(void *foo)

Type:void

Parameter:

TypeParameterName
void *foo
785  ei = foo
786  bdev = bdev
788  memset(bdev, 0, size of 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  Initialization list head
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 )