Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:XXX: move to kstrncpy() once merged.* Users should use kfree_const() when freeing these.

Proto:static int __kstrncpy(char **dst, const char *name, size_t count, gfp_t gfp)

Type:int

Parameter:

TypeParameterName
char **dst
const char *name
size_tcount
gfp_tgfp
606  dst = kstrndup(name, count, gfp)
607  If Not dst Then Return -ENOSPC
609  Return count
Caller
NameDescribe
config_copy_test_driver_name
config_copy_test_fs