]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r358176-r358177
authorEmmanuel Vadot <manu@FreeBSD.org>
Mon, 24 Aug 2020 10:28:15 +0000 (10:28 +0000)
committerEmmanuel Vadot <manu@FreeBSD.org>
Mon, 24 Aug 2020 10:28:15 +0000 (10:28 +0000)
commit5ef761145c4c7f43331b26c272523df256a89a1b
tree026cdb55f64510aaba560ec6aa5e4e12c7bb25dd
parentcc13043e2c974318ce14c50eddf2562f8a0ce989
MFC r358176-r358177

r358176:
linuxkpi: Add list_is_first function

This function just test if the element is the first of the list.

Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D23766

r358177:
linuxkpi: Add str_has_prefix

This function test if the string str begins with the string pointed
at by prefix.

Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D23767
sys/compat/linuxkpi/common/include/linux/list.h
sys/compat/linuxkpi/common/include/linux/string.h