Lines Matching defs:link
457 * The inode of symbolic link is different to data stream.
458 * The data stream become link name. Unless the LONG_SYMLINK
465 char *link;
474 link = kmalloc(len, GFP_NOFS);
475 if (!link) {
476 link = ERR_PTR(-ENOMEM);
477 } else if (befs_read_lsymlink(sb, data, link, len) != len) {
478 kfree(link);
480 link = ERR_PTR(-EIO);
482 link[len - 1] = '\0';
485 link = befs_ino->i_data.symlink;
488 nd_set_link(nd, link);
496 char *link = nd_get_link(nd);
497 if (!IS_ERR(link))
498 kfree(link);