Lines Matching defs:link
72 * is nonexistent. The new semantics affects also mknod() and link() when
492 static __always_inline int __vfs_follow_link(struct nameidata *nd, const char *link)
494 if (IS_ERR(link))
497 if (*link == '/') {
504 return link_path_walk(link, nd);
507 return PTR_ERR(link);
1276 * Check whether we can remove a link victim from directory dir, check
2420 * A link to an append-only or immutable file cannot be created.
2424 if (!dir->i_op->link)
2434 error = dir->i_op->link(old_dentry, dir, new_dentry);
2500 SYSCALL_DEFINE2(link, const char __user *, oldname, const char __user *, newname)
2718 int vfs_readlink(struct dentry *dentry, char __user *buffer, int buflen, const char *link)
2722 len = PTR_ERR(link);
2723 if (IS_ERR(link))
2726 len = strlen(link);
2729 if (copy_to_user(buffer, link, len))
2757 int vfs_follow_link(struct nameidata *nd, const char *link)
2759 return __vfs_follow_link(nd, link);
2762 /* get the link contents into pagecache */