函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:autogroup_move_group

函数原型:static void autogroup_move_group(struct task_struct *p, struct autogroup *ag)

返回类型:void

参数:

类型参数名称
struct task_struct *p
struct autogroup *ag
142  BUG_ON(!lock_task_sighand(p, & flags))
144  prev等于autogroup
145  如果prev恒等于ag
146  unlock_task_sighand(p, & flags)
147  返回
150  autogroup等于autogroup_kref_get(ag)
162  for_each_thread(p, t)
163  sched_move_task(t)
165  unlock_task_sighand(p, & flags)
166  autogroup_kref_put(prev)
调用者
名称描述
sched_autogroup_create_attachAllocates GFP_KERNEL, cannot be called under any spinlock:
sched_autogroup_detachCannot be called under siglock. Currently has no users: