函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\vsprintf.c Create Date:2022-07-27 07:09:22
Last Modify:2022-05-21 09:47:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bdev_name

函数原型:static __attribute__((__noinline__)) char *bdev_name(char *buf, char *end, struct block_device *bdev, struct printf_spec spec, const char *fmt)

返回类型:char

参数:

类型参数名称
char *buf
char *end
struct block_device *bdev
struct printf_specspec
const char *fmt
927  如果check_pointer( & buf, end, bdev, spec)则返回:buf
930  hd等于bd_disk
931  buf等于string(buf, end, name of major driver , spec)
932  如果partno
934  如果buf小于endbuf等于'p'
936  buf自加
938  buf等于number(buf, end, partno, spec)
940  返回:buf
调用者
名称描述
pointerShow a '%p' thing. A kernel extension is that the '%p' is followed* by an extra set of alphanumeric characters that are extended format* specifiers.* Please update scripts/checkpatch.pl when adding/removing conversion* characters