Lines Matching full:subsys
39 * subsys->su_mutex is held.
732 * subsys->su_mutex is held.
790 struct configfs_subsystem *subsys = NULL; /* gcc is a turd */ in link_group() local
795 subsys = parent_group->cg_subsys; in link_group()
797 subsys = to_configfs_subsystem(group); in link_group()
800 group->cg_subsys = subsys; in link_group()
1118 int configfs_depend_item(struct configfs_subsystem *subsys, in configfs_depend_item() argument
1123 struct config_item *s_item = &subsys->su_group.cg_item; in configfs_depend_item()
1147 /* Ok, now we can trust subsys/s_item */ in configfs_depend_item()
1193 * determine if we should lock root and check subsys or not. When we are
1195 * we know that subsys is valid and is not unregistered during this function
1272 struct configfs_subsystem *subsys; in configfs_mkdir() local
1304 subsys = to_config_group(parent_item)->cg_subsys; in configfs_mkdir()
1305 BUG_ON(!subsys); in configfs_mkdir()
1319 if (!subsys->su_group.cg_item.ci_type) { in configfs_mkdir()
1323 subsys_owner = subsys->su_group.cg_item.ci_type->ct_owner; in configfs_mkdir()
1337 mutex_lock(&subsys->su_mutex); in configfs_mkdir()
1356 mutex_unlock(&subsys->su_mutex); in configfs_mkdir()
1416 mutex_lock(&subsys->su_mutex); in configfs_mkdir()
1425 mutex_unlock(&subsys->su_mutex); in configfs_mkdir()
1452 struct configfs_subsystem *subsys; in configfs_rmdir() local
1464 subsys = to_config_group(parent_item)->cg_subsys; in configfs_rmdir()
1465 BUG_ON(!subsys); in configfs_rmdir()
1473 BUG_ON(!subsys->su_group.cg_item.ci_type); in configfs_rmdir()
1474 subsys_owner = subsys->su_group.cg_item.ci_type->ct_owner; in configfs_rmdir()
1535 mutex_lock(&subsys->su_mutex); in configfs_rmdir()
1541 mutex_lock(&subsys->su_mutex); in configfs_rmdir()
1547 mutex_unlock(&subsys->su_mutex); in configfs_rmdir()
1736 struct configfs_subsystem *subsys = parent_group->cg_subsys; in configfs_register_group() local
1745 mutex_lock(&subsys->su_mutex); in configfs_register_group()
1747 mutex_unlock(&subsys->su_mutex); in configfs_register_group()
1764 mutex_lock(&subsys->su_mutex); in configfs_register_group()
1766 mutex_unlock(&subsys->su_mutex); in configfs_register_group()
1780 struct configfs_subsystem *subsys = group->cg_subsys; in configfs_unregister_group() local
1804 mutex_lock(&subsys->su_mutex); in configfs_unregister_group()
1806 mutex_unlock(&subsys->su_mutex); in configfs_unregister_group()
1854 int configfs_register_subsystem(struct configfs_subsystem *subsys) in configfs_register_subsystem() argument
1857 struct config_group *group = &subsys->su_group; in configfs_register_subsystem()
1914 void configfs_unregister_subsystem(struct configfs_subsystem *subsys) in configfs_unregister_subsystem() argument
1916 struct config_group *group = &subsys->su_group; in configfs_unregister_subsystem()