/linux-6.3-rc2/drivers/hwtracing/coresight/ |
A D | coresight-syscfg-configfs.c | 397 struct config_group *new_group; in cscfg_configfs_add_config() local 400 new_group = cscfg_create_config_group(config_desc); in cscfg_configfs_add_config() 401 if (IS_ERR(new_group)) in cscfg_configfs_add_config() 402 return PTR_ERR(new_group); in cscfg_configfs_add_config() 403 err = configfs_register_group(&cscfg_configs_grp, new_group); in cscfg_configfs_add_config() 405 config_desc->fs_group = new_group; in cscfg_configfs_add_config() 431 struct config_group *new_group; in cscfg_configfs_add_feature() local 434 new_group = cscfg_create_feature_group(feat_desc); in cscfg_configfs_add_feature() 435 if (IS_ERR(new_group)) in cscfg_configfs_add_feature() 436 return PTR_ERR(new_group); in cscfg_configfs_add_feature() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_qos.c | 294 static int sparx5_lg_add(struct sparx5 *sparx5, u32 layer, u32 new_group, in sparx5_lg_add() argument 299 pr_debug("ADD: layer: %d, new_group: %d, idx: %d", layer, new_group, in sparx5_lg_add() 304 if (old_group != new_group) { in sparx5_lg_add() 316 if (sparx5_lg_is_empty(sparx5, layer, new_group)) in sparx5_lg_add() 319 next = sparx5_lg_get_first(sparx5, layer, new_group); in sparx5_lg_add() 321 return sparx5_lg_conf_set(sparx5, layer, new_group, first, idx, next, in sparx5_lg_add()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | qos.c | 350 struct mlx5_esw_rate_group *new_group, in esw_qos_update_group_scheduling_element() argument 364 vport->qos.group = new_group; in esw_qos_update_group_scheduling_element() 365 max_rate = vport->qos.max_rate ? vport->qos.max_rate : new_group->max_rate; in esw_qos_update_group_scheduling_element() 394 struct mlx5_esw_rate_group *new_group, *curr_group; in esw_qos_vport_update_group() local 401 new_group = group ?: esw->qos.group0; in esw_qos_vport_update_group() 402 if (curr_group == new_group) in esw_qos_vport_update_group() 405 err = esw_qos_update_group_scheduling_element(esw, vport, curr_group, new_group, extack); in esw_qos_vport_update_group() 410 if (vport->qos.bw_share || new_group->bw_share) { in esw_qos_vport_update_group() 412 esw_qos_normalize_vports_min_rate(esw, new_group, extack); in esw_qos_vport_update_group()
|
/linux-6.3-rc2/drivers/base/ |
A D | memory.c | 1023 struct memory_group *new_group; in memory_group_register() local 1030 new_group = kzalloc(sizeof(group), GFP_KERNEL); in memory_group_register() 1031 if (!new_group) in memory_group_register() 1033 *new_group = group; in memory_group_register() 1034 INIT_LIST_HEAD(&new_group->memory_blocks); in memory_group_register() 1036 ret = xa_alloc(&memory_groups, &mgid, new_group, xa_limit_31b, in memory_group_register() 1039 kfree(new_group); in memory_group_register()
|
/linux-6.3-rc2/fs/configfs/ |
A D | dir.c | 695 struct config_group *new_group; in populate_groups() local 698 list_for_each_entry(new_group, &group->default_groups, group_entry) { in populate_groups() 699 ret = create_default_group(group, new_group, frag); in populate_groups() 768 struct config_group *new_group; in unlink_group() local 770 list_for_each_entry(new_group, &group->default_groups, group_entry) in unlink_group() 771 unlink_group(new_group); in unlink_group() 779 struct config_group *new_group; in link_group() local 792 list_for_each_entry(new_group, &group->default_groups, group_entry) in link_group() 793 link_group(group, new_group); in link_group()
|
/linux-6.3-rc2/include/linux/ |
A D | configfs.h | 109 static inline void configfs_add_default_group(struct config_group *new_group, in configfs_add_default_group() argument 112 list_add_tail(&new_group->group_entry, &group->default_groups); in configfs_add_default_group()
|
/linux-6.3-rc2/net/core/ |
A D | dev.h | 87 void dev_set_group(struct net_device *dev, int new_group);
|
A D | net-sysfs.c | 470 static int change_group(struct net_device *dev, unsigned long new_group) in change_group() argument 472 dev_set_group(dev, (int)new_group); in change_group()
|
A D | dev.c | 8735 void dev_set_group(struct net_device *dev, int new_group) in dev_set_group() argument 8737 dev->group = new_group; in dev_set_group()
|
/linux-6.3-rc2/sound/core/ |
A D | pcm_native.c | 1290 struct snd_pcm_group *new_group) in snd_pcm_group_assign() argument 1292 substream->group = new_group; in snd_pcm_group_assign() 1293 list_move(&substream->link_list, &new_group->substreams); in snd_pcm_group_assign()
|
/linux-6.3-rc2/drivers/md/ |
A D | raid5.c | 7437 struct r5worker_group *new_group; in setup_conf() local 7488 if (!alloc_thread_groups(conf, 0, &group_cnt, &new_group)) { in setup_conf() 7491 conf->worker_groups = new_group; in setup_conf()
|