函数逻辑报告 |
Source Code:include\linux\mm.h |
Create Date:2022-07-27 06:44:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:kvmalloc
函数原型:static inline void *kvmalloc(size_t size, gfp_t flags)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| size_t | size | |
| gfp_t | flags |
| 655 | 返回:kvmalloc_node(size, flags, NUMA_NO_NODE) |
| 名称 | 描述 |
|---|---|
| test_kvmalloc | Allocator uses a trailing node argument --------+ (e.g. kmalloc_node())* Allocator uses the gfp_t argument -----------+ | (e.g. kmalloc())* Allocator uses a special leading argument + | | (e.g. devm_kmalloc())* | | | |
| btf_parse | |
| vmemdup_user | vmemdup_user - duplicate memory region from user space*@src: source address in user space*@len: number of bytes to copy* Return: an ERR_PTR() on failure. Result may be not* physically contiguous. Use kvfree() to free. |
| memcg_expand_one_shrinker_map | |
| frame_vector_create | ame_vector_create() - allocate & initialize structure for pinned pfns*@nr_frames: number of pfns slots we should reserve* Allocate and initialize struct pinned_pfns to be able to hold @nr_pfns* pfns. |
| newque | wque - Create a new msg queue*@ns: namespace*@params: ptr to the structure that contains the key and msgflg* Called with msg_ids.rwsem held (writer) |
| newseg | wseg - Create a new shared memory segment*@ns: namespace*@params: ptr to the structure that contains key, size and shmflg* Called with shm_ids.rwsem held as a writer. |
| SYSCALL_DEFINE5 | Extract the description of a new key from userspace and either add it as a* new key to the specified keyring or update a matching key in that keyring.* If the description is NULL or an empty string, the key type is asked to* generate one from the payload. |
| keyctl_instantiate_key_common | Instantiate a key with the specified payload and link the key into the* destination keyring if one is given.* The caller must have the appropriate instantiation permit set for this to* work (see keyctl_assume_authority). No other permissions are required. |
| kvmemdup | |
| core_sys_select | We can actually return ERESTARTSYS instead of EINTR, but I'd* like to be certain this leads to no problems. So I return* EINTR just for safety.* Update: ERESTARTSYS breaks at least the xview clock binary, so |
| alloc_fdtable | |
| seq_buf_alloc | |
| setxattr | Extended attribute SET operations |
| listxattr | Extended attribute LIST operations |
| kvzalloc | |
| kvmalloc_array |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |