Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\hexdump.c Create Date:2022-07-28 06:26:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hex_to_bin - convert a hex digit to its real value*@ch: ascii character represents hex digit* hex_to_bin() converts one hex digit to its actual value or -1 in case of bad* input.

Proto:int hex_to_bin(char ch)

Type:int

Parameter:

TypeParameterName
charch
27  If ch >= '0' && ch <= '9' Then Return ch - '0'
29  ch = tolower(ch)
30  If ch >= 'a' && ch <= 'f' Then Return ch - 'a' + 10
32  Return -1
Caller
NameDescribe
__uuid_parse
unescape_hex
hex2binhex2bin - convert an ascii hexadecimal string to its binary representation*@dst: binary result*@src: ascii hexadecimal string*@count: result length* Return 0 on success, -EINVAL in case of bad input.
mac_pton
get_packetscan for the sequence $#
kgdb_hex2memConvert the hex array pointed to by buf into binary to be placed in* mem. Return a pointer to the character AFTER the last byte* written. May return an error.
kgdb_hex2longWhile we find nice hex chars, build a long_val.* Return number of chars processed.
sel_write_create