Function report |
Source Code:kernel\sched\debug.c |
Create Date:2022-07-28 09:43:54 |
| Last Modify:2020-03-17 13:39:02 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sched_feat_write
Proto:static ssize_t sched_feat_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | filp | |
| const char __user * | ubuf | |
| size_t | cnt | |
| loff_t * | ppos |
| 138 | If copy_from_user( & buf, ubuf, cnt) Then Return -EFAULT |
| 145 | inode = file_inode(filp) |
| 146 | cpus_read_lock() |
| 147 | inode_lock(inode) |
| 148 | ret = sched_feat_set(cmp) |
| 149 | inode_unlock(inode) |
| 150 | cpus_read_unlock() |
| 156 | Return cnt |
| 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 |