函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:py_regset_to_user - fetch a thread's user_regset data into user memory*@target: thread to be examined*@view: &struct user_regset_view describing user thread machine state*@setno: index in @view->regsets*@offset: offset into the regset data, in

函数原型:static inline int copy_regset_to_user(struct task_struct *target, const struct user_regset_view *view, unsigned int setno, unsigned int offset, unsigned int size, void __user *data)

返回类型:int

参数:

类型参数名称
struct task_struct *target
const struct user_regset_view *view
unsigned intsetno
unsigned intoffset
unsigned intsize
void __user *data
371  regset等于regsets[setno]
373  如果非get则返回:负EOPNOTSUPP
376  如果非access_ok - Checks if a user space pointer is valid*@addr: User space pointer to start of block to check*@size: Size of block to check* Context: User context only. This function may sleep if pagefaults are* enabled.(data, size)则返回:负EFAULT
379  返回:get(target, regset, offset, size, NULL, data)
调用者
名称描述
arch_ptrace