函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mnt_init

函数原型:void __init mnt_init(void)

返回类型:void

参数:

3743  mnt_cache等于创建高速缓存区
3746  mount_hashtable等于allocate a large system hash table from bootmem* - it is assumed that the hash table must contain an exact power-of-2* quantity of entries* - limit is the number of hash buckets, not the total allocation size
3751  mountpoint_hashtable等于allocate a large system hash table from bootmem* - it is assumed that the hash table must contain an exact power-of-2* quantity of entries* - limit is the number of hash buckets, not the total allocation size
3757  如果非mount_hashtable或非mountpoint_hashtablepanic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
3760  kernfs_init()
3762  err等于sysfs_init()
3763  如果errprintk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
3766  /sys/fs 等于kobject_create_and_add() - Create a struct kobject dynamically and* register it with sysfs.*@name: the name for the kobject*@parent: the parent kobject of this kobject, if any.* This function creates a kobject structure dynamically and registers it
3767  如果非/sys/fs printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
3769  shmem_init()
3770  init_rootfs()
3771  init_mount_tree()