函数逻辑报告 |
Source Code:lib\vsprintf.c |
Create Date:2022-07-27 07:09:25 |
Last Modify:2022-05-21 09:47:42 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:resource_string
函数原型:static __attribute__((__noinline__)) char *resource_string(char *buf, char *end, struct resource *res, struct printf_spec spec, const char *fmt)
返回类型:char
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | buf | |
char * | end | |
struct resource * | res | |
struct printf_spec | spec | |
const char * | fmt |
1012 | static const struct printf_spec io_spec = { number base, 8, 10 or 16 only = 16, width of output field = IO_RSRC_PRINTK_SIZE, # of digits/chars = - 1, flags to number() = prefix hex with "0x", octal with "0" | use lowercase in hex (must be 32 == 0x20) | pad with zero, must be 16 == '0' - ' ' , } |
1018 | static const struct printf_spec mem_spec = { number base, 8, 10 or 16 only = 16, width of output field = MEM_RSRC_PRINTK_SIZE, # of digits/chars = - 1, flags to number() = prefix hex with "0x", octal with "0" | use lowercase in hex (must be 32 == 0x20) | pad with zero, must be 16 == '0' - ' ' , } |
1024 | static const struct printf_spec bus_spec = { number base, 8, 10 or 16 only = 16, width of output field = 2, # of digits/chars = - 1, flags to number() = use lowercase in hex (must be 32 == 0x20) | pad with zero, must be 16 == '0' - ' ' , } |
1030 | static const struct printf_spec str_spec = { width of output field = - 1, # of digits/chars = 10, flags to number() = left justified , } |
1052 | p自加等于'[' |
1053 | 如果flags按位与PCI/ISA I/O ports 则 |
1056 | 否则如果flags按位与IORESOURCE_MEM则 |
1059 | 否则如果flags按位与IORESOURCE_IRQ则 |
1062 | 否则如果flags按位与IORESOURCE_DMA则 |
1065 | 否则如果flags按位与IORESOURCE_BUS则 |
1068 | 否则 |
1073 | 如果decode且flags按位与No address assigned yet 则 |
1076 | 否则 |
1083 | 如果decode则 |
1092 | 否则 |
1096 | p自加等于']' |
1097 | p等于'\0' |
名称 | 描述 |
---|---|
pointer | Show 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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |