函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partition-generic.c Create Date:2022-07-27 18:55:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bdevname

函数原型:const char *bdevname(struct block_device *bdev, char *buf)

返回类型:char

参数:

类型参数名称
struct block_device *bdev
char *buf
49  返回:disk_name() is used by partition check code and the genhd driver.* It formats the devicename of the indicated disk into* the supplied buffer (of size at least 32), and returns* a pointer to that same buffer (for convenience).
调用者
名称描述
amiga_partition
cmdline_partitionPurpose: allocate cmdline partitions.* Returns:* -1 if unable to read the partition table* 0 if this isn't our partition table* 1 if successful
sgi_partition
sun_partition
check_pinning_enforcementThis must be called after early kernel init, since then the rootdev* is available.