函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\task_stack.h Create Date:2022-07-27 06:42:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:object_is_on_stack

函数原型:static inline int object_is_on_stack(const void *obj)

返回类型:int

参数:

类型参数名称
const void *obj
83  stack等于task_stack_page(当前进程)
85  返回:obj大于等于stackobj小于stackTHREAD_SIZE
调用者
名称描述
debug_object_is_on_stack
check_for_stack
check_stackThe stack tracer looks for a maximum stack at each call from a function. It* registers a callback from ftrace, and in that callback it examines the stack* size. It determines the stack size from the variable passed in, which is the
get_address_stack_frame_info
blk_rq_map_kernlk_rq_map_kern - map kernel data to a request, for passthrough requests*@q: request queue where request should be inserted*@rq: request to fill*@kbuf: the kernel buffer*@len: length of user data*@gfp_mask: memory allocation flags* Description: