函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:save_stack

函数原型:static noinline depot_stack_handle_t save_stack(gfp_t flags)

返回类型:depot_stack_handle_t

参数:

类型参数名称
gfp_tflags
122  nr_entries等于stack_trace_save - Save a stack trace into a storage array*@store: Pointer to storage array*@size: Size of the storage array*@skipnr: Number of entries to skip at the start of the stack trace* Return: Number of trace entries stored.
132  如果check_recursive_alloc(entries, nr_entries, _RET_IP_)则返回:dummy_handle
135  handle等于stack_depot_save - Save a stack trace from an array*@entries: Pointer to storage array*@nr_entries: Size of the storage array*@alloc_flags: Allocation gfp flags* Return: The handle of the stack struct stored in depot
136  如果非handlehandle等于failure_handle
139  返回:handle
调用者
名称描述
__reset_page_owner
__set_page_owner