Searched refs:symlink (Results 1 - 200 of 253) sorted by relevance

12

/linux-4.4.14/fs/kernfs/
H A DMakefile5 obj-y := mount.o inode.o dir.o file.o symlink.o
H A Dsymlink.c2 * fs/kernfs/symlink.c - kernfs symlink implementation
18 * kernfs_create_link - create a symlink
19 * @parent: directory to create the symlink in
20 * @name: name of the symlink
21 * @target: target node for the symlink to point to
38 kn->symlink.target_kn = target; kernfs_create_link()
39 kernfs_get(target); /* ref owned by symlink */ kernfs_create_link()
105 struct kernfs_node *target = kn->symlink.target_kn; kernfs_getlink()
H A Dkernfs-internal.h114 * symlink.c
/linux-4.4.14/fs/sysfs/
H A DMakefile5 obj-y := file.o dir.o symlink.o mount.o group.o
H A Dsymlink.c2 * fs/sysfs/symlink.c - sysfs symlink implementation
56 * sysfs_create_link_sd - create symlink to a given object.
59 * @name: name of the symlink.
84 * sysfs_create_link - create symlink between two objects.
87 * @name: name of the symlink.
97 * sysfs_create_link_nowarn - create symlink between two objects.
100 * @name: name of the symlink.
112 * sysfs_delete_link - remove symlink in object's directory.
115 * @name: name of the symlink to remove.
138 * sysfs_remove_link - remove symlink in object's directory.
140 * @name: name of the symlink to remove.
156 * sysfs_rename_link_ns - rename symlink in object's directory.
159 * @old: previous name of the symlink.
160 * @new: new name of the symlink.
161 * @new_ns: new namespace of the symlink.
163 * A helper function for the common rename symlink idiom.
188 if (kn->symlink.target_kn->priv != targ) sysfs_rename_link_ns()
H A Dsysfs.h38 * symlink.c
H A Ddir.c82 * protection; however, when @kobj is used as a symlink target, the sysfs_remove_dir()
85 * and symlink code may end up dereferencing an already freed node. sysfs_remove_dir()
88 * disassociation against symlink operations so that symlink code sysfs_remove_dir()
H A Dgroup.c327 * sysfs_add_link_to_group - add a symlink to an attribute group.
330 * @target: The target kobject of the symlink to create.
331 * @link_name: The name of the symlink to create.
351 * sysfs_remove_link_from_group - remove a symlink from an attribute group.
354 * @link_name: The name of the symlink to remove.
370 * __compat_only_sysfs_link_entry_to_kobj - add a symlink to a kobject pointing
H A Dmount.c2 * fs/sysfs/symlink.c - operations for initializing and mounting sysfs
/linux-4.4.14/fs/autofs4/
H A DMakefile7 autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o
H A Dsymlink.c3 * linux/fs/autofs/symlink.c
H A Dexpire.c378 DPRINTK("checking symlink %p %pd", dentry, dentry); should_expire()
380 * A symlink can't be "busy" in the usual sense so should_expire()
H A Droot.c63 .symlink = autofs4_dir_symlink,
370 * If the dentry is a symlink it's equivalent to a directory autofs4_d_automount()
/linux-4.4.14/fs/configfs/
H A DMakefile7 configfs-objs := inode.o file.o dir.o symlink.o mount.o item.o
H A Dsymlink.c4 * symlink.c - operations for configfs symlinks.
193 ret = -EPERM; /* What lack-of-symlink returns */ configfs_unlink()
H A Ddir.c1358 * Ensure that no racing symlink() will make detach_prep() fail while configfs_rmdir()
1430 .symlink = configfs_symlink,
/linux-4.4.14/fs/efs/
H A DMakefile7 efs-objs := super.o inode.o namei.o dir.o file.o symlink.o
H A Dsymlink.c2 * symlink.c
/linux-4.4.14/fs/affs/
H A DMakefile9 affs-objs := super.o namei.o inode.o file.o dir.o amigaffs.o bitmap.o symlink.o
H A Dsymlink.c2 * linux/fs/affs/symlink.c
8 * affs symlink handling code
H A Ddir.c35 .symlink = affs_symlink,
/linux-4.4.14/fs/udf/
H A DMakefile8 partition.o super.o truncate.o symlink.o \
H A Dsymlink.c2 * symlink.c
108 unsigned char *symlink; udf_symlink_filler() local
125 symlink = iinfo->i_ext.i_data + iinfo->i_lenEAttr; udf_symlink_filler()
134 symlink = bh->b_data; udf_symlink_filler()
137 err = udf_pc_to_char(inode->i_sb, symlink, inode->i_size, p, PAGE_SIZE); udf_symlink_filler()
H A Dudf_i.h20 * the file/symlink, a fact whether data are in-inode or in external data
H A Dnamei.c19 * 04/19/99 blf link, mknod, symlink support
1340 .symlink = udf_symlink,
/linux-4.4.14/fs/ufs/
H A DMakefile8 namei.o super.o symlink.o util.o
H A Dsymlink.c2 * linux/fs/ufs/symlink.c
12 * linux/fs/ext2/symlink.c
21 * linux/fs/minix/symlink.c
25 * ext2 symlink handling code
H A Dnamei.c125 /* slow symlink */ ufs_symlink()
132 /* fast symlink */ ufs_symlink()
331 .symlink = ufs_symlink,
H A Dufs.h139 /* symlink.c */
H A Dufs_fs.h480 __fs32 fs_maxsymlinklen;/* max length of an internal symlink */
622 __u8 ui_symlink[4*(UFS_NDADDR+UFS_NINDIR)];/* 0x28 fast symlink */
676 __u8 ui_symlink[2*4*(UFS_NDADDR+UFS_NINDIR)];/* 0x28 fast symlink */
944 __fs32 fs_maxsymlinklen;/* max length of an internal symlink */
/linux-4.4.14/fs/ncpfs/
H A DMakefile10 ncpfs-$(CONFIG_NCPFS_EXTRAS) += symlink.o
11 ncpfs-$(CONFIG_NCPFS_NFS_NS) += symlink.o
H A Dsymlink.c2 * linux/fs/ncpfs/symlink.c
10 * When using the NFS namespace, we set the mode to indicate a symlink and
13 * from linux/fs/ext2/symlink.c
17 * ncpfs symlink handling code
34 /* these magic numbers must appear in the symlink file -- this makes it a bit
125 /* EPERM is returned by VFS if symlink procedure does not exist */ ncp_symlink()
146 symlink can point out of ncp filesystem */ ncp_symlink()
H A Dncp_fs.h83 /* linux/fs/ncpfs/symlink.c */
/linux-4.4.14/tools/testing/selftests/exec/
H A DMakefile3 DEPS = execveat.symlink execveat.denatured script subdir
12 execveat.symlink: execveat
H A Dexecveat.c216 char *fullname_symlink = concat(fullname, ".symlink"); run_tests()
225 int fd_symlink = open_or_die("execveat.symlink", O_RDONLY); run_tests()
283 fail += check_execveat(dot_dfd, "execveat.symlink", 0); run_tests()
284 fail += check_execveat(dot_dfd_path, "execveat.symlink", 0); run_tests()
294 fail += check_execveat_fail(dot_dfd, "execveat.symlink", run_tests()
296 fail += check_execveat_fail(dot_dfd_path, "execveat.symlink", run_tests()
/linux-4.4.14/fs/ext2/
H A Dsymlink.c2 * linux/fs/ext2/symlink.c
13 * linux/fs/minix/symlink.c
17 * ext2 symlink handling code
H A DMakefile8 ioctl.o namei.o super.o symlink.o
H A Dnamei.c184 /* slow symlink */ ext2_symlink()
194 /* fast symlink */ ext2_symlink()
424 .symlink = ext2_symlink,
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A DMakefile4 rw.o namei.o symlink.o llite_mmap.o \
H A Dsymlink.c62 * printing just the last part of the symlink. */ ll_readlink_internal()
63 CDEBUG(D_INODE, "using cached symlink %s%.*s, len = %d\n", ll_readlink_internal()
93 CERROR("inode %lu: symlink length %d not expected %d\n", ll_readlink_internal()
103 CERROR("inode %lu: symlink not NULL terminated string of length %d\n", ll_readlink_internal()
110 /* do not return an error if we cannot cache the symlink locally */ ll_readlink_internal()
H A Dlproc_llite.c907 { LPROC_LL_SYMLINK, LPROCFS_TYPE_REGS, "symlink" },
H A Dnamei.c1122 .symlink = ll_symlink,
/linux-4.4.14/fs/jfs/
H A DMakefile10 jfs_extent.o symlink.o jfs_metapage.o \
H A Dnamei.c873 * FUNCTION: creates a symbolic link to <symlink> by name <name>
947 /* fix symlink access permission jfs_symlink()
970 * if symlink is > 128 bytes, we don't have the space to jfs_symlink()
976 jfs_info("jfs_symlink: fast symlink added ssize:%d name:%s ", jfs_symlink()
989 * even though the data of symlink object (source jfs_symlink()
1534 .symlink = jfs_symlink,
H A Djfs_incore.h90 unchar _inline[128]; /* 128: inline symlink */
/linux-4.4.14/fs/coda/
H A DMakefile8 coda_linux.o symlink.o pioctl.o sysctl.o
H A Ddir.c133 /* creation routines: create, mknod, mkdir, link, symlink */ coda_create()
562 .symlink = coda_symlink,
H A Dupcall.c413 offset = INSIZE(symlink); venus_symlink()
414 insize = max_t(unsigned int, offset + len + symlen + 8, OUTSIZE(symlink)); venus_symlink()
/linux-4.4.14/drivers/usb/gadget/function/
H A Du_ecm.h30 * and create symlink/remove symlink.
H A Du_eem.h30 * and create symlink/remove symlink.
H A Du_gether.h30 * and create symlink/remove symlink.
H A Du_midi.h33 * and create symlink/remove symlink.
H A Du_ncm.h30 * and create symlink/remove symlink.
H A Du_printer.h31 * and create symlink/remove symlink
H A Dg_zero.h37 * and create symlink/remove symlink.
52 * and create symlink/remove symlink.
H A Du_hid.h33 * and create symlink/remove symlink.
H A Du_rndis.h36 * and create symlink/remove symlink.
H A Df_mass_storage.h91 * and create symlink/remove symlink.
H A Du_uvc.h80 * read/write and symlink creation/removal.
/linux-4.4.14/fs/ext4/
H A DMakefile8 ioctl.o namei.o super.o symlink.o hash.o resize.o extents.o \
H A Dsymlink.c2 * linux/fs/ext4/symlink.c
13 * linux/fs/minix/symlink.c
17 * ext4 symlink handling code
H A Dext4_crypto.h150 * store a filename of length l in encrypted symlink format.
H A Dmigrate.c457 * don't migrate fast symlink ext4_ext_migrate()
/linux-4.4.14/fs/ocfs2/
H A Dsymlink.h4 * symlink.h
33 * Test whether an inode is a fast symlink.
H A DMakefile38 symlink.o \
H A Dsymlink.c4 * linux/cluster/ssi/cfs/symlink.c
27 * Jun 7 1999, cache symlink lookups in the page cache. -DaveM
31 * ocfs2 symlink handling code.
51 #include "symlink.h"
H A Dextent_map.c40 #include "symlink.h"
712 * with the fast symlink, cause they have no difference for extent
775 * Handle inline-data and fast symlink separately. ocfs2_fiemap()
H A Djournal.h418 /* data block for new dir/symlink, allocation of directory block, dx_root
431 * alloc group descriptor + mkdir/symlink blocks + dir blocks + xattr
H A Daops.c47 #include "symlink.h"
94 /* We don't use the page cache to create symlink data, so if ocfs2_symlink_get_block()
102 mlog(ML_ERROR, "couldn't getblock for symlink!\n"); ocfs2_symlink_get_block()
H A Dnamei.c60 #include "symlink.h"
2909 .symlink = ocfs2_symlink,
/linux-4.4.14/fs/jffs2/
H A DMakefile10 jffs2-y += symlink.o build.o erase.o background.o fs.o writev.o
H A Djffs2_fs_i.h45 /* The target path if this is the inode of a symlink */
H A Dos-linux.h162 /* symlink.c */
H A Ddir.c56 .symlink = jffs2_symlink,
359 jffs2_dbg(1, "%s(): symlink's target '%s' cached\n", jffs2_symlink()
H A Dreadinode.c1241 /* Hack to work around broken isize in old symlink code. jffs2_do_read_inode_internal()
1250 * keep in RAM to facilitate quick follow symlink jffs2_do_read_inode_internal()
1257 JFFS2_ERROR("can't allocate %u bytes of memory for the symlink target path cache\n", csize); jffs2_do_read_inode_internal()
1273 dbg_readinode("symlink's target '%s' cached\n", f->target); jffs2_do_read_inode_internal()
H A Dfs.c72 jffs2_dbg(1, "%s(): Writing %d bytes of symlink target\n", jffs2_do_setattr()
/linux-4.4.14/fs/nfs/
H A Dsymlink.c2 * linux/fs/nfs/symlink.c
8 * Jun 7 1999, cache symlink lookups in the page cache. -DaveM
10 * nfs symlink handling code
H A DMakefile9 direct.o pagelist.o read.o symlink.o unlink.o \
H A Dnfs3proc.c273 struct nfs3_symlinkargs symlink; member in union:nfs3_createdata::__anon11678
525 dprintk("NFS call symlink %pd\n", dentry); nfs3_proc_symlink()
531 data->arg.symlink.fromfh = NFS_FH(dir); nfs3_proc_symlink()
532 data->arg.symlink.fromname = dentry->d_name.name; nfs3_proc_symlink()
533 data->arg.symlink.fromlen = dentry->d_name.len; nfs3_proc_symlink()
534 data->arg.symlink.pages = &page; nfs3_proc_symlink()
535 data->arg.symlink.pathlen = len; nfs3_proc_symlink()
536 data->arg.symlink.sattr = sattr; nfs3_proc_symlink()
542 dprintk("NFS reply symlink: %d\n", status); nfs3_proc_symlink()
892 .symlink = nfs_symlink,
947 .symlink = nfs3_proc_symlink,
H A Dproc.c402 dprintk("NFS call symlink %pd\n", dentry); nfs_proc_symlink()
428 dprintk("NFS reply symlink: %d\n", status); nfs_proc_symlink()
684 .symlink = nfs_symlink,
723 .symlink = nfs_proc_symlink,
H A Ddir.c1255 * procfs-style symlink. Just assume it's correct for now, but we may nfs_weak_revalidate()
1873 * symlink request has completed on the server.
1888 dfprintk(VFS, "NFS: symlink(%s/%lu, %pd, %s)\n", dir->i_sb->s_id, nfs_symlink()
1908 error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr); nfs_symlink()
1911 dfprintk(VFS, "NFS: symlink(%s/%lu, %pd, %s) error %d\n", nfs_symlink()
H A Dnfs3xdr.c934 * nfs_fh3 symlink;
1090 * symlinkdata3 symlink;
2517 PROC(SYMLINK, symlink, create, 0),
H A Dnfs4xdr.c1169 *p = cpu_to_be32(create->u.symlink.len); encode_create()
1170 xdr_write_pages(xdr, create->u.symlink.pages, 0, encode_create()
1171 create->u.symlink.len); encode_create()
3307 dprintk("%s: symlink support=%s\n", __func__, *res == 0 ? "false" : "true"); decode_attr_symlink_support()
5222 /* Convert length of symlink */ decode_readlink()
5228 dprintk("nfs: server returned giant symlink!\n"); decode_readlink()
/linux-4.4.14/fs/squashfs/
H A Dsymlink.c21 * symlink.c
63 * Skip index bytes into symlink metadata. squashfs_symlink_readpage()
69 ERROR("Unable to read symlink [%llx:%x]\n", squashfs_symlink_readpage()
77 * Read length bytes from symlink metadata. Squashfs_read_metadata squashfs_symlink_readpage()
86 ERROR("Unable to read symlink [%llx:%x]\n", squashfs_symlink_readpage()
H A Dsquashfs.h108 /* symlink.c */
H A Dsquashfs_fs.h336 char symlink[0]; member in struct:squashfs_symlink_inode
405 struct squashfs_symlink_inode symlink; member in union:squashfs_inode
H A Dinode.c284 struct squashfs_symlink_inode *sqsh_ino = &squashfs_ino.symlink; squashfs_read_inode()
/linux-4.4.14/fs/xfs/
H A Dxfs_symlink.c97 "symlink header does not match required off/len/owner (0x%x/Ox%x,0x%llx)", xfs_readlink_bmap()
144 xfs_alert(mp, "%s: inode (%llu) bad symlink length (%lld)", xfs_readlink()
227 * The symlink will fit into the inode data fork? xfs_symlink()
278 * Allocate an inode for the symlink. xfs_symlink()
303 * If the symlink will fit into the inode, write it inline. xfs_symlink()
372 * Create the directory entry for the symlink. xfs_symlink()
383 * symlink transaction goes to disk before returning to xfs_symlink()
430 * Free a symlink that has blocks associated with it.
452 * We're freeing a symlink that has some xfs_inactive_symlink_rmt()
558 * xfs_inactive_symlink - free a symlink
584 xfs_alert(mp, "%s: inode (0x%llx) bad symlink length (%d)", xfs_inactive_symlink()
602 /* remove the remote symlink */ xfs_inactive_symlink()
H A Dxfs_symlink.h20 /* Kernel only symlink defintions */
H A Dxfs_iops.c1122 .symlink = xfs_vn_symlink,
1150 .symlink = xfs_vn_symlink,
/linux-4.4.14/security/tomoyo/
H A Daudit.c248 const char *symlink = NULL; tomoyo_init_log() local
265 symlink = r->obj->symlink_target->name; tomoyo_init_log()
266 /* +18 is for " symlink.target=\"%s\"" */ tomoyo_init_log()
267 len += 18 + strlen(symlink); tomoyo_init_log()
280 } else if (symlink) tomoyo_init_log()
281 pos += snprintf(buf + pos, len - pos, " symlink.target=\"%s\"", tomoyo_init_log()
282 symlink); tomoyo_init_log()
H A Dcondition.c790 struct tomoyo_path_info *symlink; tomoyo_condition() local
794 symlink = obj ? obj->symlink_target : NULL; tomoyo_condition()
795 if (!symlink || tomoyo_condition()
796 !tomoyo_compare_name_union(symlink, ptr) tomoyo_condition()
H A Dcommon.c34 [TOMOYO_MAC_FILE_SYMLINK] = "symlink",
86 [TOMOYO_TYPE_IS_SYMLINK] = "symlink",
105 [TOMOYO_SYMLINK_TARGET] = "symlink.target",
150 [TOMOYO_TYPE_SYMLINK] = "symlink",
1941 char *symlink = NULL; tomoyo_add_entry() local
1963 symlink = strstr(header, " symlink.target=\""); tomoyo_add_entry()
1964 if (symlink) tomoyo_add_entry()
1965 len += tomoyo_truncate(symlink + 1) + 1; tomoyo_add_entry()
1975 if (symlink) tomoyo_add_entry()
1976 tomoyo_addprintf(buffer, len, "%s", symlink); tomoyo_add_entry()
H A Dcommon.h597 * than symlink().
702 * "file symlink", "file chroot" and "file unmount" directive.
H A Ddomain.c700 /* Get symlink's pathname of program. */ tomoyo_find_next_domain()
H A Dfile.c776 * tomoyo_path_perm - Check permission for "unlink", "rmdir", "truncate", "symlink", "append", "chroot" and "unmount".
/linux-4.4.14/fs/afs/
H A Dmntpt.c63 /* read the contents of the symlink into the pagecache */ afs_mntpt_check_symlink()
77 /* examine the symlink's contents */ afs_mntpt_check_symlink()
79 _debug("symlink to %*.*s", (int) size, (int) size, buf); afs_mntpt_check_symlink()
85 _debug("symlink is a mountpoint"); afs_mntpt_check_symlink()
171 /* read the contents of the AFS special symlink */ afs_mntpt_do_automount()
H A Dfile.c123 * read page from file, directory or symlink, given a key to use
212 * read page from file, directory or symlink, given a file to nominate the key
H A Dinode.c242 /* it's a symlink we just created (the fileserver afs_iget()
297 * directory or symlink */ afs_zap_data()
308 * symlink)
H A Dsecurity.c80 * symlink
334 AFS_ACE_INSERT | /* create, mkdir, symlink, rename to */ afs_permission()
H A Ddir.c56 .symlink = afs_symlink,
1013 * create a symlink in an AFS filesystem
/linux-4.4.14/drivers/iio/adc/
H A Dti-adc128s052.c6 * http://www.ti.com/lit/ds/symlink/adc128s052.pdf
7 * http://www.ti.com/lit/ds/symlink/adc122s021.pdf
/linux-4.4.14/fs/cifs/
H A Dlink.c193 /* it's not a symlink */ couldbe_mf_symlink()
197 /* it's not a symlink */ couldbe_mf_symlink()
259 if (bytes_read == 0) { /* not a symlink */ query_mf_symlink()
281 /* it's not a symlink */ check_mf_symlink()
297 if (bytes_read == 0) /* not a symlink */ check_mf_symlink()
302 /* it's not a symlink */ check_mf_symlink()
310 /* it is a symlink */ check_mf_symlink()
352 /* it's not a symlink */ cifs_query_mf_symlink()
452 /* it's not a symlink */ smb3_query_mf_symlink()
524 /* Make sure we wrote all of the symlink data */ smb3_create_mf_symlink()
733 cifs_dbg(FYI, "Create symlink ok, getinodeinfo fail rc = %d\n", cifs_symlink()
H A Dsmb2inode.c130 FILE_ALL_INFO *data, bool *adjust_tz, bool *symlink) smb2_query_path_info()
136 *symlink = false; smb2_query_path_info()
147 *symlink = true; smb2_query_path_info()
128 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, FILE_ALL_INFO *data, bool *adjust_tz, bool *symlink) smb2_query_path_info() argument
H A Dsmb2ops.c1053 struct smb2_symlink_err_rsp *symlink; smb2_query_symlink() local
1075 /* open must fail on symlink - reset rc */ smb2_query_symlink()
1077 symlink = (struct smb2_symlink_err_rsp *)err_buf->ErrorData; smb2_query_symlink()
1078 sub_len = le16_to_cpu(symlink->SubstituteNameLength); smb2_query_symlink()
1079 sub_offset = le16_to_cpu(symlink->SubstituteNameOffset); smb2_query_symlink()
1081 (char *)symlink->PathBuffer + sub_offset, smb2_query_symlink()
H A Dsmb2proto.h64 bool *adjust_tz, bool *symlink);
H A Dsmb1ops.c546 FILE_ALL_INFO *data, bool *adjustTZ, bool *symlink) cifs_query_path_info()
550 *symlink = false; cifs_query_path_info()
585 *symlink = true; cifs_query_path_info()
544 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, FILE_ALL_INFO *data, bool *adjustTZ, bool *symlink) cifs_query_path_info() argument
H A Dinode.c588 bool symlink) cifs_all_info_to_fattr()
616 if (symlink) { cifs_all_info_to_fattr()
720 bool symlink = false; cifs_get_inode_info() local
750 data, &adjust_tz, &symlink); cifs_get_inode_info()
755 symlink); cifs_get_inode_info()
586 cifs_all_info_to_fattr(struct cifs_fattr *fattr, FILE_ALL_INFO *info, struct cifs_sb_info *cifs_sb, bool adjust_tz, bool symlink) cifs_all_info_to_fattr() argument
H A Dsmb2misc.c176 /* create failed on symlink */ smb2_check_message()
H A Dcifspdu.h2721 /* xsymlink is a symlink format (used by MacOS) that can be used
2722 to save symlink info in a regular file when
2726 as containing symlink data:
/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_symlink_remote.c77 * Checking of the symlink header is split into two parts. the verifier does
196 * As this symlink fits in an inode literal area, it must also fit in xfs_symlink_local_to_remote()
H A Dxfs_trans_resv.h39 struct xfs_trans_res tr_symlink; /* symlink trans */
H A Dxfs_fs.h65 #define XFS_XFLAG_NOSYMLINKS 0x00000400 /* disallow symlink creation */
H A Dxfs_format.h1000 #define XFS_DIFLAG_NOSYMLINKS_BIT 10 /* disallow symlink creation */
1157 * Remote symlink format and access functions.
/linux-4.4.14/arch/um/os-Linux/
H A Duser_syms.c80 EXPORT_SYMBOL_PROTO(symlink); variable
/linux-4.4.14/fs/f2fs/
H A Df2fs_crypto.h145 * store a filename of length l in encrypted symlink format.
H A Dnamei.c322 /* this is broken symlink case */ f2fs_follow_link()
405 * Let's flush symlink data in order to avoid broken symlink as much as f2fs_symlink()
410 * If the symlink path is stored into inline_data, there is no f2fs_symlink()
958 /* this is broken symlink case */ f2fs_encrypted_follow_link()
1014 .symlink = f2fs_symlink,
/linux-4.4.14/fs/befs/
H A Dbefs.h69 char symlink[BEFS_SYMLINK_LEN]; member in union:befs_inode_info::__anon11346
H A Dlinuxvfs.c378 strlcpy(befs_ino->i_data.symlink, raw_inode->data.symlink, befs_iget()
403 inode->i_link = befs_ino->i_data.symlink; befs_iget()
408 "directory or symlink. THAT IS WRONG! BeFS has no " befs_iget()
476 befs_error(sb, "Long symlink with illegal length"); befs_follow_link()
479 befs_debug(sb, "Follow long symlink"); befs_follow_link()
486 befs_error(sb, "Failed to read entire long symlink"); befs_follow_link()
H A Dbefs_fs_types.h193 char symlink[BEFS_SYMLINK_LEN]; member in union:__anon11353::__anon11354
H A Ddatastream.c116 * befs_read_lsmylink - read long symlink from datastream.
119 * @buff: Buffer in which to place long symlink data
120 * @len: Length of the long symlink in bytes
H A Ddebug.c105 befs_debug(sb, " Symbolic link [%s]", inode->data.symlink); befs_dump_inode()
/linux-4.4.14/fs/exofs/
H A Dnamei.c112 /* slow symlink */ exofs_symlink()
121 /* fast symlink */ exofs_symlink()
308 .symlink = exofs_symlink,
H A Dcommon.h180 __le32 i_data[EXOFS_IDATA]; /* Short symlink names and device #s */
H A Dexofs.h89 uint32_t i_data[EXOFS_IDATA];/*short symlink names and device #s*/
/linux-4.4.14/fs/hpfs/
H A Dnamei.c291 static int hpfs_symlink(struct inode *dir, struct dentry *dentry, const char *symlink) hpfs_symlink() argument
334 result->i_size = strlen(symlink); hpfs_symlink()
348 hpfs_set_ea(result, fnode, "SYMLINK", symlink, strlen(symlink)); hpfs_symlink()
618 .symlink = hpfs_symlink,
/linux-4.4.14/fs/nfsd/
H A Dxdr.h127 struct nfsd_symlinkargs symlink; member in union:nfsd_xdrstore
H A Dnfs3proc.c124 * Read a symlink.
134 /* Read the symlink. */ nfsd3_proc_readlink()
H A Dnfsproc.c144 * Read a symlink.
154 /* Read the symlink. */ nfsd_proc_readlink()
H A Dvfs.c1421 * Read a symlink. On entry, *lenp must contain the maximum path length that
1468 * Create a symlink and look up its inode
/linux-4.4.14/fs/ceph/
H A Dstrings.c71 case CEPH_MDS_OP_SYMLINK: return "symlink"; ceph_mds_op_name()
H A Dmds_client.h41 char *symlink; member in struct:ceph_mds_reply_info_in
H A Dfile.c173 dout("init_file %p %p 0%o (symlink)\n", inode, file, ceph_init_file()
292 * file or symlink, return 1 so the VFS can retry.
360 /* make vfs retry on splice, ENOENT, or symlink */ ceph_atomic_open()
H A Ddir.c771 dout("symlink in dir %p dentry %p to '%s'\n", dir, dentry, dest); ceph_symlink()
1327 .symlink = ceph_symlink,
H A Dinode.c815 sym = kstrndup(iinfo->symlink, symlen, GFP_NOFS); fill_inode()
1182 * mknod symlink mkdir : null -> new inode ceph_fill_trace()
/linux-4.4.14/drivers/i2c/
H A Di2c-mux.c199 "can't create symlink to mux device\n"); i2c_add_mux_adapter()
203 "can't create symlink for channel %u\n", chan_id); i2c_add_mux_adapter()
/linux-4.4.14/drivers/base/
H A Ddevcoredump.c275 /* nothing - symlink will be missing */; dev_coredumpm()
279 /* nothing - symlink will be missing */; dev_coredumpm()
/linux-4.4.14/net/bridge/
H A Dbr_sysfs_if.c272 * Puts symlink in bridge's brif subdirectory
295 /* Rename bridge's brif symlink */ br_sysfs_renameif()
/linux-4.4.14/scripts/package/
H A DMakefile15 # c) Build a tar ball, using symlink to make kernel version
19 # - Use /. to avoid tar packing just the symlink
/linux-4.4.14/fs/
H A Dnamei.c49 * The new code replaces the old recursive symlink resolution with
50 * an iterative one (in case of non-nested symlink chains). It does
60 * [29-Apr-1998 C. Scott Ananian] Updated above description of symlink
63 * Note that the symlink resolution is not *completely* iterative.
72 * New symlink semantics: when open() is called with flags O_CREAT | O_EXCL
73 * and the name already exists in form of a symlink, try to create the new
74 * name indicated by the symlink. The old code always complained that the
75 * name already exists, due to not following the symlink even if its target
77 * the name is a symlink pointing to a non-existent name.
83 * Note that "ln old new" where "new" is a symlink pointing to a non-existing
88 /* [16-Dec-97 Kevin Buhr] For security reasons, we change some symlink
91 * [10-Sep-98 Alan Modra] Another symlink change.
872 * may_follow_link - Check symlink following for unsafe situations
876 * CAP_DAC_OVERRIDE needs to be specifically ignored if the symlink is
881 * world-writable directory, or when the uid of the symlink and follower
882 * match, or when the directory owner matches the symlink's owner.
884 * Returns 0 if following the symlink is allowed, -ve on error.
1960 /* trailing symlink, done */ link_path_walk()
1963 /* last component of nested symlink */ link_path_walk()
2366 * cases where it won't are if nd->last refers to a symlink or the path is
2375 * symlink that needs to be followed. "path" will also be populated.
2378 * 1: if we successfully resolved nd->last and found it to be a symlink
2410 * so that means that this dentry is probably a symlink or the mountpoint_last()
3108 * possible mount and symlink following (this might be optimized away if do_last()
3923 if (!dir->i_op->symlink) vfs_symlink()
3930 error = dir->i_op->symlink(dir, dentry, oldname); vfs_symlink()
3968 SYSCALL_DEFINE2(symlink, const char __user *, oldname, const char __user *, newname) SYSCALL_DEFINE2()
H A Dbad_inode.c132 .symlink = bad_inode_symlink,
H A Dfhandle.c85 * @flag: flag value to indicate whether to follow symlink or not
/linux-4.4.14/drivers/media/pci/cobalt/
H A Dcobalt-alsa-main.c82 /* sc->shortname is a symlink in /proc/asound: COBALT-M -> cardN */ snd_cobalt_card_set_names()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A Dthermal.c180 ath10k_err(ar, "failed to create cooling device symlink\n"); ath10k_thermal_register()
/linux-4.4.14/fs/logfs/
H A Ddir.c18 * Create, link, mkdir, mknod and symlink all share the same function to do
428 /* symlink */ __logfs_create()
439 /* FIXME: truncate symlink */ __logfs_create()
793 .symlink = logfs_symlink,
/linux-4.4.14/fs/minix/
H A Dnamei.c263 .symlink = minix_symlink,
/linux-4.4.14/security/apparmor/
H A Daudit.c34 "symlink",
/linux-4.4.14/fs/sysv/
H A Dnamei.c284 .symlink = sysv_symlink,
/linux-4.4.14/drivers/gpio/
H A Dgpiolib-sysfs.c639 * @dev: device under which to create symlink
640 * @name: name of the symlink
641 * @gpio: gpio to create symlink to, already exported
643 * Set up a symlink from /sys/.../dev/name to /sys/class/gpio/gpioN
/linux-4.4.14/fs/9p/
H A Dvfs_inode.c1226 * v9fs_vfs_follow_link - follow a symlink path
1227 * @dentry: dentry for symlink
1298 * @dir: directory inode containing symlink
1299 * @dentry: dentry for symlink
1300 * @symname: symlink data
1424 .symlink = v9fs_vfs_symlink,
H A Dvfs_inode_dotl.c902 * v9fs_vfs_follow_link_dotl - follow a symlink path
903 * @dentry: dentry for symlink
960 .symlink = v9fs_vfs_symlink_dotl,
/linux-4.4.14/fs/nilfs2/
H A Dnamei.c162 /* slow symlink */ nilfs_symlink()
554 .symlink = nilfs_symlink,
/linux-4.4.14/drivers/rtc/
H A Drtc-bq32k.c12 * http://www.ti.com/lit/ds/symlink/bq32000.pdf
/linux-4.4.14/drivers/hwmon/
H A Dads1015.c8 * Datasheet available at: http://focus.ti.com/lit/ds/symlink/ads1015.pdf
H A Dina2xx.c140 * http://www.ti.com/lit/ds/symlink/ina226.pdf.
H A Dacpi_power_meter.c602 /* Create a symlink to domain objects */ read_domain_devices()
/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-alsa-main.c123 /* sc->shortname is a symlink in /proc/asound: CX18-M -> cardN */ snd_cx18_card_set_names()
/linux-4.4.14/drivers/media/pci/ivtv/
H A Divtv-alsa-main.c128 /* sc->shortname is a symlink in /proc/asound: IVTV-M -> cardN */ snd_ivtv_card_set_names()
/linux-4.4.14/fs/hostfs/
H A Dhostfs_user.c281 err = symlink(to, from); make_symlink()
H A Dhostfs_kern.c884 .symlink = hostfs_symlink,
/linux-4.4.14/net/ceph/
H A Ddebugfs.c28 * .../bdi - symlink to ../../bdi/something
/linux-4.4.14/net/sunrpc/
H A Ddebugfs.c162 /* no "debugfs" dentry? Don't bother with the symlink. */ rpc_clnt_debugfs_register()
/linux-4.4.14/scripts/
H A Dgen_initramfs_list.sh65 # symlink test must come before file test
/linux-4.4.14/fs/overlayfs/
H A Doverlayfs.h89 pr_debug("symlink(\"%s\", %pd2) = %i\n", oldname, dentry, err); ovl_do_symlink()
H A Ddir.c945 .symlink = ovl_symlink,
/linux-4.4.14/fs/ramfs/
H A Dinode.c144 .symlink = ramfs_symlink,
/linux-4.4.14/include/linux/
H A Dconfigfs.h158 * If allow_link() exists, the item can symlink(2) out to other
H A Dnfs_fs.h474 * linux/fs/nfs/symlink.c
H A Dkernfs.h127 struct kernfs_elem_symlink symlink; member in union:kernfs_node::__anon12494
H A Dnfs_xdr.h923 } symlink; /* NF4LNK */ member in union:nfs4_create_arg::__anon13035
1533 int (*symlink) (struct inode *, struct dentry *, struct page *, member in struct:nfs_rpc_ops
H A Dmm_types.h473 /* store ref to file /proc/<pid>/exe symlink points to */
/linux-4.4.14/arch/powerpc/include/asm/
H A Dsystbl.h90 SYSCALL_SPU(symlink)
/linux-4.4.14/tools/thermal/tmon/
H A Dtmon.c166 syslog(LOG_ERR, "Log file is a symlink. Will not log\n"); prepare_logging()
/linux-4.4.14/fs/gfs2/
H A Dinode.c460 * @symname: The symlink destination (if a symlink)
1165 * gfs2_symlink - Create a symlink
1166 * @dir: The directory to create the symlink in
1167 * @dentry: The dentry to put the symlink in
2115 .symlink = gfs2_symlink,
/linux-4.4.14/fs/isofs/
H A Drock.c689 * readpage() for symlinks: reads symlink contents into the page and either
796 printk("symlink spans iso9660 blocks\n"); rock_ridge_symlink_readpage()
/linux-4.4.14/include/net/9p/
H A D9p.h82 * @P9_TSYMLINK: make symlink request
83 * @P9_RSYMLINK: make symlink response
/linux-4.4.14/include/linux/ceph/
H A Dceph_fs.h290 * & 0x010000 -> follow symlink (e.g. stat(), not lstat()).
475 /* followed by frag array, symlink string, dir layout, xattr blob */
/linux-4.4.14/tools/perf/util/
H A Dbuild-id.c405 if (symlink(targetname, linkname) == 0) build_id_cache__add_s()
/linux-4.4.14/fs/reiserfs/
H A Dnamei.c840 retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */ , reiserfs_mkdir()
1646 .symlink = reiserfs_symlink,
1662 * symlink operations.. same as page_symlink_inode_operations, with xattr
H A Dinode.c1865 * containing the body of symlink
1891 "i/o failure occurred creating new symlink"); reiserfs_new_symlink()
1902 /* insert item, that is body of symlink */ reiserfs_new_symlink()
1909 * directory) or reiserfs_new_symlink (to insert symlink body if new
1910 * object is symlink) or nothing (if new object is regular file)
1920 * @symname: symlink contents if inode is symlink
2003 /* symlink cannot be immutable or append only, right? */ reiserfs_new_inode()
2090 /* insert body of symlink */ reiserfs_new_inode()
H A Dprints.c352 * symlink.c 17000 - 17999
/linux-4.4.14/drivers/clk/
H A Dclk-cdce706.c6 * Reference: http://www.ti.com/lit/ds/symlink/cdce706.pdf
/linux-4.4.14/fs/hfsplus/
H A Ddir.c556 .symlink = hfsplus_symlink,
/linux-4.4.14/fs/romfs/
H A Dsuper.c85 S_IFLNK | 0777, /* symlink */
/linux-4.4.14/include/uapi/linux/
H A Dcoda.h521 struct CodaFid VFid; /* Directory to put symlink in */
/linux-4.4.14/arch/s390/kernel/
H A Dcompat_wrapper.c81 COMPAT_SYSCALL_WRAP2(symlink, const char __user *, old, const char __user *, new);
/linux-4.4.14/arch/parisc/kernel/
H A Dsyscall_table.S158 ENTRY_SAME(symlink)
/linux-4.4.14/usr/
H A Dgen_init_cpio.c16 * External file lists, symlink, pipe and fifo support by Thayne Harbaugh
/linux-4.4.14/drivers/target/
H A Dtarget_core_device.c409 * rcu_dereference_raw protected by se_lun->lun_group symlink core_disable_device_list_for_node()
642 * rcu_dereference_raw protected by se_lun->lun_group symlink core_dev_add_initiator_node_lun_acl()
H A Dtarget_core_tpg.c692 * rcu_dereference_raw protected by se_lun->lun_group symlink core_tpg_remove_lun()
H A Dtarget_core_alua.c1965 * rcu_dereference_raw protected by se_lun->lun_group symlink core_alua_store_tg_pt_gp_info()
2223 * rcu_dereference_raw protected by se_lun->lun_group symlink core_alua_store_offline_bit()
/linux-4.4.14/drivers/parisc/
H A Dpdc_stable.c334 /* Update the symlink to the real device */ pdcspath_hwpath_write()
1002 /* Add a nice symlink to the real device */ pdcs_register_pathentries()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Ddebugfs.c726 pr_warn("create of %s symlink failed\n", name); hfi1_dbg_ibdev_init()
/linux-4.4.14/drivers/edac/
H A Dedac_device_sysfs.c824 /* create a symlink from the edac device edac_device_create_sysfs()
H A Dedac_pci_sysfs.c483 /* Remove the symlink */ edac_pci_remove_sysfs()
/linux-4.4.14/fs/fuse/
H A Dfuse_i.h762 * Initialize inode operations on a symlink
H A Ddir.c517 * Code shared between mknod, mkdir, symlink and link
1872 .symlink = fuse_symlink,
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
H A Ddebugfs.c2416 * Create a symlink with mac80211. This is not very robust, as it does iwl_dbgfs_register()
2417 * not remove the symlink created. The implicit assumption is that iwl_dbgfs_register()
2419 * this symlink as part of its cleanup. iwl_dbgfs_register()
/linux-4.4.14/drivers/cpufreq/
H A Dcpufreq.c880 pr_debug("%s: Adding symlink for CPU: %u\n", __func__, cpu); add_cpu_dev_symlink()
896 pr_debug("%s: Removing symlink for CPU: %u\n", __func__, cpu); remove_cpu_dev_symlink()
/linux-4.4.14/drivers/mtd/
H A Dmtdcore.c555 pr_debug("mtd device won't show a device symlink in sysfs\n"); mtd_set_dev_defaults()

Completed in 4757 milliseconds

12