Function report |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-28 08:11:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rdtgroup_move_task
Proto:static int rdtgroup_move_task(pid_t pid, struct rdtgroup *rdtgrp, struct kernfs_open_file *of)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
pid_t | pid | |
struct rdtgroup * | rdtgrp | |
struct kernfs_open_file * | of |
646 | If pid Then |
648 | If Not tsk Then |
653 | Else |
654 | tsk = current process |
657 | get_task_struct(tsk) |
660 | ret = rdtgroup_task_write_permission(tsk, of) |
661 | If Not ret Then ret = __rdtgroup_move_task(tsk, rdtgrp) |
664 | put_task_struct(tsk) |
665 | Return ret |
Name | Describe |
---|---|
rdtgroup_tasks_write |
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 |