Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bdev_cache_init

Proto:void __init bdev_cache_init(void)

Type:void

Parameter:Nothing

849  bdev_cachep = kmem_cache_create - Create a cache.*@name: A string which is used in /proc/slabinfo to identify this cache.*@size: The size of objects to be created in this cache.*@align: The required alignment for the objects.*@flags: SLAB flags
853  err = gister_filesystem - register a new filesystem*@fs: the file system structure* Adds the file system passed to the list of file systems the kernel* is aware of for mount and other syscalls
854  If err Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
856  bd_mnt = kern_mount( & bd_type)
857  If IS_ERR(bd_mnt) Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
859  blockdev_superblock = pointer to superblock