Lines Matching refs:parent_item
620 static int configfs_attach_group(struct config_item *parent_item,
754 static void link_obj(struct config_item *parent_item, struct config_item *item) in link_obj() argument
760 item->ci_parent = parent_item; in link_obj()
766 item->ci_group = config_group_get(to_config_group(parent_item)); in link_obj()
821 static int configfs_attach_item(struct config_item *parent_item, in configfs_attach_item() argument
856 static int configfs_attach_group(struct config_item *parent_item, in configfs_attach_group() argument
864 ret = configfs_attach_item(parent_item, item, dentry, frag); in configfs_attach_group()
911 static void client_disconnect_notify(struct config_item *parent_item, in client_disconnect_notify() argument
916 type = parent_item->ci_type; in client_disconnect_notify()
920 type->ct_group_ops->disconnect_notify(to_config_group(parent_item), in client_disconnect_notify()
930 static void client_drop_item(struct config_item *parent_item, in client_drop_item() argument
935 type = parent_item->ci_type; in client_drop_item()
943 type->ct_group_ops->drop_item(to_config_group(parent_item), in client_drop_item()
1271 struct config_item *parent_item; in configfs_mkdir() local
1302 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_mkdir()
1303 type = parent_item->ci_type; in configfs_mkdir()
1304 subsys = to_config_group(parent_item)->cg_subsys; in configfs_mkdir()
1339 group = type->ct_group_ops->make_group(to_config_group(parent_item), name); in configfs_mkdir()
1343 link_group(to_config_group(parent_item), group); in configfs_mkdir()
1348 item = type->ct_group_ops->make_item(to_config_group(parent_item), name); in configfs_mkdir()
1352 link_obj(parent_item, item); in configfs_mkdir()
1403 ret = configfs_attach_group(parent_item, item, dentry, frag); in configfs_mkdir()
1405 ret = configfs_attach_item(parent_item, item, dentry, frag); in configfs_mkdir()
1418 client_disconnect_notify(parent_item, item); in configfs_mkdir()
1423 client_drop_item(parent_item, item); in configfs_mkdir()
1441 config_item_put(parent_item); in configfs_mkdir()
1450 struct config_item *parent_item; in configfs_rmdir() local
1463 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_rmdir()
1464 subsys = to_config_group(parent_item)->cg_subsys; in configfs_rmdir()
1467 if (!parent_item->ci_type) { in configfs_rmdir()
1468 config_item_put(parent_item); in configfs_rmdir()
1501 config_item_put(parent_item); in configfs_rmdir()
1517 config_item_put(parent_item); in configfs_rmdir()
1527 config_item_put(parent_item); in configfs_rmdir()
1536 client_disconnect_notify(parent_item, item); in configfs_rmdir()
1542 client_disconnect_notify(parent_item, item); in configfs_rmdir()
1546 client_drop_item(parent_item, item); in configfs_rmdir()