Lines Matching refs:group

47 	struct config_group	group;  member
59 struct config_group *group; in to_dev_port_group() local
64 group = container_of(item, struct config_group, cg_item); in to_dev_port_group()
65 return container_of(group, struct cma_dev_port_group, group); in to_dev_port_group()
77 struct cma_dev_port_group *group = to_dev_port_group(item); in cma_configfs_params_get() local
80 if (!group) in cma_configfs_params_get()
84 group->cma_dev_group->name); in cma_configfs_params_get()
89 *pgroup = group; in cma_configfs_params_get()
103 struct cma_dev_port_group *group; in default_roce_mode_show() local
107 ret = cma_configfs_params_get(item, &cma_dev, &group); in default_roce_mode_show()
111 gid_type = cma_get_default_gid_type(cma_dev, group->port_num); in default_roce_mode_show()
124 struct cma_dev_port_group *group; in default_roce_mode_store() local
128 ret = cma_configfs_params_get(item, &cma_dev, &group); in default_roce_mode_store()
138 ret = cma_set_default_gid_type(cma_dev, group->port_num, gid_type); in default_roce_mode_store()
150 struct cma_dev_port_group *group; in default_roce_tos_show() local
154 ret = cma_configfs_params_get(item, &cma_dev, &group); in default_roce_tos_show()
158 tos = cma_get_default_roce_tos(cma_dev, group->port_num); in default_roce_tos_show()
168 struct cma_dev_port_group *group; in default_roce_tos_store() local
176 ret = cma_configfs_params_get(item, &cma_dev, &group); in default_roce_tos_store()
180 ret = cma_set_default_roce_tos(cma_dev, group->port_num, tos); in default_roce_tos_store()
225 config_group_init_type_name(&ports[i].group, in make_cma_ports()
228 configfs_add_default_group(&ports[i].group, in make_cma_ports()
238 struct config_group *group = container_of(item, struct config_group, in release_cma_dev() local
240 struct cma_dev_group *cma_dev_group = container_of(group, in release_cma_dev()
249 struct config_group *group = container_of(item, struct config_group, in release_cma_ports_group() local
251 struct cma_dev_group *cma_dev_group = container_of(group, in release_cma_ports_group()
277 static struct config_group *make_cma_dev(struct config_group *group, in make_cma_dev() argument
321 struct config_group *group = in drop_cma_dev() local
324 container_of(group, struct cma_dev_group, device_group); in drop_cma_dev()