函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__output_copy_user

函数原型:static inline unsigned long __output_copy_user(struct perf_output_handle *handle, const void *buf, unsigned long len)

返回类型:unsigned long

参数:

类型参数名称
struct perf_output_handle *handle
const void *buf
unsigned longlen
204  循环
204  size等于__builtin_choose_expr(((!!(1恒等于1的长度)) && ((sizeof(int) == *如果8则size乘0l否则8的长度) && (sizeof(int) == *如果8则len乘0l否则8的长度))), ((size) < (len) ? (size) : (len)), ({typeof(size)__UNIQUE_ID___x = (size);typeof(len)__UNIQUE_ID___y = (len);((__UNIQUE_ID___x) < (__UNIQUE_ID___y) ? (__UNIQUE_ID___x) : (__UNIQUE_ID___y));}))
204  written等于We rely on the nested NMI work to allow atomic faults from the NMI path; the* nested NMI paths are careful to preserve CR2.
204  written等于sizewritten
204  len减等于written
204  addr加等于written
204  如果(true)则buf加等于written
204  size减等于written
204  如果非size
204  rb等于rb
204  page自加
204  page与等于 nr of data pages 减1
204  addr等于data_pages[page]
204  size等于1UL左移12位左移page_order(rb)位
204 lenwritten恒等于size循环
204  返回:len
调用者
名称描述
perf_output_sample_ustack