函数逻辑报告 |
Source Code:mm\util.c |
Create Date:2022-07-27 15:45:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:kmemdup - duplicate region of memory*@src: memory region to duplicate*@len: memory region length*@gfp: GFP mask to use* Return: newly allocated copy of @src or %NULL in case of error
函数原型:void *kmemdup(const void *src, size_t len, gfp_t gfp)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const void * | src | |
| size_t | len | |
| gfp_t | gfp |
| 127 | p等于kmalloc_track_caller(len, gfp) |
| 130 | 返回:p |
| 名称 | 描述 |
|---|---|
| dup_iter | |
| e820__reallocate_tables | Called late during init, in free_initmem().* Initial e820_table and e820_table_kexec are largish __initdata arrays.* Copy them to a (usually much smaller) dynamically allocated area that is* sized precisely after the number of e820 entries. |
| memdup_patch | |
| verify_and_add_patch | Return a non-negative value even if some of the checks failed so that* we can skip over the next patch. If we return a negative value, we* signal a grave error like a memory allocation has failed and the* driver cannot continue functioning normally |
| alloc_msi_entry | alloc_msi_entry - Allocate an initialize msi_entry*@dev: Pointer to the device for which this is allocated*@nvec: The number of vectors used in this entry*@affinity: Optional pointer to an affinity mask array size of @nvec* If @affinity is not NULL then |
| copy_module_elf | Persist Elf information about a module. Copy the Elf header,* section header table, section string table, and symtab section* index from info to mod->klp_info. |
| cgroup_init_cftypes | |
| alloc_trial_cpuset | alloc_trial_cpuset - allocate a trial cpuset*@cs: the cpuset that the trial cpuset duplicates |
| sort_idmaps | sort_idmaps - Sorts an array of idmap entries.* Can only be called if number of mappings exceeds UID_GID_MAP_MAX_BASE_EXTENTS. |
| gcov_info_dup | gcov_info_dup - duplicate profiling data set*@info: profiling data set to duplicate* Return newly allocated duplicate on success, %NULL on error. |
| gcov_info_dup | gcov_info_dup - duplicate profiling data set*@info: profiling data set to duplicate* Return newly allocated duplicate on success, %NULL on error. |
| gcov_fn_info_dup | |
| gcov_info_dup | gcov_info_dup - duplicate profiling data set*@info: profiling data set to duplicate* Return newly allocated duplicate on success, %NULL on error. |
| bpf_insn_prepare_dump | |
| get_msid_cpin_pin | |
| request_key_auth_new | Create an authorisation token for /sbin/request-key or whoever to gain* access to the caller's security data. |
| dh_data_from_key | |
| selinux_xfrm_policy_clone | LSM hook implementation that copies security data structure from old to new* for policy cloning. |
| unpack_strdup | |
| dev_exceptions_copy | alled under devcgroup_mutex |
| dev_exception_add | alled under devcgroup_mutex |
| add_rules | |
| legacy_fs_context_dup | Duplicate a legacy config. |
| __fscrypt_encrypt_symlink | |
| posix_acl_clone | Clone an ACL. |
| setup_userns_sysctls | |
| get_active_key_cont | |
| key_alloc | key_alloc - Allocate a key of the specified type.*@type: The type of key to allocate.*@desc: The key description to allow the key to be searched out.*@uid: The owner of the new key.*@gid: The group ID for the new key's group permissions. |
| vfs_dup_fs_context | vfs_dup_fc_config: Duplicate a filesystem context.*@src_fc: The context to copy. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |