Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/sched/
Dautogroup.c8 static struct autogroup autogroup_default;
38 init_task->signal->autogroup = &autogroup_default; in autogroup_init()
44 kfree(tg->autogroup); in autogroup_free()
49 struct autogroup *ag = container_of(kref, struct autogroup, kref); in autogroup_destroy()
60 static inline void autogroup_kref_put(struct autogroup *ag) in autogroup_kref_put()
65 static inline struct autogroup *autogroup_kref_get(struct autogroup *ag) in autogroup_kref_get()
71 static inline struct autogroup *autogroup_task_get(struct task_struct *p) in autogroup_task_get()
73 struct autogroup *ag; in autogroup_task_get()
79 ag = autogroup_kref_get(p->signal->autogroup); in autogroup_task_get()
85 static inline struct autogroup *autogroup_create(void) in autogroup_create()
[all …]
Dautogroup.h7 struct autogroup { struct
25 return !!tg->autogroup; in task_group_is_autogroup() argument
37 return p->signal->autogroup->tg; in autogroup_task_group()
Dsched.h401 struct autogroup *autogroup; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dvporttbl.c40 ft_attr.autogroup.max_num_groups = vport_ns->max_num_groups; in esw_vport_tbl_create()
42 ft_attr.autogroup.max_num_groups = esw->params.large_group_num; in esw_vport_tbl_create()
Dlegacy.c39 ft_attr.autogroup.max_num_groups = 2; in esw_create_legacy_vepa_table()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c736 if (ft->autogroup.active && in del_sw_flow_group()
737 fg->max_ftes == ft->autogroup.group_size && in del_sw_flow_group()
738 fg->start_index < ft->autogroup.max_fte) in del_sw_flow_group()
739 ft->autogroup.num_groups--; in del_sw_flow_group()
1353 int num_reserved_entries = ft_attr->autogroup.num_reserved_entries; in mlx5_create_auto_grouped_flow_table()
1354 int max_num_groups = ft_attr->autogroup.max_num_groups; in mlx5_create_auto_grouped_flow_table()
1372 ft->autogroup.active = true; in mlx5_create_auto_grouped_flow_table()
1373 ft->autogroup.required_groups = max_num_groups; in mlx5_create_auto_grouped_flow_table()
1374 ft->autogroup.max_fte = autogroups_max_fte; in mlx5_create_auto_grouped_flow_table()
1376 ft->autogroup.group_size = autogroups_max_fte / (max_num_groups + 1); in mlx5_create_auto_grouped_flow_table()
[all …]
Dfs_core.h203 } autogroup; member
Deswitch_offloads_termtbl.c86 ft_attr.autogroup.max_num_groups = 1; in mlx5_eswitch_termtbl_create()
Den_fs_ethtool.c130 ft_attr.autogroup.max_num_groups = MLX5E_ETHTOOL_NUM_GROUPS; in get_flow_table()
Den_fs.c777 ft_attr.autogroup.max_num_groups = 1; in mlx5e_create_promisc_table()
Den_tc.c5112 ft_attr.autogroup.max_num_groups = 1; in mlx5e_tc_nic_create_miss_table()
/linux-6.6.21/include/linux/sched/
Dsignal.h177 struct autogroup *autogroup; member
/linux-6.6.21/include/linux/mlx5/
Dfs.h210 } autogroup; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c199 ft_attr.autogroup.num_reserved_entries = 2; in mlx5_chains_create_table()
200 ft_attr.autogroup.max_num_groups = chains->group_num; in mlx5_chains_create_table()
Dmacsec_fs.c344 ft_attr.autogroup.num_reserved_entries = 1; in macsec_fs_auto_group_table_create()
345 ft_attr.autogroup.max_num_groups = 1; in macsec_fs_auto_group_table_create()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c83 ft_attr.autogroup.max_num_groups = 1; in sampler_termtbl_create()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_fs.c121 ft_attr.autogroup.num_reserved_entries = 1; in ipsec_ft_create()
122 ft_attr.autogroup.max_num_groups = max_num_groups; in ipsec_ft_create()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dfs.c701 ft_attr.autogroup.max_num_groups = num_groups; in _get_prio()
/linux-6.6.21/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c1764 ft_attr.autogroup.max_num_groups = MAX_STEERING_GROUPS; in setup_steering()