函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:uuid_string

函数原型:static __attribute__((__noinline__)) char *uuid_string(char *buf, char *end, const u8 *addr, struct printf_spec spec, const char *fmt)

返回类型:char

参数:

类型参数名称
char *buf
char *end
const u8 *addr
struct printf_specspec
const char *fmt
1663  p等于uuid
1665  index等于uuid_index
1666  bool uc = false
1668  如果check_pointer( & buf, end, addr, spec)则返回:buf
1672  :* == 'L'
1673  uc = true
1674  :* == 'l'
1675  index等于guid_index
1676  退出
1677  :* == 'B'
1678  uc = true
1679  退出
1682 i小于16循环
1683  如果ucp等于hex_byte_pack_upper(p, addr[index[i]])
1685  否则p等于hex_byte_pack(p, addr[index[i]])
1688  :i恒等于3
1689  :i恒等于5
1690  :i恒等于7
1691  :i恒等于9
1692  p自加等于'-'
1693  退出
1697  p等于0
1699  返回:Handle string from a well known address.
调用者
名称描述
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