Lines Matching refs:parent_item
72 static int create_link(struct config_item *parent_item, in create_link() argument
95 ret = configfs_create_link(sl, parent_item->ci_dentry, in create_link()
139 struct config_item *parent_item; in configfs_symlink() local
152 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_symlink()
153 type = parent_item->ci_type; in configfs_symlink()
164 ret = type->ct_item_ops->allow_link(parent_item, target_item); in configfs_symlink()
167 ret = create_link(parent_item, target_item, dentry); in configfs_symlink()
170 type->ct_item_ops->drop_link(parent_item, in configfs_symlink()
178 config_item_put(parent_item); in configfs_symlink()
188 struct config_item *parent_item; in configfs_unlink() local
198 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_unlink()
199 type = parent_item->ci_type; in configfs_unlink()
215 type->ct_item_ops->drop_link(parent_item, in configfs_unlink()
226 config_item_put(parent_item); in configfs_unlink()