函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:These routines enable/disable the pagefault handler. If disabled, it will* not take any locks and go straight to the fixup table.* User access methods will not sleep when called from a pagefault_disabled()* environment.

函数原型:static inline void pagefault_disable(void)

返回类型:void

参数:

185  pagefault_disabled_inc()
190  The "volatile" is due to gcc bugs ()
调用者
名称描述
copy_from_user_nmiWe rely on the nested NMI work to allow atomic faults from the NMI path; the* nested NMI paths are careful to preserve CR2.
copy_fpstate_to_sigframeSave the fpu, extended register state to the user signal frame.* 'buf_fx' is the 64-byte aligned pointer at which the [f|fx|x]save* state is copied.* 'buf' points to the 'buf_fx' or to the fsave header followed by 'buf_fx'.
__fpu__restore_sig
copy_stack_frame
cmpxchg_futex_value_locked
get_futex_value_locked
is_trap_at_addr
probe_read_common
probe_write_common
__strncpy_from_unsafe
strncpy_from_unsafe_userstrncpy_from_unsafe_user: - Copy a NUL terminated string from unsafe user* address.*@dst: Destination address, in kernel space. This buffer must be at* least @count bytes long.*@unsafe_addr: Unsafe user address.
strnlen_unsafe_userstrnlen_unsafe_user: - Get the size of a user string INCLUDING final NUL.*@unsafe_addr: The string to measure.*@count: Maximum count (including NUL)* Get the size of a NUL-terminated string in user space without pagefault.
__zs_map_object
kmap_atomic
arch_futex_atomic_op_inuser