Home
last modified time | relevance | path

Searched refs:autogroup (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/kernel/sched/
Dautogroup.c9 static struct autogroup autogroup_default;
17 init_task->signal->autogroup = &autogroup_default; in autogroup_init()
22 kfree(tg->autogroup); in autogroup_free()
27 struct autogroup *ag = container_of(kref, struct autogroup, kref); in autogroup_destroy()
38 static inline void autogroup_kref_put(struct autogroup *ag) in autogroup_kref_put()
43 static inline struct autogroup *autogroup_kref_get(struct autogroup *ag) in autogroup_kref_get()
49 static inline struct autogroup *autogroup_task_get(struct task_struct *p) in autogroup_task_get()
51 struct autogroup *ag; in autogroup_task_get()
57 ag = autogroup_kref_get(p->signal->autogroup); in autogroup_task_get()
63 static inline struct autogroup *autogroup_create(void) in autogroup_create()
[all …]
Dautogroup.h4 struct autogroup { struct
22 return !!tg->autogroup; in task_group_is_autogroup() argument
33 return p->signal->autogroup->tg; in autogroup_task_group()
DMakefile24 obj-$(CONFIG_SCHED_AUTOGROUP) += autogroup.o
Dsched.h390 struct autogroup *autogroup; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c582 if (ft->autogroup.active && fg->max_ftes == ft->autogroup.group_size) in del_sw_flow_group()
583 ft->autogroup.num_groups--; in del_sw_flow_group()
1127 ft->autogroup.active = true; in mlx5_create_auto_grouped_flow_table()
1128 ft->autogroup.required_groups = max_num_groups; in mlx5_create_auto_grouped_flow_table()
1130 ft->autogroup.group_size = ft->max_fte / (max_num_groups + 1); in mlx5_create_auto_grouped_flow_table()
1152 if (ft->autogroup.active) in mlx5_create_flow_group()
1329 if (!ft->autogroup.active) in alloc_auto_flow_group()
1332 if (ft->autogroup.num_groups < ft->autogroup.required_groups) in alloc_auto_flow_group()
1333 group_size = ft->autogroup.group_size; in alloc_auto_flow_group()
1360 if (group_size == ft->autogroup.group_size) in alloc_auto_flow_group()
[all …]
Dfs_core.h167 } autogroup; member
/Linux-v5.4/include/linux/sched/
Dsignal.h165 struct autogroup *autogroup; member