函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_kmod.c Create Date:2022-07-27 07:32:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:XXX: move to kstrncpy() once merged.* Users should use kfree_const() when freeing these.

函数原型:static int __kstrncpy(char **dst, const char *name, size_t count, gfp_t gfp)

返回类型:int

参数:

类型参数名称
char **dst
const char *name
size_tcount
gfp_tgfp
606  dst等于kstrndup(name, count, gfp)
607  如果非dst则返回:负ENOSPC
609  返回:count
调用者
名称描述
config_copy_test_driver_name
config_copy_test_fs