Lines Matching refs:subsys

780 	struct configfs_subsystem *subsys = NULL; /* gcc is a turd */  in link_group()  local
785 subsys = parent_group->cg_subsys; in link_group()
787 subsys = to_configfs_subsystem(group); in link_group()
790 group->cg_subsys = subsys; in link_group()
1108 int configfs_depend_item(struct configfs_subsystem *subsys, in configfs_depend_item() argument
1113 struct config_item *s_item = &subsys->su_group.cg_item; in configfs_depend_item()
1262 struct configfs_subsystem *subsys; in configfs_mkdir() local
1294 subsys = to_config_group(parent_item)->cg_subsys; in configfs_mkdir()
1295 BUG_ON(!subsys); in configfs_mkdir()
1309 if (!subsys->su_group.cg_item.ci_type) { in configfs_mkdir()
1313 subsys_owner = subsys->su_group.cg_item.ci_type->ct_owner; in configfs_mkdir()
1327 mutex_lock(&subsys->su_mutex); in configfs_mkdir()
1346 mutex_unlock(&subsys->su_mutex); in configfs_mkdir()
1406 mutex_lock(&subsys->su_mutex); in configfs_mkdir()
1415 mutex_unlock(&subsys->su_mutex); in configfs_mkdir()
1442 struct configfs_subsystem *subsys; in configfs_rmdir() local
1454 subsys = to_config_group(parent_item)->cg_subsys; in configfs_rmdir()
1455 BUG_ON(!subsys); in configfs_rmdir()
1463 BUG_ON(!subsys->su_group.cg_item.ci_type); in configfs_rmdir()
1464 subsys_owner = subsys->su_group.cg_item.ci_type->ct_owner; in configfs_rmdir()
1525 mutex_lock(&subsys->su_mutex); in configfs_rmdir()
1531 mutex_lock(&subsys->su_mutex); in configfs_rmdir()
1537 mutex_unlock(&subsys->su_mutex); in configfs_rmdir()
1726 struct configfs_subsystem *subsys = parent_group->cg_subsys; in configfs_register_group() local
1735 mutex_lock(&subsys->su_mutex); in configfs_register_group()
1737 mutex_unlock(&subsys->su_mutex); in configfs_register_group()
1754 mutex_lock(&subsys->su_mutex); in configfs_register_group()
1756 mutex_unlock(&subsys->su_mutex); in configfs_register_group()
1770 struct configfs_subsystem *subsys = group->cg_subsys; in configfs_unregister_group() local
1794 mutex_lock(&subsys->su_mutex); in configfs_unregister_group()
1796 mutex_unlock(&subsys->su_mutex); in configfs_unregister_group()
1844 int configfs_register_subsystem(struct configfs_subsystem *subsys) in configfs_register_subsystem() argument
1847 struct config_group *group = &subsys->su_group; in configfs_register_subsystem()
1904 void configfs_unregister_subsystem(struct configfs_subsystem *subsys) in configfs_unregister_subsystem() argument
1906 struct config_group *group = &subsys->su_group; in configfs_unregister_subsystem()