Lines Matching refs:subsys
796 struct configfs_subsystem *subsys = NULL; /* gcc is a turd */ in link_group() local
801 subsys = parent_group->cg_subsys; in link_group()
803 subsys = to_configfs_subsystem(group); in link_group()
806 group->cg_subsys = subsys; in link_group()
1124 int configfs_depend_item(struct configfs_subsystem *subsys, in configfs_depend_item() argument
1129 struct config_item *s_item = &subsys->su_group.cg_item; in configfs_depend_item()
1277 struct configfs_subsystem *subsys; in configfs_mkdir() local
1309 subsys = to_config_group(parent_item)->cg_subsys; in configfs_mkdir()
1310 BUG_ON(!subsys); in configfs_mkdir()
1324 if (!subsys->su_group.cg_item.ci_type) { in configfs_mkdir()
1328 subsys_owner = subsys->su_group.cg_item.ci_type->ct_owner; in configfs_mkdir()
1342 mutex_lock(&subsys->su_mutex); in configfs_mkdir()
1361 mutex_unlock(&subsys->su_mutex); in configfs_mkdir()
1421 mutex_lock(&subsys->su_mutex); in configfs_mkdir()
1430 mutex_unlock(&subsys->su_mutex); in configfs_mkdir()
1457 struct configfs_subsystem *subsys; in configfs_rmdir() local
1469 subsys = to_config_group(parent_item)->cg_subsys; in configfs_rmdir()
1470 BUG_ON(!subsys); in configfs_rmdir()
1478 BUG_ON(!subsys->su_group.cg_item.ci_type); in configfs_rmdir()
1479 subsys_owner = subsys->su_group.cg_item.ci_type->ct_owner; in configfs_rmdir()
1539 mutex_lock(&subsys->su_mutex); in configfs_rmdir()
1545 mutex_lock(&subsys->su_mutex); in configfs_rmdir()
1551 mutex_unlock(&subsys->su_mutex); in configfs_rmdir()
1745 struct configfs_subsystem *subsys = parent_group->cg_subsys; in configfs_register_group() local
1754 mutex_lock(&subsys->su_mutex); in configfs_register_group()
1756 mutex_unlock(&subsys->su_mutex); in configfs_register_group()
1773 mutex_lock(&subsys->su_mutex); in configfs_register_group()
1775 mutex_unlock(&subsys->su_mutex); in configfs_register_group()
1789 struct configfs_subsystem *subsys = group->cg_subsys; in configfs_unregister_group() local
1813 mutex_lock(&subsys->su_mutex); in configfs_unregister_group()
1815 mutex_unlock(&subsys->su_mutex); in configfs_unregister_group()
1863 int configfs_register_subsystem(struct configfs_subsystem *subsys) in configfs_register_subsystem() argument
1866 struct config_group *group = &subsys->su_group; in configfs_register_subsystem()
1919 void configfs_unregister_subsystem(struct configfs_subsystem *subsys) in configfs_unregister_subsystem() argument
1921 struct config_group *group = &subsys->su_group; in configfs_unregister_subsystem()