Lines Matching defs:target
78 static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target,
89 if (target->d_name.len > JFFS2_MAX_NAME_LEN)
95 nhash = full_name_hash(NULL, target->d_name.name, target->d_name.len);
103 strlen(fd_list->name) == target->d_name.len &&
104 !strncmp(fd_list->name, target->d_name.name, target->d_name.len)) {
117 return d_splice_alias(inode, target);
284 struct dentry *dentry, const char *target)
295 int ret, targetlen = strlen(target);
297 /* FIXME: If you care. We'd need to use frags for the target
339 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen));
342 fn = jffs2_write_dnode(c, f, ri, target, targetlen, ALLOC_NORMAL);
354 /* We use f->target field to store the target path. */
355 f->target = kmemdup(target, targetlen + 1, GFP_KERNEL);
356 if (!f->target) {
363 inode->i_link = f->target;
365 jffs2_dbg(1, "%s(): symlink's target '%s' cached\n",
366 __func__, (char *)f->target);
864 * We can't keep the target in dcache after that.