| Function report | 
| Source Code: arch\x86\kernel\cpu\resctrl\rdtgroup.c | Create Date:2022-07-28 08:11:04 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:rdtgroup_tasks_write
Proto:static ssize_t rdtgroup_tasks_write(struct kernfs_open_file *of, char *buf, size_t nbytes, loff_t off)
Type:ssize_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kernfs_open_file * | of | |
| char * | buf | |
| size_t | nbytes | |
| loff_t | off | 
| 672 | ret = 0 | 
| 677 | rdtgrp = rdtgroup_kn_lock_live( published fields ) | 
| 678 | If Not rdtgrp Then | 
| 680 | Return -ENOENT | 
| 682 | rdt_last_cmd_clear() | 
| 684 | If mode == RDT_MODE_PSEUDO_LOCKED || mode == RDT_MODE_PSEUDO_LOCKSETUP Then | 
| 691 | ret = rdtgroup_move_task(pid, rdtgrp, of) | 
| 693 | unlock : | 
| 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 |