Lines Matching refs:parent_item
621 static int configfs_attach_group(struct config_item *parent_item,
749 static void link_obj(struct config_item *parent_item, struct config_item *item)
755 item->ci_parent = parent_item;
761 item->ci_group = config_group_get(to_config_group(parent_item));
826 static int configfs_attach_item(struct config_item *parent_item,
860 static int configfs_attach_group(struct config_item *parent_item,
867 ret = configfs_attach_item(parent_item, item, dentry);
914 static void client_disconnect_notify(struct config_item *parent_item,
919 type = parent_item->ci_type;
923 type->ct_group_ops->disconnect_notify(to_config_group(parent_item),
933 static void client_drop_item(struct config_item *parent_item,
938 type = parent_item->ci_type;
946 type->ct_group_ops->drop_item(to_config_group(parent_item),
1179 struct config_item *parent_item;
1208 parent_item = configfs_get_config_item(dentry->d_parent);
1209 type = parent_item->ci_type;
1210 subsys = to_config_group(parent_item)->cg_subsys;
1245 group = type->ct_group_ops->make_group(to_config_group(parent_item), name);
1249 link_group(to_config_group(parent_item), group);
1254 item = type->ct_group_ops->make_item(to_config_group(parent_item), name);
1258 link_obj(parent_item, item);
1309 ret = configfs_attach_group(parent_item, item, dentry);
1311 ret = configfs_attach_item(parent_item, item, dentry);
1324 client_disconnect_notify(parent_item, item);
1329 client_drop_item(parent_item, item);
1347 config_item_put(parent_item);
1355 struct config_item *parent_item;
1370 parent_item = configfs_get_config_item(dentry->d_parent);
1371 subsys = to_config_group(parent_item)->cg_subsys;
1374 if (!parent_item->ci_type) {
1375 config_item_put(parent_item);
1408 config_item_put(parent_item);
1422 config_item_put(parent_item);
1431 client_disconnect_notify(parent_item, item);
1437 client_disconnect_notify(parent_item, item);
1441 client_drop_item(parent_item, item);