Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\task_stack.h Create Date:2022-07-28 05:41:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:object_is_on_stack

Proto:static inline int object_is_on_stack(const void *obj)

Type:int

Parameter:

TypeParameterName
const void *obj
83  stack = task_stack_page(current process)
85  Return obj >= stack && obj < stack + THREAD_SIZE
Caller
NameDescribe
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: