Lines Matching refs:parent_item
77 static int create_link(struct config_item *parent_item, in create_link() argument
102 ret = configfs_get_target_path(parent_item, item, body); in create_link()
104 ret = configfs_create_link(target_sd, parent_item->ci_dentry, in create_link()
146 struct config_item *parent_item; in configfs_symlink() local
158 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_symlink()
159 type = parent_item->ci_type; in configfs_symlink()
202 ret = type->ct_item_ops->allow_link(parent_item, target_item); in configfs_symlink()
205 ret = create_link(parent_item, target_item, dentry); in configfs_symlink()
208 type->ct_item_ops->drop_link(parent_item, in configfs_symlink()
216 config_item_put(parent_item); in configfs_symlink()
223 struct config_item *parent_item; in configfs_unlink() local
233 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_unlink()
234 type = parent_item->ci_type; in configfs_unlink()
250 type->ct_item_ops->drop_link(parent_item, in configfs_unlink()
258 config_item_put(parent_item); in configfs_unlink()