Lines Matching full:subsys

39  * subsys->su_mutex is held.
720 * subsys->su_mutex is held.
778 struct configfs_subsystem *subsys = NULL; /* gcc is a turd */ in link_group() local
783 subsys = parent_group->cg_subsys; in link_group()
785 subsys = to_configfs_subsystem(group); in link_group()
788 group->cg_subsys = subsys; in link_group()
1106 int configfs_depend_item(struct configfs_subsystem *subsys, in configfs_depend_item() argument
1111 struct config_item *s_item = &subsys->su_group.cg_item; in configfs_depend_item()
1135 /* Ok, now we can trust subsys/s_item */ in configfs_depend_item()
1181 * determine if we should lock root and check subsys or not. When we are
1183 * we know that subsys is valid and is not unregistered during this function
1260 struct configfs_subsystem *subsys; in configfs_mkdir() local
1292 subsys = to_config_group(parent_item)->cg_subsys; in configfs_mkdir()
1293 BUG_ON(!subsys); in configfs_mkdir()
1307 if (!subsys->su_group.cg_item.ci_type) { in configfs_mkdir()
1311 subsys_owner = subsys->su_group.cg_item.ci_type->ct_owner; in configfs_mkdir()
1325 mutex_lock(&subsys->su_mutex); in configfs_mkdir()
1344 mutex_unlock(&subsys->su_mutex); in configfs_mkdir()
1404 mutex_lock(&subsys->su_mutex); in configfs_mkdir()
1413 mutex_unlock(&subsys->su_mutex); in configfs_mkdir()
1440 struct configfs_subsystem *subsys; in configfs_rmdir() local
1452 subsys = to_config_group(parent_item)->cg_subsys; in configfs_rmdir()
1453 BUG_ON(!subsys); in configfs_rmdir()
1461 BUG_ON(!subsys->su_group.cg_item.ci_type); in configfs_rmdir()
1462 subsys_owner = subsys->su_group.cg_item.ci_type->ct_owner; in configfs_rmdir()
1523 mutex_lock(&subsys->su_mutex); in configfs_rmdir()
1529 mutex_lock(&subsys->su_mutex); in configfs_rmdir()
1535 mutex_unlock(&subsys->su_mutex); in configfs_rmdir()
1729 struct configfs_subsystem *subsys = parent_group->cg_subsys; in configfs_register_group() local
1738 mutex_lock(&subsys->su_mutex); in configfs_register_group()
1740 mutex_unlock(&subsys->su_mutex); in configfs_register_group()
1757 mutex_lock(&subsys->su_mutex); in configfs_register_group()
1759 mutex_unlock(&subsys->su_mutex); in configfs_register_group()
1773 struct configfs_subsystem *subsys = group->cg_subsys; in configfs_unregister_group() local
1797 mutex_lock(&subsys->su_mutex); in configfs_unregister_group()
1799 mutex_unlock(&subsys->su_mutex); in configfs_unregister_group()
1847 int configfs_register_subsystem(struct configfs_subsystem *subsys) in configfs_register_subsystem() argument
1850 struct config_group *group = &subsys->su_group; in configfs_register_subsystem()
1907 void configfs_unregister_subsystem(struct configfs_subsystem *subsys) in configfs_unregister_subsystem() argument
1909 struct config_group *group = &subsys->su_group; in configfs_unregister_subsystem()