Lines Matching defs:target
27 * Also protects mutations of symlinks linkage to target configfs_dirent
363 int configfs_create_link(struct configfs_dirent *target, struct dentry *parent,
371 err = configfs_make_dirent(p, dentry, target, mode, CONFIGFS_ITEM_LINK,
1026 * If we can find the target item in the
1052 * If the target is not found, -ENOENT is bubbled up.
1061 struct config_item *target)
1069 if (sd->s_element == target) /* Boo-yah */
1077 target);
1083 /* We looped all our children and didn't find target */
1091 struct config_item *target)
1098 ret = configfs_depend_prep(subsys_dentry, target);
1106 p = target->ci_dentry->d_fsdata;
1135 struct config_item *target)
1164 ret = configfs_do_depend_item(subsys_sd->s_dentry, target);
1184 void configfs_undepend_item(struct config_item *target)
1194 sd = target->ci_dentry->d_fsdata;
1208 * caller_subsys is a caller's subsystem not target's. This is used to
1210 * in the same subsystem as our target there is no need to do locking as
1213 * on some inode. Otherwise we have to lock our root to ensure that target's
1217 struct config_item *target)
1225 if (configfs_is_root(target))
1228 parent = target->ci_group;
1234 target_subsys = to_configfs_subsystem(to_config_group(target));
1266 ret = configfs_do_depend_item(subsys_sd->s_dentry, target);
1271 * We were called from subsystem other than our target so we