函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-29 10:32:25
Last Modify:2022-05-24 06:42:17 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Setup private BDI for given superblock. It gets automatically cleaned up* in generic_shutdown_super().

函数原型:int super_setup_bdi_name(struct super_block *sb, char *fmt, ...)

返回类型:int

参数:

类型参数名称
struct super_block *sb
char *fmt
1601  bdi等于bdi_alloc(GFP_KERNEL)
1602  如果非bdi则返回:负ENOMEM
1605  name等于name
1607  va_start(args, fmt)
1608  err等于bdi_register_va(bdi, fmt, args)
1609  va_end(args)
1610  如果err
1611  bdi_put(bdi)
1612  返回:err
1614  WARN_ON(s_bdi != & noop_backing_dev_info)
1615  s_bdi等于bdi
1617  返回:0
调用者
名称描述
super_setup_bdiSetup private BDI for given superblock. I gets automatically cleaned up* in generic_shutdown_super().