Function report |
Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c |
Create Date:2022-07-28 08:14:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pseudo_lock_measure_trigger
Proto:static ssize_t pseudo_lock_measure_trigger(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
const char __user * | user_buf | |
size_t | count | |
loff_t * | ppos |
1228 | buf_size = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(count, ( size of buf - 1)) |
1229 | If copy_from_user(buf, user_buf, buf_size) Then Return -EFAULT |
1234 | If ret == 0 Then |
1237 | ret = debugfs_file_get(dentry) |
1243 | debugfs_file_put(dentry) |
1246 | Return ret |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |